8 #define CUSTOM_LIST_TYPE (custom_list_get_type())
9 #define CUSTOM_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), CUSTOM_LIST_TYPE, CustomList))
10 #define CUSTOM_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CUSTOM_LIST_TYPE, CustomListClass))
11 #define CUSTOM_IS_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CUSTOM_LIST_TYPE))
12 #define CUSTOM_IS_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CUSTOM_LIST_TYPE))
13 #define CUSTOM_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CUSTOM_LIST_TYPE, CustomListClass))
15 typedef struct _CustomList CustomList
;
16 typedef struct _CustomListClass CustomListClass
;
21 GtkCellRenderer parent
;
29 struct _CustomListClass
31 GtkCellRendererClass parent_class
;
35 // return the type CustomList
36 GType
custom_list_get_type();
38 // return a new cell renderer instance
39 GtkCellRenderer
*custom_list_new();