summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-27 16:14:06 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-27 16:14:06 +0100
commitfe0132c0b6677c94d46beb5792a91a880e1b23da (patch)
treee09647e2b6ab1cec2b2990c23c8a29be7ab4a699 /lib/efl/elm
parentd675940f5a7b2cc8915d1dcb8e40b64c510f7196 (diff)
downloadffi-efl-fe0132c0b6677c94d46beb5792a91a880e1b23da.zip
ffi-efl-fe0132c0b6677c94d46beb5792a91a880e1b23da.tar.gz
parse elm_flipselector.h, generate elm_flipselector.rb
Diffstat (limited to 'lib/efl/elm')
-rw-r--r--lib/efl/elm/elm_flipselector.rb50
1 files changed, 50 insertions, 0 deletions
diff --git a/lib/efl/elm/elm_flipselector.rb b/lib/efl/elm/elm_flipselector.rb
new file mode 100644
index 0000000..ab15fb9
--- /dev/null
+++ b/lib/efl/elm/elm_flipselector.rb
@@ -0,0 +1,50 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/elm/elm_object'
+require 'efl/native/elm/elm_flipselector'
+#
+module Efl
+ #
+ module Elm
+ #
+ class ElmFlipSelector < ElmObject
+ #
+ include Helper
+ constructor :elm_flipselector_add
+ search_prefixes 'elm_flipselector_'
+ #
+ def item_append label, cb=nil, data=nil
+ ElmObjectItem.new Native::elm_flipselector_item_append @ptr, label, cb, data
+ end
+ #
+ def item_prepend label, cb=nil, data=nil
+ ElmObjectItem.new Native::elm_flipselector_item_prepend @ptr, label, cb, data
+ end
+ #
+ def first_item_get
+ ElmObjectItem.new Native::elm_flipselector_first_item_get @ptr
+ end
+ #
+ def last_item_get
+ ElmObjectItem.new Native::elm_flipselector_last_item_get @ptr
+ end
+ #
+ def selected_item_get
+ ElmObjectItem.new Native::elm_flipselector_selected_item_get @ptr
+ end
+ #
+ def item_prev_get it
+ ElmObjectItem.new Native::elm_flipselector_item_prev_get it
+ end
+ #
+ def item_next_get it
+ ElmObjectItem.new Native::elm_flipselector_item_next_get it
+ end
+ #
+ end
+ #
+ end
+end
+#
+# EOF