summaryrefslogtreecommitdiffstats
path: root/lib/efl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl')
-rw-r--r--lib/efl/elementary.rb22
1 files changed, 20 insertions, 2 deletions
diff --git a/lib/efl/elementary.rb b/lib/efl/elementary.rb
index 2b0b381..de6eda2 100644
--- a/lib/efl/elementary.rb
+++ b/lib/efl/elementary.rb
@@ -9,13 +9,13 @@ module Efl
module Native
#
class ElmGenlistItemClassStruct < FFI::Struct
- layout :item_style, :string,
+ layout :item_style, :pointer,
:label_get, :pointer,
:icon_get, :pointer,
:state_get, :pointer,
:del, :pointer,
:moved, :pointer,
- :mode_item_style, :string,
+ :mode_item_style, :pointer,
end
#
end
@@ -156,6 +156,16 @@ module Efl
#
end
#
+ class ElmListItem < Efl::Evas::REvasObject
+ #
+ search_prefixes 'elm_list_item_', 'elm_object'
+ #
+ def data_get
+ Native::elm_list_item_data_get @ptr
+ end
+ alias :data :data_get
+ end
+ #
class ElmIcon < Efl::Evas::REvasObject
#
include Helper
@@ -285,6 +295,14 @@ module Efl
#
end
#
+ class ElmGenlist < Efl::Evas::REvasObject
+ #
+ include Helper
+ constructor :elm_genlist_add
+ search_prefixes 'elm_genlist_', 'elm_object'
+ #
+ end
+ #
end
end
#