Mercurial > pidgin
comparison finch/libgnt/gntcheckbox.h @ 15928:f00f2e283ffb
Some define changes. This helps in generating the python bindings.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 26 Mar 2007 04:10:39 +0000 |
parents | 0e3a8505ebbe |
children | 8410511f4dbb |
comparison
equal
deleted
inserted
replaced
15927:846a00760176 | 15928:f00f2e283ffb |
---|---|
15 | 15 |
16 #define GNT_CHECK_BOX_FLAGS(obj) (GNT_CHECK_BOX(obj)->priv.flags) | 16 #define GNT_CHECK_BOX_FLAGS(obj) (GNT_CHECK_BOX(obj)->priv.flags) |
17 #define GNT_CHECK_BOX_SET_FLAGS(obj, flags) (GNT_CHECK_BOX_FLAGS(obj) |= flags) | 17 #define GNT_CHECK_BOX_SET_FLAGS(obj, flags) (GNT_CHECK_BOX_FLAGS(obj) |= flags) |
18 #define GNT_CHECK_BOX_UNSET_FLAGS(obj, flags) (GNT_CHECK_BOX_FLAGS(obj) &= ~(flags)) | 18 #define GNT_CHECK_BOX_UNSET_FLAGS(obj, flags) (GNT_CHECK_BOX_FLAGS(obj) &= ~(flags)) |
19 | 19 |
20 typedef struct _GnCheckBox GntCheckBox; | 20 typedef struct _GntCheckBox GntCheckBox; |
21 typedef struct _GnCheckBoxPriv GntCheckBoxPriv; | 21 typedef struct _GntCheckBoxPriv GntCheckBoxPriv; |
22 typedef struct _GnCheckBoxClass GntCheckBoxClass; | 22 typedef struct _GntCheckBoxClass GntCheckBoxClass; |
23 | 23 |
24 struct _GnCheckBox | 24 struct _GntCheckBox |
25 { | 25 { |
26 GntButton parent; | 26 GntButton parent; |
27 gboolean checked; | 27 gboolean checked; |
28 }; | 28 }; |
29 | 29 |
30 struct _GnCheckBoxClass | 30 struct _GntCheckBoxClass |
31 { | 31 { |
32 GntButtonClass parent; | 32 GntButtonClass parent; |
33 | 33 |
34 void (*toggled)(void); | 34 void (*toggled)(void); |
35 | 35 |