diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-09 00:24:36 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-06-09 00:24:36 +0200 |
commit | f773e14dd45210e429b0d6adc0c6b23962298131 (patch) | |
tree | 0b092bb2a22fc64106cefc0cb531455b2b99e2b4 | |
parent | 33190d0fc79d267cd6603e8305a5ba65e3fc2d79 (diff) | |
download | ffi-efl-f773e14dd45210e429b0d6adc0c6b23962298131.zip ffi-efl-f773e14dd45210e429b0d6adc0c6b23962298131.tar.gz |
ElmList@item_append returns an ElmListItem
-rw-r--r-- | lib/efl/elementary.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/efl/elementary.rb b/lib/efl/elementary.rb index de6eda2..050635b 100644 --- a/lib/efl/elementary.rb +++ b/lib/efl/elementary.rb @@ -154,6 +154,9 @@ module Efl constructor :elm_list_add search_prefixes 'elm_list_', 'elm_object_' # + def item_append label, left_icon=nil, right_icon=nil, cb=nil, data=nil + ElmListItem.new Native::elm_list_item_append @ptr, label, left_icon, right_icon, cb, data + end end # class ElmListItem < Efl::Evas::REvasObject |