summaryrefslogtreecommitdiffstats
path: root/lib/efl/elm/elm_naviframe.rb
blob: 22d1dab6ac7e3ef777354c48cee18ef16dfaeb6e (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
#! /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