summaryrefslogtreecommitdiffstats
path: root/lib/efl/native/elm/elm_gengrid.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/native/elm/elm_gengrid.rb')
-rw-r--r--lib/efl/native/elm/elm_gengrid.rb49
1 files changed, 21 insertions, 28 deletions
diff --git a/lib/efl/native/elm/elm_gengrid.rb b/lib/efl/native/elm/elm_gengrid.rb
index 309e5d6..27b3d84 100644
--- a/lib/efl/native/elm/elm_gengrid.rb
+++ b/lib/efl/native/elm/elm_gengrid.rb
@@ -22,20 +22,16 @@ module Efl
ffi_lib 'elementary-ver-pre-svn-09.so.0'
#
# TYPEDEFS
- # typedef struct _Elm_Gengrid_Item_Class Elm_Gengrid_Item_Class;
- typedef :pointer, :elm_gengrid_item_class
- # typedef struct _Elm_Gengrid_Item_Class_Func Elm_Gengrid_Item_Class_Func;
- typedef :pointer, :elm_gengrid_item_class_func
- #
- # CALLBACKS
- # typedef char *(*Elm_Gengrid_Item_Text_Get_Cb) (void *data, Evas_Object *obj, const char *part);
- callback :elm_gengrid_item_text_get_cb, [ :pointer, :evas_object, :string ], :string
- # typedef Evas_Object *(*Elm_Gengrid_Item_Content_Get_Cb) (void *data, Evas_Object *obj, const char *part);
- callback :elm_gengrid_item_content_get_cb, [ :pointer, :evas_object, :string ], :evas_object
- # typedef Eina_Bool (*Elm_Gengrid_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part);
- callback :elm_gengrid_item_state_get_cb, [ :pointer, :evas_object, :string ], :bool
- # typedef void (*Elm_Gengrid_Item_Del_Cb) (void *data, Evas_Object *obj);
- callback :elm_gengrid_item_del_cb, [ :pointer, :evas_object ], :void
+ # typedef Elm_Gen_Item_Class Elm_Gengrid_Item_Class;
+ typedef :elm_gen_item_class, :elm_gengrid_item_class
+ # typedef Elm_Gen_Item_Text_Get_Cb Elm_Gengrid_Item_Text_Get_Cb;
+ typedef :elm_gen_item_text_get_cb, :elm_gengrid_item_text_get_cb
+ # typedef Elm_Gen_Item_Content_Get_Cb Elm_Gengrid_Item_Content_Get_Cb;
+ typedef :elm_gen_item_content_get_cb, :elm_gengrid_item_content_get_cb
+ # typedef Elm_Gen_Item_State_Get_Cb Elm_Gengrid_Item_State_Get_Cb;
+ typedef :elm_gen_item_state_get_cb, :elm_gengrid_item_state_get_cb
+ # typedef Elm_Gen_Item_Del_Cb Elm_Gengrid_Item_Del_Cb;
+ typedef :elm_gen_item_del_cb, :elm_gengrid_item_del_cb
#
# FUNCTIONS
fcts = [
@@ -64,18 +60,15 @@ module Efl
# EAPI void elm_gengrid_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
[ :elm_gengrid_bounce_get, [ :evas_object, :pointer, :pointer ], :void ],
# EAPI Elm_Object_Item *elm_gengrid_item_append(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Evas_Smart_Cb func, const void *func_data);
- [ :elm_gengrid_item_append, [ :evas_object, :elm_gengrid_item_class, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ],
+ [ :elm_gengrid_item_append, [ :evas_object, :pointer, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ],
# EAPI Elm_Object_Item *elm_gengrid_item_prepend(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Evas_Smart_Cb func, const void *func_data);
- [ :elm_gengrid_item_prepend, [ :evas_object, :elm_gengrid_item_class, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ],
+ [ :elm_gengrid_item_prepend, [ :evas_object, :pointer, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ],
# EAPI Elm_Object_Item *elm_gengrid_item_insert_before(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Elm_Object_Item *relative, Evas_Smart_Cb func, const void *func_data);
- [ :elm_gengrid_item_insert_before, [ :evas_object, :elm_gengrid_item_class, :pointer, :elm_object_item, :evas_smart_cb, :pointer ],
- :elm_object_item ],
+ [ :elm_gengrid_item_insert_before, [ :evas_object, :pointer, :pointer, :elm_object_item, :evas_smart_cb, :pointer ], :elm_object_item ],
# EAPI Elm_Object_Item *elm_gengrid_item_insert_after(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Elm_Object_Item *relative, Evas_Smart_Cb func, const void *func_data);
- [ :elm_gengrid_item_insert_after, [ :evas_object, :elm_gengrid_item_class, :pointer, :elm_object_item, :evas_smart_cb, :pointer ],
- :elm_object_item ],
+ [ :elm_gengrid_item_insert_after, [ :evas_object, :pointer, :pointer, :elm_object_item, :evas_smart_cb, :pointer ], :elm_object_item ],
# EAPI Elm_Object_Item *elm_gengrid_item_sorted_insert(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data);
- [ :elm_gengrid_item_sorted_insert, [ :evas_object, :elm_gengrid_item_class, :pointer, :eina_compare_cb, :evas_smart_cb, :pointer ],
- :elm_object_item ],
+ [ :elm_gengrid_item_sorted_insert, [ :evas_object, :pointer, :pointer, :eina_compare_cb, :evas_smart_cb, :pointer ], :elm_object_item ],
# EAPI Elm_Object_Item *elm_gengrid_selected_item_get(const Evas_Object *obj);
[ :elm_gengrid_selected_item_get, [ :evas_object ], :elm_object_item ],
# EAPI const Eina_List *elm_gengrid_selected_items_get(const Evas_Object *obj);
@@ -99,17 +92,17 @@ module Efl
# EAPI void elm_gengrid_item_update(Elm_Object_Item *it);
[ :elm_gengrid_item_update, [ :elm_object_item ], :void ],
# EAPI void elm_gengrid_item_item_class_update(Elm_Object_Item *it, const Elm_Gengrid_Item_Class *gic);
- [ :elm_gengrid_item_item_class_update, [ :elm_object_item, :elm_gengrid_item_class ], :void ],
+ [ :elm_gengrid_item_item_class_update, [ :elm_object_item, :pointer ], :void ],
# EAPI const Elm_Gengrid_Item_Class *elm_gengrid_item_item_class_get(const Elm_Object_Item *it);
- [ :elm_gengrid_item_item_class_get, [ :elm_object_item ], :elm_gengrid_item_class ],
+ [ :elm_gengrid_item_item_class_get, [ :elm_object_item ], :pointer ],
# EAPI Elm_Gengrid_Item_Class *elm_gengrid_item_class_new(void);
- [ :elm_gengrid_item_class_new, [ ], :elm_gengrid_item_class ],
+ [ :elm_gengrid_item_class_new, [ ], :pointer ],
# EAPI void elm_gengrid_item_class_free(Elm_Gengrid_Item_Class *itc);
- [ :elm_gengrid_item_class_free, [ :elm_gengrid_item_class ], :void ],
+ [ :elm_gengrid_item_class_free, [ :pointer ], :void ],
# EAPI void elm_gengrid_item_class_ref(Elm_Gengrid_Item_Class *itc);
- [ :elm_gengrid_item_class_ref, [ :elm_gengrid_item_class ], :void ],
+ [ :elm_gengrid_item_class_ref, [ :pointer ], :void ],
# EAPI void elm_gengrid_item_class_unref(Elm_Gengrid_Item_Class *itc);
- [ :elm_gengrid_item_class_unref, [ :elm_gengrid_item_class ], :void ],
+ [ :elm_gengrid_item_class_unref, [ :pointer ], :void ],
# EAPI void elm_gengrid_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
[ :elm_gengrid_item_tooltip_text_set, [ :elm_object_item, :string ], :void ],
# EAPI void elm_gengrid_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);