From f773e14dd45210e429b0d6adc0c6b23962298131 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 9 Jun 2011 00:24:36 +0200 Subject: ElmList@item_append returns an ElmListItem --- lib/efl/elementary.rb | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.1-2-g2b99