blob: 1a21613b9326ca8f138451ec0fb5667438fd94be (
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
|
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
require 'efl/elm/elm_object'
require 'efl/native/elm/elm_diskselector'
#
module Efl
#
module Elm
#
class ElmDiskSelector < ElmObject
#
include Helper
constructor :elm_diskselector_add
search_prefixes 'elm_diskselector_'
#
def item_append label, icon=nil, cb=nil, data=nil
ElmObjectItem.new Native::elm_diskselector_item_append @ptr, label, icon, cb, data
end
#
def selected_item_get
ElmObjectItem.new Native::elm_diskselector_selected_item_get @ptr
end
#
def first_item_get
ElmObjectItem.new Native::elm_diskselector_first_item_get @ptr
end
#
def last_item_get
ElmObjectItem.new Native::elm_diskselector_last_item_get @ptr
end
#
def item_prev_get it
ElmObjectItem.new Native::elm_diskselector_item_prev_get it
end
#
def item_next_get it
ElmObjectItem.new Native::elm_diskselector_item_next_get it
end
#
end
#
end
end
#
# EOF
|