Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/yabause/src/gtk/yuiinputentry.h
2 views
1
/* Copyright 2006 Guillaume Duhamel
2
Copyright 2005-2006 Fabien Coulon
3
4
This file is part of Yabause.
5
6
Yabause is free software; you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation; either version 2 of the License, or
9
(at your option) any later version.
10
11
Yabause is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with Yabause; if not, write to the Free Software
18
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
*/
20
21
#ifndef YUI_INPUT_ENTRY_H
22
#define YUI_INPUT_ENTRY_H
23
24
#include <glib.h>
25
#include <glib-object.h>
26
#include <gtk/gtktable.h>
27
28
G_BEGIN_DECLS
29
30
#define YUI_INPUT_ENTRY_TYPE (yui_input_entry_get_type ())
31
#define YUI_INPUT_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), YUI_INPUT_ENTRY_TYPE, YuiInputEntry))
32
#define YUI_INPUT_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), YUI_INPUT_ENTRY_TYPE, YuiInputEntryClass))
33
#define IS_YUI_INPUT_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), YUI_INPUT_ENTRY_TYPE))
34
#define IS_YUI_INPUT_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), YUI_INPUT_ENTRY_TYPE))
35
36
typedef struct _YuiInputEntry YuiInputEntry;
37
typedef struct _YuiInputEntryClass YuiInputEntryClass;
38
39
struct _YuiInputEntry
40
{
41
GtkTable table;
42
43
GKeyFile * keyfile;
44
gchar * group;
45
};
46
47
struct _YuiInputEntryClass {
48
GtkTableClass parent_class;
49
50
void (* yui_input_entry) (YuiInputEntry *yie);
51
};
52
53
GType yui_input_entry_get_type (void);
54
GtkWidget* yui_input_entry_new (GKeyFile * keyfile, const gchar * group, const gchar * keys[]);
55
void yui_input_entry_update (YuiInputEntry *yie);
56
57
G_END_DECLS
58
59
#endif /* __YUI_INPUT_ENTRY_H__ */
60
61