summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/efl/elementary_all.rb2
-rw-r--r--lib/efl/elm/elm_genlist.rb79
-rw-r--r--lib/efl/native/elm/elm_genlist.rb240
-rwxr-xr-xtools/genruby.rb2
4 files changed, 321 insertions, 2 deletions
diff --git a/lib/efl/elementary_all.rb b/lib/efl/elementary_all.rb
index 337e4df..389f8ea 100644
--- a/lib/efl/elementary_all.rb
+++ b/lib/efl/elementary_all.rb
@@ -39,7 +39,7 @@ require 'efl/elm/elm_flipselector'
require 'efl/elm/elm_focus'
require 'efl/elm/elm_frame'
#require 'efl/elm/elm_gengrid'
-#require 'efl/elm/elm_genlist'
+require 'efl/elm/elm_genlist'
#require 'efl/elm/elm_gesture_layer'
#require 'efl/elm/elm_getting_started'
#require 'efl/elm/elm_glview'
diff --git a/lib/efl/elm/elm_genlist.rb b/lib/efl/elm/elm_genlist.rb
new file mode 100644
index 0000000..f83cc4c
--- /dev/null
+++ b/lib/efl/elm/elm_genlist.rb
@@ -0,0 +1,79 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/elm/elm_object'
+require 'efl/elm/elm_object_item'
+require 'efl/native/elm/elm_genlist'
+#
+module Efl
+ #
+ module Elm
+ #
+ class ElmList < ElmObject
+ #
+ include Helper
+ constructor :elm_genlist_add
+ search_prefixes 'elm_genlist_'
+ #
+ def item_append itc, data, parent, flags, cb, cbdata
+ ElmObjectItem.new Native::elm_genlist_item_append @ptr, itc, data, parent, flags, cb, cbdata
+ end
+ #
+ def item_prepend itc, data, parent, flags, cb, cbdata
+ ElmObjectItem.new Native::elm_genlist_item_append @ptr, itc, data, parent, flags, cb, cbdata
+ end
+ #
+ def item_insert_before itc, data, parent, before, flags, cb, cbdata
+ ElmObjectItem.new Native::elm_genlist_item_insert_before @ptr, itc, data, parent, before, flags, cb, cbdata
+ end
+ #
+ def item_insert_after itc, data, parent, before, flags, cb, cbdata
+ ElmObjectItem.new Native::elm_genlist_item_insert_after @ptr, itc, data, parent, before, flags, cb, cbdata
+ end
+ #
+ def item_sorted_insert itc, data, parent, flags, cmp, cb, cbdata
+ ElmObjectItem.new Native::elm_genlist_item_sorted_insert @ptr, itc, data, parent, flags, cmp, cb, cbdata
+ end
+ #
+ def selected_item_get
+ ElmObjectItem.new Native::elm_genlist_selected_item_get @ptr
+ end
+ alias :selected_item :selected_item_get
+ #
+ def at_xy_item_get x, y
+ @ri0 ||= FFI::MemoryPointer.new :int
+ i = ElmObjectItem.new ElmObjectItem.new Native::elm_genlist_first_item_get @ptr, x, y, @ri0
+ [ @ri0.read_int, i ]
+ end
+ #
+ def first_item_get
+ ElmObjectItem.new Native::elm_genlist_first_item_get @ptr
+ end
+ alias :first_item :first_item_get
+ #
+ def last_item_get
+ ElmObjectItem.new Native::elm_genlist_last_item_get @ptr
+ end
+ alias :last_item :last_item_get
+ #
+ def item_next_get it
+ ElmObjectItem.new Native::elm_genlist_item_next_get it
+ end
+ alias :item_next :item_next_get
+ #
+ def item_prev_get it
+ ElmObjectItem.new Native::elm_genlist_item_prev_get it
+ end
+ alias :item_prev :item_prev_get
+ #
+ def item_parent_get it
+ ElmObjectItem.new Native::elm_genlist_item_parent_get it
+ end
+ alias :item_parent :item_parent_get
+ #
+ end
+ #
+ end
+end
+#
+# EOF
diff --git a/lib/efl/native/elm/elm_genlist.rb b/lib/efl/native/elm/elm_genlist.rb
new file mode 100644
index 0000000..39add48
--- /dev/null
+++ b/lib/efl/native/elm/elm_genlist.rb
@@ -0,0 +1,240 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/native'
+require 'efl/native/elementary'
+require 'efl/native/elm/elm_list'
+require 'efl/native/elm/elm_scroller'
+#
+module Efl
+ #
+ module ElmGenList
+ #
+ FCT_PREFIX = 'elm_genlist_' unless const_defined? :FCT_PREFIX
+ #
+ def self.method_missing meth, *args, &block
+ sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
+ self.send sym, *args, &block
+ end
+ #
+ end
+ #
+ module Native
+ #
+ ffi_lib 'elementary-ver-pre-svn-09.so.0'
+ #
+ # ENUMS
+ # typedef enum {...} Elm_Genlist_Item_Flags;
+ enum :elm_genlist_item_flags, [ :elm_genlist_item_none, 0, :elm_genlist_item_subitems, (1<<0), :elm_genlist_item_group, (1<<1),
+ :elm_genlist_item_max, (1<<2) ]
+ # typedef enum {...} Elm_Genlist_Item_Field_Flags;
+ enum :elm_genlist_item_field_flags, [ :elm_genlist_item_field_all, 0, :elm_genlist_item_field_label, (1<<0), :elm_genlist_item_field_content,
+ (1<<1), :elm_genlist_item_field_state, (1<<2) ]
+ #
+ # TYPEDEFS
+ # typedef struct _Elm_Genlist_Item_Class Elm_Genlist_Item_Class;
+ typedef :pointer, :elm_genlist_item_class
+ # typedef struct _Elm_Genlist_Item_Class_Func Elm_Genlist_Item_Class_Func;
+ typedef :pointer, :elm_genlist_item_class_func
+ #
+ # CALLBACKS
+ # typedef char *(*Elm_Genlist_Item_Text_Get_Cb) (void *data, Evas_Object *obj, const char *part);
+ callback :elm_genlist_item_text_get_cb, [ :pointer, :evas_object, :string ], :string
+ # typedef Evas_Object *(*Elm_Genlist_Item_Content_Get_Cb) (void *data, Evas_Object *obj, const char *part);
+ callback :elm_genlist_item_content_get_cb, [ :pointer, :evas_object, :string ], :evas_object
+ # typedef Eina_Bool (*Elm_Genlist_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part);
+ callback :elm_genlist_item_state_get_cb, [ :pointer, :evas_object, :string ], :bool
+ # typedef void (*Elm_Genlist_Item_Del_Cb) (void *data, Evas_Object *obj);
+ callback :elm_genlist_item_del_cb, [ :pointer, :evas_object ], :void
+ #
+ # FUNCTIONS
+ fcts = [
+ # EAPI Evas_Object *elm_genlist_add(Evas_Object *parent);
+ [ :elm_genlist_add, [ :evas_object ], :evas_object ],
+ # EAPI void elm_genlist_clear(Evas_Object *obj);
+ [ :elm_genlist_clear, [ :evas_object ], :void ],
+ # EAPI void elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi);
+ [ :elm_genlist_multi_select_set, [ :evas_object, :bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_multi_select_get(const Evas_Object *obj);
+ [ :elm_genlist_multi_select_get, [ :evas_object ], :bool ],
+ # EAPI void elm_genlist_mode_set(Evas_Object *obj, Elm_List_Mode mode);
+ [ :elm_genlist_mode_set, [ :evas_object, :elm_list_mode ], :void ],
+ # EAPI Elm_List_Mode elm_genlist_mode_get(const Evas_Object *obj);
+ [ :elm_genlist_mode_get, [ :evas_object ], :elm_list_mode ],
+ # EAPI void elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
+ [ :elm_genlist_always_select_mode_set, [ :evas_object, :bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_always_select_mode_get(const Evas_Object *obj);
+ [ :elm_genlist_always_select_mode_get, [ :evas_object ], :bool ],
+ # EAPI void elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
+ [ :elm_genlist_no_select_mode_set, [ :evas_object, :bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_no_select_mode_get(const Evas_Object *obj);
+ [ :elm_genlist_no_select_mode_get, [ :evas_object ], :bool ],
+ # EAPI void elm_genlist_compress_mode_set(Evas_Object *obj, Eina_Bool compress);
+ [ :elm_genlist_compress_mode_set, [ :evas_object, :bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_compress_mode_get(const Evas_Object *obj);
+ [ :elm_genlist_compress_mode_get, [ :evas_object ], :bool ],
+ # EAPI void elm_genlist_height_for_width_mode_set(Evas_Object *obj, Eina_Bool height_for_width);
+ [ :elm_genlist_height_for_width_mode_set, [ :evas_object, :bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_height_for_width_mode_get(const Evas_Object *obj);
+ [ :elm_genlist_height_for_width_mode_get, [ :evas_object ], :bool ],
+ # EAPI void elm_genlist_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
+ [ :elm_genlist_bounce_set, [ :evas_object, :bool, :bool ], :void ],
+ # EAPI void elm_genlist_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce);
+ [ :elm_genlist_bounce_get, [ :evas_object, :pointer, :pointer ], :void ],
+ # EAPI void elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous);
+ [ :elm_genlist_homogeneous_set, [ :evas_object, :bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_homogeneous_get(const Evas_Object *obj);
+ [ :elm_genlist_homogeneous_get, [ :evas_object ], :bool ],
+ # EAPI void elm_genlist_block_count_set(Evas_Object *obj, int count);
+ [ :elm_genlist_block_count_set, [ :evas_object, :int ], :void ],
+ # EAPI int elm_genlist_block_count_get(const Evas_Object *obj);
+ [ :elm_genlist_block_count_get, [ :evas_object ], :int ],
+ # EAPI void elm_genlist_longpress_timeout_set(Evas_Object *obj, double timeout);
+ [ :elm_genlist_longpress_timeout_set, [ :evas_object, :double ], :void ],
+ # EAPI double elm_genlist_longpress_timeout_get(const Evas_Object *obj);
+ [ :elm_genlist_longpress_timeout_get, [ :evas_object ], :double ],
+ # EAPI Elm_Object_Item *elm_genlist_item_append(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
+ [ :elm_genlist_item_append, [ :evas_object, :elm_genlist_item_class, :pointer, :elm_object_item, :elm_genlist_item_flags, :evas_smart_cb,
+ :pointer ], :elm_object_item ],
+ # EAPI Elm_Object_Item *elm_genlist_item_prepend(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
+ [ :elm_genlist_item_prepend, [ :evas_object, :elm_genlist_item_class, :pointer, :elm_object_item, :elm_genlist_item_flags, :evas_smart_cb,
+ :pointer ], :elm_object_item ],
+ # EAPI Elm_Object_Item *elm_genlist_item_insert_before(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Object_Item *before, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
+ [ :elm_genlist_item_insert_before, [ :evas_object, :elm_genlist_item_class, :pointer, :elm_object_item, :elm_object_item,
+ :elm_genlist_item_flags, :evas_smart_cb, :pointer ], :elm_object_item ],
+ # EAPI Elm_Object_Item *elm_genlist_item_insert_after(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Object_Item *after, Elm_Genlist_Item_Flags flags, Evas_Smart_Cb func, const void *func_data);
+ [ :elm_genlist_item_insert_after, [ :evas_object, :elm_genlist_item_class, :pointer, :elm_object_item, :elm_object_item,
+ :elm_genlist_item_flags, :evas_smart_cb, :pointer ], :elm_object_item ],
+ # EAPI Elm_Object_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Flags flags, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data);
+ [ :elm_genlist_item_sorted_insert, [ :evas_object, :elm_genlist_item_class, :pointer, :elm_object_item, :elm_genlist_item_flags,
+ :eina_compare_cb, :evas_smart_cb, :pointer ], :elm_object_item ],
+ # EAPI Elm_Object_Item *elm_genlist_selected_item_get(const Evas_Object *obj);
+ [ :elm_genlist_selected_item_get, [ :evas_object ], :elm_object_item ],
+ # EAPI const Eina_List *elm_genlist_selected_items_get(const Evas_Object *obj);
+ [ :elm_genlist_selected_items_get, [ :evas_object ], :eina_list ],
+ # EAPI Eina_List *elm_genlist_realized_items_get(const Evas_Object *obj);
+ [ :elm_genlist_realized_items_get, [ :evas_object ], :eina_list ],
+ # EAPI Elm_Object_Item *elm_genlist_at_xy_item_get(const Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *posret);
+ [ :elm_genlist_at_xy_item_get, [ :evas_object, :int, :int, :pointer ], :elm_object_item ],
+ # EAPI Elm_Object_Item *elm_genlist_first_item_get(const Evas_Object *obj);
+ [ :elm_genlist_first_item_get, [ :evas_object ], :elm_object_item ],
+ # EAPI Elm_Object_Item *elm_genlist_last_item_get(const Evas_Object *obj);
+ [ :elm_genlist_last_item_get, [ :evas_object ], :elm_object_item ],
+ # EAPI void elm_genlist_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v);
+ [ :elm_genlist_scroller_policy_set, [ :evas_object, :elm_scroller_policy, :elm_scroller_policy ], :void ],
+ # EAPI void elm_genlist_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v);
+ [ :elm_genlist_scroller_policy_get, [ :evas_object, :pointer, :pointer ], :void ],
+ # EAPI Elm_Object_Item *elm_genlist_item_next_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_next_get, [ :elm_object_item ], :elm_object_item ],
+ # EAPI Elm_Object_Item *elm_genlist_item_prev_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_prev_get, [ :elm_object_item ], :elm_object_item ],
+ # EAPI Elm_Object_Item *elm_genlist_item_parent_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_parent_get, [ :elm_object_item ], :elm_object_item ],
+ # EAPI void elm_genlist_item_subitems_clear(Elm_Object_Item *it);
+ [ :elm_genlist_item_subitems_clear, [ :elm_object_item ], :void ],
+ # EAPI void elm_genlist_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
+ [ :elm_genlist_item_selected_set, [ :elm_object_item, :bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_item_selected_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_selected_get, [ :elm_object_item ], :bool ],
+ # EAPI void elm_genlist_item_expanded_set(Elm_Object_Item *it, Eina_Bool expanded);
+ [ :elm_genlist_item_expanded_set, [ :elm_object_item, :bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_item_expanded_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_expanded_get, [ :elm_object_item ], :bool ],
+ # EAPI int elm_genlist_item_expanded_depth_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_expanded_depth_get, [ :elm_object_item ], :int ],
+ # EAPI void elm_genlist_item_display_only_set(Elm_Object_Item *it, Eina_Bool display_only);
+ [ :elm_genlist_item_display_only_set, [ :elm_object_item, :bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_item_display_only_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_display_only_get, [ :elm_object_item ], :bool ],
+ # EAPI void elm_genlist_item_show(Elm_Object_Item *it);
+ [ :elm_genlist_item_show, [ :elm_object_item ], :void ],
+ # EAPI void elm_genlist_item_bring_in(Elm_Object_Item *it);
+ [ :elm_genlist_item_bring_in, [ :elm_object_item ], :void ],
+ # EAPI void elm_genlist_item_top_show(Elm_Object_Item *it);
+ [ :elm_genlist_item_top_show, [ :elm_object_item ], :void ],
+ # EAPI void elm_genlist_item_top_bring_in(Elm_Object_Item *it);
+ [ :elm_genlist_item_top_bring_in, [ :elm_object_item ], :void ],
+ # EAPI void elm_genlist_item_middle_show(Elm_Object_Item *it);
+ [ :elm_genlist_item_middle_show, [ :elm_object_item ], :void ],
+ # EAPI void elm_genlist_item_middle_bring_in(Elm_Object_Item *it);
+ [ :elm_genlist_item_middle_bring_in, [ :elm_object_item ], :void ],
+ # EAPI void elm_genlist_item_contents_orphan(Elm_Object_Item *it);
+ [ :elm_genlist_item_contents_orphan, [ :elm_object_item ], :void ],
+ # EAPI void elm_genlist_item_update(Elm_Object_Item *it);
+ [ :elm_genlist_item_update, [ :elm_object_item ], :void ],
+ # EAPI void elm_genlist_item_promote(Elm_Object_Item *it);
+ [ :elm_genlist_item_promote, [ :elm_object_item ], :void ],
+ # EAPI void elm_genlist_item_demote(Elm_Object_Item *it);
+ [ :elm_genlist_item_demote, [ :elm_object_item ], :void ],
+ # EAPI void elm_genlist_item_fields_update(Elm_Object_Item *it, const char *parts, Elm_Genlist_Item_Field_Flags itf);
+ [ :elm_genlist_item_fields_update, [ :elm_object_item, :string, :elm_genlist_item_field_flags ], :void ],
+ # EAPI void elm_genlist_item_item_class_update(Elm_Object_Item *it, const Elm_Genlist_Item_Class *itc);
+ [ :elm_genlist_item_item_class_update, [ :elm_object_item, :elm_genlist_item_class ], :void ],
+ # EAPI const Elm_Genlist_Item_Class *elm_genlist_item_item_class_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_item_class_get, [ :elm_object_item ], :elm_genlist_item_class ],
+ # EAPI void elm_genlist_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
+ [ :elm_genlist_item_tooltip_text_set, [ :elm_object_item, :string ], :void ],
+ # EAPI void elm_genlist_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);
+ [ :elm_genlist_item_tooltip_content_cb_set, [ :elm_object_item, :elm_tooltip_item_content_cb, :pointer, :evas_smart_cb ], :void ],
+ # EAPI void elm_genlist_item_tooltip_unset(Elm_Object_Item *it);
+ [ :elm_genlist_item_tooltip_unset, [ :elm_object_item ], :void ],
+ # EAPI void elm_genlist_item_tooltip_style_set(Elm_Object_Item *it, const char *style);
+ [ :elm_genlist_item_tooltip_style_set, [ :elm_object_item, :string ], :void ],
+ # EAPI const char *elm_genlist_item_tooltip_style_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_tooltip_style_get, [ :elm_object_item ], :string ],
+ # EAPI Eina_Bool elm_genlist_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable);
+ [ :elm_genlist_item_tooltip_window_mode_set, [ :elm_object_item, :bool ], :bool ],
+ # EAPI Eina_Bool elm_genlist_item_tooltip_window_mode_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_tooltip_window_mode_get, [ :elm_object_item ], :bool ],
+ # EAPI void elm_genlist_item_cursor_set(Elm_Object_Item *it, const char *cursor);
+ [ :elm_genlist_item_cursor_set, [ :elm_object_item, :string ], :void ],
+ # EAPI const char *elm_genlist_item_cursor_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_cursor_get, [ :elm_object_item ], :string ],
+ # EAPI void elm_genlist_item_cursor_unset(Elm_Object_Item *it);
+ [ :elm_genlist_item_cursor_unset, [ :elm_object_item ], :void ],
+ # EAPI void elm_genlist_item_cursor_style_set(Elm_Object_Item *it, const char *style);
+ [ :elm_genlist_item_cursor_style_set, [ :elm_object_item, :string ], :void ],
+ # EAPI const char *elm_genlist_item_cursor_style_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_cursor_style_get, [ :elm_object_item ], :string ],
+ # EAPI void elm_genlist_item_cursor_engine_only_set(Elm_Object_Item *it, Eina_Bool engine_only);
+ [ :elm_genlist_item_cursor_engine_only_set, [ :elm_object_item, :bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_item_cursor_engine_only_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_cursor_engine_only_get, [ :elm_object_item ], :bool ],
+ # EAPI int elm_genlist_item_index_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_index_get, [ :elm_object_item ], :int ],
+ # EAPI void elm_genlist_realized_items_update(Evas_Object *obj);
+ [ :elm_genlist_realized_items_update, [ :evas_object ], :void ],
+ # EAPI void elm_genlist_item_mode_set(Elm_Object_Item *it, const char *mode_type, Eina_Bool mode_set);
+ [ :elm_genlist_item_mode_set, [ :elm_object_item, :string, :bool ], :void ],
+ # EAPI const char *elm_genlist_mode_type_get(const Evas_Object *obj);
+ [ :elm_genlist_mode_type_get, [ :evas_object ], :string ],
+ # EAPI const Elm_Object_Item *elm_genlist_mode_item_get(const Evas_Object *obj);
+ [ :elm_genlist_mode_item_get, [ :evas_object ], :elm_object_item ],
+ # EAPI void elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode);
+ [ :elm_genlist_reorder_mode_set, [ :evas_object, :bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_reorder_mode_get(const Evas_Object *obj);
+ [ :elm_genlist_reorder_mode_get, [ :evas_object ], :bool ],
+ # EAPI Elm_Genlist_Item_Flags elm_genlist_item_flags_get(const Elm_Object_Item *it);
+ [ :elm_genlist_item_flags_get, [ :elm_object_item ], :elm_genlist_item_flags ],
+ # EAPI Elm_Genlist_Item_Class *elm_genlist_item_class_new(void);
+ [ :elm_genlist_item_class_new, [ ], :elm_genlist_item_class ],
+ # EAPI void elm_genlist_item_class_free(Elm_Genlist_Item_Class *itc);
+ [ :elm_genlist_item_class_free, [ :elm_genlist_item_class ], :void ],
+ # EAPI void elm_genlist_item_class_ref(Elm_Genlist_Item_Class *itc);
+ [ :elm_genlist_item_class_ref, [ :elm_genlist_item_class ], :void ],
+ # EAPI void elm_genlist_item_class_unref(Elm_Genlist_Item_Class *itc);
+ [ :elm_genlist_item_class_unref, [ :elm_genlist_item_class ], :void ],
+ # EAPI unsigned int elm_genlist_items_count(const Evas_Object *obj);
+ [ :elm_genlist_items_count, [ :evas_object ], :uint ],
+ # EAPI void elm_genlist_edit_mode_set(Evas_Object *obj, Eina_Bool edit_mode);
+ [ :elm_genlist_edit_mode_set, [ :evas_object, :bool ], :void ],
+ # EAPI Eina_Bool elm_genlist_edit_mode_get(const Evas_Object *obj);
+ [ :elm_genlist_edit_mode_get, [ :evas_object ], :bool ],
+ ]
+ #
+ attach_fcts fcts
+ #
+ end
+end
+#
+# EOF
diff --git a/tools/genruby.rb b/tools/genruby.rb
index fba4746..7c7e60e 100755
--- a/tools/genruby.rb
+++ b/tools/genruby.rb
@@ -400,7 +400,7 @@ libs << elm_h('elm_focus.h', 'ElmFocus')
libs << elm_h('elm_fonts.h', 'ElmFonts')
libs << elm_h('elm_frame.h', 'ElmFrame')
#libs << elm_h('elm_gengrid.h', 'ElmGenGrid')
-#libs << elm_h('elm_genlist.h', 'ElmGenList')
+libs << elm_h('elm_genlist.h', 'ElmGenList', ["#{NATIVE}/elementary","#{NATIVE}/elm/elm_list","#{NATIVE}/elm/elm_scroller"])
#libs << elm_h('elm_gesture_layer.h', 'ElmGestureLayer')
#libs << elm_h('elm_glview.h', 'ElmGLView')
libs << elm_h('elm_grid.h', 'ElmGrid')