summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-02-28 11:08:11 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-02-28 11:08:11 +0100
commitec8df9f648ddaa7dcf532f3339d2246ad7adca41 (patch)
tree632914776a22a4534093a9879165b9ff21634222 /lib/efl/elm
parentc8e47577ae9f11c1c7eb396c732c9a549ef8e21f (diff)
downloadffi-efl-ec8df9f648ddaa7dcf532f3339d2246ad7adca41.zip
ffi-efl-ec8df9f648ddaa7dcf532f3339d2246ad7adca41.tar.gz
parse elm_naviframe.h, generate elm_naviframe.rb
Diffstat (limited to 'lib/efl/elm')
-rw-r--r--lib/efl/elm/elm_naviframe.rb42
1 files changed, 42 insertions, 0 deletions
diff --git a/lib/efl/elm/elm_naviframe.rb b/lib/efl/elm/elm_naviframe.rb
new file mode 100644
index 0000000..ecb65d8
--- /dev/null
+++ b/lib/efl/elm/elm_naviframe.rb
@@ -0,0 +1,42 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/elm/elm_object'
+require 'efl/elm/elm_object_item'
+require 'efl/native/elm/elm_naviframe'
+#
+module Efl
+ #
+ module Elm
+ #
+ class ElmNaviFrame < ElmObject
+ #
+ include Helper
+ constructor :elm_naviframe_add
+ search_prefixes 'elm_naviframe_'
+ #
+ def item_push label, prev_btn, next_btn, content, style
+ ElmObjectItem.new Native::elm_naviframe_item_push @ptr, label, prev_btn, next_btn, content, style
+ end
+ #
+ def item_insert_before before, label, prev_btn, next_btn, content, style
+ ElmObjectItem.new Native::elm_naviframe_item_push before, label, prev_btn, next_btn, content, style
+ end
+ #
+ def item_insert_after after, label, prev_btn, next_btn, content, style
+ ElmObjectItem.new Native::elm_naviframe_item_push after, label, prev_btn, next_btn, content, style
+ end
+ #
+ def top_item_get
+ ElmObjectItem.new Native::elm_naviframe_top_item_get @ptr
+ end
+ #
+ def bottom_item_get
+ ElmObjectItem.new Native::elm_naviframe_bottom_item_get @ptr
+ end
+ end
+ #
+ end
+end
+#
+# EOF