diff options
Diffstat (limited to 'lib/efl/elm/elm_index.rb')
-rw-r--r-- | lib/efl/elm/elm_index.rb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/efl/elm/elm_index.rb b/lib/efl/elm/elm_index.rb new file mode 100644 index 0000000..c6ba981 --- /dev/null +++ b/lib/efl/elm/elm_index.rb @@ -0,0 +1,31 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/elm/elm_object' +require 'efl/elm/elm_object_item' +require 'efl/native/elm/elm_index' +# +module Efl + # + module Elm + # + class ElmIndex < ElmObject + # + include Helper + constructor :elm_index_add + search_prefixes 'elm_index_' + # + def item_selected_get idx + ElmObjectItem.new Native::elm_index_item_selected_get @ptr, idx + end + # + def item_find item + ElmObjectItem.new Native::elm_index_item_find @ptr, item + end + # + end + # + end +end +# +# EOF |