Mercurial > pidgin
annotate finch/libgnt/gntbutton.h @ 18015:f8fc41570bf1
propagate from branch 'org.maemo.garage.pidgin.pidgin.pidgin-create-window' (head aa14d4a155af76ab7e3be4b5a92082e3bb2daa21)
to branch 'im.pidgin.rlaager.merging.for_2_1_0' (head c8c2bc1f0dd3a0a30b7be8b90114f176ab8c7943)
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 20 May 2007 14:53:41 +0000 |
parents | f00f2e283ffb |
children | 8410511f4dbb |
rev | line source |
---|---|
15817 | 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 | |
15928
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15817
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:
15817
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:
15817
diff
changeset
|
18 typedef struct _GntButtonClass GntButtonClass; |
15817 | 19 |
15928
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15817
diff
changeset
|
20 struct _GntButtonPriv |
15817 | 21 { |
22 char *text; | |
23 }; | |
24 | |
15928
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15817
diff
changeset
|
25 struct _GntButton |
15817 | 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 | |
15928
f00f2e283ffb
Some define changes. This helps in generating the python bindings.
Sadrul Habib Chowdhury <imadil@gmail.com>
parents:
15817
diff
changeset
|
37 struct _GntButtonClass |
15817 | 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 */ |