Mercurial > pidgin.yaz
annotate finch/libgnt/gntbutton.h @ 16148:fb752e199cef
Moving autoreply back to the plugin pack
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Sun, 15 Apr 2007 18:44:44 +0000 |
parents | f00f2e283ffb |
children | 8410511f4dbb |
rev | line source |
---|---|
15818 | 1 #ifndef GNT_BUTTON_H |
2 #define GNT_BUTTON_H | |
3 | |
4 #include <glib.h> | |
5 #include <glib-object.h> | |
6 #include "gnt.h" | |
7 #include "gntwidget.h" | |
8 | |
9 #define GNT_TYPE_BUTTON (gnt_button_get_gtype()) | |
10 #define GNT_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_BUTTON, GntButton)) | |
11 #define GNT_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_BUTTON, GntButtonClass)) | |
12 #define GNT_IS_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_BUTTON)) | |
13 #define GNT_IS_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_BUTTON)) | |
14 #define GNT_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_BUTTON, GntButtonClass)) | |
15 | |
15931
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15818
diff
changeset
|
16 typedef struct _GntButton GntButton; |
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15818
diff
changeset
|
17 typedef struct _GntButtonPriv GntButtonPriv; |
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15818
diff
changeset
|
18 typedef struct _GntButtonClass GntButtonClass; |
15818 | 19 |
15931
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15818
diff
changeset
|
20 struct _GntButtonPriv |
15818 | 21 { |
22 char *text; | |
23 }; | |
24 | |
15931
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15818
diff
changeset
|
25 struct _GntButton |
15818 | 26 { |
27 GntWidget parent; | |
28 | |
29 GntButtonPriv *priv; | |
30 | |
31 void (*gnt_reserved1)(void); | |
32 void (*gnt_reserved2)(void); | |
33 void (*gnt_reserved3)(void); | |
34 void (*gnt_reserved4)(void); | |
35 }; | |
36 | |
15931
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15818
diff
changeset
|
37 struct _GntButtonClass |
15818 | 38 { |
39 GntWidgetClass parent; | |
40 | |
41 void (*gnt_reserved1)(void); | |
42 void (*gnt_reserved2)(void); | |
43 void (*gnt_reserved3)(void); | |
44 void (*gnt_reserved4)(void); | |
45 }; | |
46 | |
47 G_BEGIN_DECLS | |
48 | |
49 GType gnt_button_get_gtype(void); | |
50 | |
51 GntWidget *gnt_button_new(const char *text); | |
52 | |
53 G_END_DECLS | |
54 | |
55 #endif /* GNT_BUTTON_H */ |