diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 11:20:52 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-02-28 11:20:52 +0100 |
commit | 93d06a12fca5450e2ed161150f628bfcb3e40479 (patch) | |
tree | 4786cda52f0d6590808149d5a7eb57ea898f6a88 /lib/efl/elm | |
parent | bbef3a090c6f5e2f4aafd8dbfb9a678c15dff8af (diff) | |
download | ffi-efl-93d06a12fca5450e2ed161150f628bfcb3e40479.zip ffi-efl-93d06a12fca5450e2ed161150f628bfcb3e40479.tar.gz |
parse elm_multibuttonentry.h, generate elm_multibuttonentry.rb
Diffstat (limited to 'lib/efl/elm')
-rw-r--r-- | lib/efl/elm/elm_multibuttonentry.rb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/lib/efl/elm/elm_multibuttonentry.rb b/lib/efl/elm/elm_multibuttonentry.rb new file mode 100644 index 0000000..b9b4ea2 --- /dev/null +++ b/lib/efl/elm/elm_multibuttonentry.rb @@ -0,0 +1,58 @@ +#! /usr/bin/env ruby +# -*- coding: UTF-8 -*- +# +require 'efl/elm/elm_object' +require 'efl/elm/elm_object_item' +require 'efl/native/elm/elm_multibuttonentry' +# +module Efl + # + module Elm + # + class ElmMultiButtonEntry < ElmObject + # + include Helper + constructor :elm_multibuttonentry_add + search_prefixes 'elm_multibuttonentry_' + # + def item_prepend label, data=nil + ElmObjectItem.new Native::elm_multibuttonentry_item_prepend @ptr, label, data + end + # + def item_append label, data=nil + ElmObjectItem.new Native::elm_multibuttonentry_item_append @ptr, label, data + end + # + def item_insert_before before, label, data=nil + ElmObjectItem.new Native::elm_multibuttonentry_item_insert_before @ptr, before, label, data + end + # + def item_insert_after after, label, data=nil + ElmObjectItem.new Native::elm_multibuttonentry_item_insert_after @ptr, after, label, data + end + # + def first_item_get + ElmObjectItem.new Native::elm_multibuttonentry_first_item_get @ptr + end + # + def last_item_get + ElmObjectItem.new Native::elm_multibuttonentry_last_item_get @ptr + end + # + def selected_item_get + ElmObjectItem.new Native::elm_multibuttonentry_selected_item_get @ptr + end + # + def item_prev it + ElmObjectItem.new Native::elm_multibuttonentry_item_prev it + end + # + def item_next it + ElmObjectItem.new Native::elm_multibuttonentry_item_next it + end + end + # + end +end +# +# EOF |