1 /* Generated by GOB (v2.0.12) (do not edit directly) */
4 #include <glib-object.h>
15 #include "generator.h"
24 #ifndef __GALAN_COMPACTION_H__
25 #define __GALAN_COMPACTION_H__
29 #endif /* __cplusplus */
33 * Type checking and casting macros
35 #define GALAN_TYPE_COMPACTION (galan_compaction_get_type())
36 #define GALAN_COMPACTION(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), galan_compaction_get_type(), GalanCompAction)
37 #define GALAN_COMPACTION_CONST(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), galan_compaction_get_type(), GalanCompAction const)
38 #define GALAN_COMPACTION_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), galan_compaction_get_type(), GalanCompActionClass)
39 #define GALAN_IS_COMPACTION(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), galan_compaction_get_type ())
41 #define GALAN_COMPACTION_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), galan_compaction_get_type(), GalanCompActionClass)
44 * Main object structure
46 #ifndef __TYPEDEF_GALAN_COMPACTION__
47 #define __TYPEDEF_GALAN_COMPACTION__
48 typedef struct _GalanCompAction GalanCompAction
;
50 struct _GalanCompAction
{
53 ComponentClass
* klass
;
55 GtkWidget
* dragwidget
;
61 typedef struct _GalanCompActionClass GalanCompActionClass
;
62 struct _GalanCompActionClass
{
63 GtkActionClass __parent__
;
70 GType
galan_compaction_get_type (void);
71 void galan_compaction_create_comp (GalanCompAction
* self
,
77 * Argument wrapping macros
79 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
80 #define GALAN_COMPACTION_PROP_KLASS(arg) "klass", __extension__ ({gpointer z = (arg); z;})
81 #define GALAN_COMPACTION_GET_PROP_KLASS(arg) "klass", __extension__ ({gpointer *z = (arg); z;})
82 #define GALAN_COMPACTION_PROP_INIT_DATA(arg) "init_data", __extension__ ({gpointer z = (arg); z;})
83 #define GALAN_COMPACTION_GET_PROP_INIT_DATA(arg) "init_data", __extension__ ({gpointer *z = (arg); z;})
84 #else /* __GNUC__ && !__STRICT_ANSI__ */
85 #define GALAN_COMPACTION_PROP_KLASS(arg) "klass",(gpointer )(arg)
86 #define GALAN_COMPACTION_GET_PROP_KLASS(arg) "klass",(gpointer *)(arg)
87 #define GALAN_COMPACTION_PROP_INIT_DATA(arg) "init_data",(gpointer )(arg)
88 #define GALAN_COMPACTION_GET_PROP_INIT_DATA(arg) "init_data",(gpointer *)(arg)
89 #endif /* __GNUC__ && !__STRICT_ANSI__ */
94 #endif /* __cplusplus */