comparison finch/libgnt/gntbox.h @ 15931: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
15930:846a00760176 15931:f00f2e283ffb
9 #define GNT_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_BOX, GntBoxClass)) 9 #define GNT_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_BOX, GntBoxClass))
10 #define GNT_IS_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_BOX)) 10 #define GNT_IS_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_BOX))
11 #define GNT_IS_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_BOX)) 11 #define GNT_IS_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_BOX))
12 #define GNT_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_BOX, GntBoxClass)) 12 #define GNT_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_BOX, GntBoxClass))
13 13
14 typedef struct _GnBox GntBox; 14 typedef struct _GntBox GntBox;
15 typedef struct _GnBoxClass GntBoxClass; 15 typedef struct _GntBoxClass GntBoxClass;
16 16
17 typedef enum 17 typedef enum
18 { 18 {
19 /* These for vertical boxes */ 19 /* These for vertical boxes */
20 GNT_ALIGN_LEFT, 20 GNT_ALIGN_LEFT,
25 /* These for horizontal boxes */ 25 /* These for horizontal boxes */
26 GNT_ALIGN_TOP, 26 GNT_ALIGN_TOP,
27 GNT_ALIGN_BOTTOM 27 GNT_ALIGN_BOTTOM
28 } GntAlignment; 28 } GntAlignment;
29 29
30 struct _GnBox 30 struct _GntBox
31 { 31 {
32 GntWidget parent; 32 GntWidget parent;
33 33
34 gboolean vertical; 34 gboolean vertical;
35 gboolean homogeneous; 35 gboolean homogeneous;
47 void (*gnt_reserved2)(void); 47 void (*gnt_reserved2)(void);
48 void (*gnt_reserved3)(void); 48 void (*gnt_reserved3)(void);
49 void (*gnt_reserved4)(void); 49 void (*gnt_reserved4)(void);
50 }; 50 };
51 51
52 struct _GnBoxClass 52 struct _GntBoxClass
53 { 53 {
54 GntWidgetClass parent; 54 GntWidgetClass parent;
55 55
56 void (*gnt_reserved1)(void); 56 void (*gnt_reserved1)(void);
57 void (*gnt_reserved2)(void); 57 void (*gnt_reserved2)(void);