summaryrefslogtreecommitdiffstats
path: root/lib/efl/native/elm/elm_naviframe.rb
blob: a273b0820b8e9a7f119441e3cd16d36fdefb9660 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
require 'efl/native'
require 'efl/native/elementary'
#
module Efl
    #
    module ElmNaviFrame
        #
        FCT_PREFIX = 'elm_naviframe_' 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_naviframe_add(Evas_Object *parent);
        [ :elm_naviframe_add, [ :evas_object ], :evas_object ],
        # EAPI Elm_Object_Item *elm_naviframe_item_push(Evas_Object *obj, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style);
        [ :elm_naviframe_item_push, [ :evas_object, :string, :evas_object, :evas_object, :evas_object, :string ], :elm_object_item ],
        # EAPI Elm_Object_Item *elm_naviframe_item_insert_before(Elm_Object_Item *before, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style);
        [ :elm_naviframe_item_insert_before, [ :elm_object_item, :string, :evas_object, :evas_object, :evas_object, :string ], :elm_object_item ],
        # EAPI Elm_Object_Item *elm_naviframe_item_insert_after(Elm_Object_Item *after, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style);
        [ :elm_naviframe_item_insert_after, [ :elm_object_item, :string, :evas_object, :evas_object, :evas_object, :string ], :elm_object_item ],
        # EAPI Evas_Object *elm_naviframe_item_pop(Evas_Object *obj);
        [ :elm_naviframe_item_pop, [ :evas_object ], :evas_object ],
        # EAPI void elm_naviframe_item_pop_to(Elm_Object_Item *it);
        [ :elm_naviframe_item_pop_to, [ :elm_object_item ], :void ],
        # EAPI void elm_naviframe_item_promote(Elm_Object_Item *it);
        [ :elm_naviframe_item_promote, [ :elm_object_item ], :void ],
        # EAPI void elm_naviframe_content_preserve_on_pop_set(Evas_Object *obj, Eina_Bool preserve);
        [ :elm_naviframe_content_preserve_on_pop_set, [ :evas_object, :bool ], :void ],
        # EAPI Eina_Bool elm_naviframe_content_preserve_on_pop_get(const Evas_Object *obj);
        [ :elm_naviframe_content_preserve_on_pop_get, [ :evas_object ], :bool ],
        # EAPI Elm_Object_Item *elm_naviframe_top_item_get(const Evas_Object *obj);
        [ :elm_naviframe_top_item_get, [ :evas_object ], :elm_object_item ],
        # EAPI Elm_Object_Item *elm_naviframe_bottom_item_get(const Evas_Object *obj);
        [ :elm_naviframe_bottom_item_get, [ :evas_object ], :elm_object_item ],
        # EAPI void elm_naviframe_item_style_set(Elm_Object_Item *it, const char *item_style);
        [ :elm_naviframe_item_style_set, [ :elm_object_item, :string ], :void ],
        # EAPI const char *elm_naviframe_item_style_get(const Elm_Object_Item *it);
        [ :elm_naviframe_item_style_get, [ :elm_object_item ], :string ],
        # EAPI void elm_naviframe_item_title_visible_set(Elm_Object_Item *it, Eina_Bool visible);
        [ :elm_naviframe_item_title_visible_set, [ :elm_object_item, :bool ], :void ],
        # EAPI Eina_Bool elm_naviframe_item_title_visible_get(const Elm_Object_Item *it);
        [ :elm_naviframe_item_title_visible_get, [ :elm_object_item ], :bool ],
        # EAPI void elm_naviframe_prev_btn_auto_pushed_set(Evas_Object *obj, Eina_Bool auto_pushed);
        [ :elm_naviframe_prev_btn_auto_pushed_set, [ :evas_object, :bool ], :void ],
        # EAPI Eina_Bool elm_naviframe_prev_btn_auto_pushed_get(const Evas_Object *obj);
        [ :elm_naviframe_prev_btn_auto_pushed_get, [ :evas_object ], :bool ],
        # EAPI Eina_List *elm_naviframe_items_get(const Evas_Object *obj);
        [ :elm_naviframe_items_get, [ :evas_object ], :eina_list ],
        # EAPI void elm_naviframe_event_enabled_set(Evas_Object *obj, Eina_Bool enabled);
        [ :elm_naviframe_event_enabled_set, [ :evas_object, :bool ], :void ],
        # EAPI Eina_Bool elm_naviframe_event_enabled_get(const Evas_Object *obj);
        [ :elm_naviframe_event_enabled_get, [ :evas_object ], :bool ],
        # EAPI void elm_naviframe_item_style_default_set(Evas_Object *obj, const char *style);
        [ :elm_naviframe_item_style_default_set, [ :evas_object, :string ], :void ],
        # EAPI const char *elm_naviframe_item_style_default_get(const Evas_Object *obj);
        [ :elm_naviframe_item_style_default_get, [ :evas_object ], :string ],
        # EAPI void elm_naviframe_item_simple_promote(Evas_Object *obj, Evas_Object *content);
        [ :elm_naviframe_item_simple_promote, [ :evas_object, :evas_object ], :void ],
        ]
        #
        attach_fcts fcts
        #
    end
end
#
# EOF