summaryrefslogtreecommitdiffstats
path: root/lib/efl/native/elm/elm_pager.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/native/elm/elm_pager.rb')
-rw-r--r--lib/efl/native/elm/elm_pager.rb45
1 files changed, 45 insertions, 0 deletions
diff --git a/lib/efl/native/elm/elm_pager.rb b/lib/efl/native/elm/elm_pager.rb
new file mode 100644
index 0000000..2cd908d
--- /dev/null
+++ b/lib/efl/native/elm/elm_pager.rb
@@ -0,0 +1,45 @@
+#! /usr/bin/env ruby
+# -*- coding: UTF-8 -*-
+#
+require 'efl/native'
+require 'efl/native/elementary'
+#
+module Efl
+ #
+ module ElmPager
+ #
+ FCT_PREFIX = 'elm_pager_' unless const_defined? :FCT_PREFIX
+ #
+ def self.method_missing meth, *args, &block
+ sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
+ self.send sym, *args, &block
+ end
+ #
+ end
+ #
+ module Native
+ #
+ ffi_lib 'elementary-ver-pre-svn-09.so.0'
+ #
+ # FUNCTIONS
+ fcts = [
+ # EAPI Evas_Object *elm_pager_add(Evas_Object *parent);
+ [ :elm_pager_add, [ :evas_object ], :evas_object ],
+ # EAPI void elm_pager_content_push(Evas_Object *obj, Evas_Object *content);
+ [ :elm_pager_content_push, [ :evas_object, :evas_object ], :void ],
+ # EAPI void elm_pager_content_pop(Evas_Object *obj);
+ [ :elm_pager_content_pop, [ :evas_object ], :void ],
+ # EAPI void elm_pager_content_promote(Evas_Object *obj, Evas_Object *content);
+ [ :elm_pager_content_promote, [ :evas_object, :evas_object ], :void ],
+ # EAPI Evas_Object *elm_pager_content_bottom_get(const Evas_Object *obj);
+ [ :elm_pager_content_bottom_get, [ :evas_object ], :evas_object ],
+ # EAPI Evas_Object *elm_pager_content_top_get(const Evas_Object *obj);
+ [ :elm_pager_content_top_get, [ :evas_object ], :evas_object ],
+ ]
+ #
+ attach_fcts fcts
+ #
+ end
+end
+#
+# EOF