ffi-efl 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog +10 -2
- data/README.rdoc +41 -30
- data/lib/efl.rb +88 -14
- data/lib/efl/ecore.rb +1 -0
- data/lib/efl/ecore_evas.rb +4 -2
- data/lib/efl/ecore_getopt.rb +12 -11
- data/lib/efl/ecore_input.rb +1 -0
- data/lib/efl/eet.rb +1 -0
- data/lib/efl/eina.rb +1 -0
- data/lib/efl/eina_hash.rb +1 -0
- data/lib/efl/eina_list.rb +1 -0
- data/lib/efl/eina_log.rb +4 -0
- data/lib/efl/elementary.rb +0 -662
- data/lib/efl/elementary_all.rb +82 -0
- data/lib/efl/elm/elm_actionslider.rb +22 -0
- data/lib/efl/elm/elm_anchorblock.rb +22 -0
- data/lib/efl/elm/elm_anchorview.rb +22 -0
- data/lib/efl/elm/elm_bg.rb +37 -0
- data/lib/efl/elm/elm_box.rb +42 -0
- data/lib/efl/elm/elm_bubble.rb +22 -0
- data/lib/efl/elm/elm_button.rb +22 -0
- data/lib/efl/elm/elm_calendar.rb +22 -0
- data/lib/efl/elm/elm_check.rb +22 -0
- data/lib/efl/elm/elm_clock.rb +22 -0
- data/lib/efl/elm/elm_cnp.rb +30 -0
- data/lib/efl/elm/elm_colorselector.rb +22 -0
- data/lib/efl/elm/elm_conform.rb +26 -0
- data/lib/efl/elm/elm_ctxpopup.rb +27 -0
- data/lib/efl/elm/elm_cursor.rb +20 -0
- data/lib/efl/elm/elm_debug.rb +25 -0
- data/lib/efl/elm/elm_diskselector.rb +51 -0
- data/lib/efl/elm/elm_entry.rb +22 -0
- data/lib/efl/elm/elm_factory.rb +22 -0
- data/lib/efl/elm/elm_fileselector.rb +22 -0
- data/lib/efl/elm/elm_fileselector_button.rb +22 -0
- data/lib/efl/elm/elm_fileselector_entry.rb +22 -0
- data/lib/efl/elm/elm_flip.rb +22 -0
- data/lib/efl/elm/elm_flipselector.rb +56 -0
- data/lib/efl/elm/elm_focus.rb +74 -0
- data/lib/efl/elm/elm_frame.rb +22 -0
- data/lib/efl/elm/elm_gengrid.rb +68 -0
- data/lib/efl/elm/elm_genlist.rb +79 -0
- data/lib/efl/elm/elm_gesture_layer.rb +22 -0
- data/lib/efl/elm/elm_glview.rb +22 -0
- data/lib/efl/elm/elm_grid.rb +22 -0
- data/lib/efl/elm/elm_hover.rb +22 -0
- data/lib/efl/elm/elm_hoversel.rb +27 -0
- data/lib/efl/elm/elm_icon.rb +26 -0
- data/lib/efl/elm/elm_image.rb +22 -0
- data/lib/efl/elm/elm_index.rb +31 -0
- data/lib/efl/elm/elm_label.rb +22 -0
- data/lib/efl/elm/elm_layout.rb +26 -0
- data/lib/efl/elm/elm_list.rb +55 -0
- data/lib/efl/elm/elm_map.rb +22 -0
- data/lib/efl/elm/elm_mapbuf.rb +22 -0
- data/lib/efl/elm/elm_menu.rb +55 -0
- data/lib/efl/elm/elm_mirroring.rb +36 -0
- data/lib/efl/elm/elm_multibuttonentry.rb +58 -0
- data/lib/efl/elm/elm_naviframe.rb +42 -0
- data/lib/efl/elm/elm_notify.rb +22 -0
- data/lib/efl/elm/elm_object.rb +68 -0
- data/lib/efl/elm/elm_object_item.rb +20 -0
- data/lib/efl/elm/elm_panel.rb +22 -0
- data/lib/efl/elm/elm_panes.rb +22 -0
- data/lib/efl/elm/elm_photo.rb +22 -0
- data/lib/efl/elm/elm_photocam.rb +22 -0
- data/lib/efl/elm/elm_plug.rb +22 -0
- data/lib/efl/elm/elm_progressbar.rb +22 -0
- data/lib/efl/elm/elm_radio.rb +22 -0
- data/lib/efl/elm/elm_route.rb +22 -0
- data/lib/efl/elm/elm_scale.rb +28 -0
- data/lib/efl/elm/elm_scroll.rb +50 -0
- data/lib/efl/elm/elm_scroller.rb +22 -0
- data/lib/efl/elm/elm_segment_control.rb +39 -0
- data/lib/efl/elm/elm_separator.rb +22 -0
- data/lib/efl/elm/elm_slider.rb +22 -0
- data/lib/efl/elm/elm_slideshow.rb +41 -0
- data/lib/efl/elm/elm_spinner.rb +22 -0
- data/lib/efl/elm/elm_store.rb +43 -0
- data/lib/efl/elm/elm_table.rb +22 -0
- data/lib/efl/elm/elm_theme.rb +42 -0
- data/lib/efl/elm/elm_thumb.rb +22 -0
- data/lib/efl/elm/elm_toolbar.rb +63 -0
- data/lib/efl/elm/elm_tooltip.rb +20 -0
- data/lib/efl/elm/elm_transit.rb +78 -0
- data/lib/efl/elm/elm_video.rb +30 -0
- data/lib/efl/elm/elm_web.rb +22 -0
- data/lib/efl/elm/elm_win.rb +33 -0
- data/lib/efl/evas.rb +8 -7
- data/lib/efl/native.rb +45 -11
- data/lib/efl/native/ecore.rb +188 -210
- data/lib/efl/native/ecore_evas.rb +260 -207
- data/lib/efl/native/ecore_getopt.rb +17 -24
- data/lib/efl/native/ecore_input.rb +7 -11
- data/lib/efl/native/edje.rb +250 -202
- data/lib/efl/native/eet.rb +154 -155
- data/lib/efl/native/eina.rb +7 -13
- data/lib/efl/native/eina_hash.rb +41 -47
- data/lib/efl/native/eina_list.rb +39 -48
- data/lib/efl/native/eina_log.rb +21 -23
- data/lib/efl/native/eina_types.rb +8 -14
- data/lib/efl/native/eina_xattr.rb +21 -18
- data/lib/efl/native/elementary.rb +9 -3381
- data/lib/efl/native/elm/elm_actionslider.rb +54 -0
- data/lib/efl/native/elm/elm_anchorblock.rb +55 -0
- data/lib/efl/native/elm/elm_anchorview.rb +59 -0
- data/lib/efl/native/elm/elm_app.rb +53 -0
- data/lib/efl/native/elm/elm_bg.rb +53 -0
- data/lib/efl/native/elm/elm_box.rb +81 -0
- data/lib/efl/native/elm/elm_bubble.rb +44 -0
- data/lib/efl/native/elm/elm_button.rb +47 -0
- data/lib/efl/native/elm/elm_cache.rb +59 -0
- data/lib/efl/native/elm/elm_calendar.rb +76 -0
- data/lib/efl/native/elm/elm_check.rb +41 -0
- data/lib/efl/native/elm/elm_clock.rb +64 -0
- data/lib/efl/native/elm/elm_cnp.rb +54 -0
- data/lib/efl/native/elm/elm_colorselector.rb +39 -0
- data/lib/efl/native/elm/elm_config.rb +103 -0
- data/lib/efl/native/elm/elm_conform.rb +37 -0
- data/lib/efl/native/elm/elm_ctxpopup.rb +59 -0
- data/lib/efl/native/elm/elm_cursor.rb +51 -0
- data/lib/efl/native/elm/elm_debug.rb +37 -0
- data/lib/efl/native/elm/elm_diskselector.rb +76 -0
- data/lib/efl/native/elm/elm_engine.rb +41 -0
- data/lib/efl/native/elm/elm_entry.rb +242 -0
- data/lib/efl/native/elm/elm_factory.rb +41 -0
- data/lib/efl/native/elm/elm_fileselector.rb +67 -0
- data/lib/efl/native/elm/elm_fileselector_button.rb +63 -0
- data/lib/efl/native/elm/elm_fileselector_entry.rb +67 -0
- data/lib/efl/native/elm/elm_finger.rb +39 -0
- data/lib/efl/native/elm/elm_flip.rb +62 -0
- data/lib/efl/native/elm/elm_flipselector.rb +63 -0
- data/lib/efl/native/elm/elm_focus.rb +65 -0
- data/lib/efl/native/elm/elm_fonts.rb +66 -0
- data/lib/efl/native/elm/elm_frame.rb +45 -0
- data/lib/efl/native/elm/elm_general.rb +105 -0
- data/lib/efl/native/elm/elm_gengrid.rb +184 -0
- data/lib/efl/native/elm/elm_genlist.rb +240 -0
- data/lib/efl/native/elm/elm_gesture_layer.rb +76 -0
- data/lib/efl/native/elm/elm_glview.rb +70 -0
- data/lib/efl/native/elm/elm_grid.rb +51 -0
- data/lib/efl/native/elm/elm_hover.rb +51 -0
- data/lib/efl/native/elm/elm_hoversel.rb +60 -0
- data/lib/efl/native/elm/elm_icon.rb +97 -0
- data/lib/efl/native/elm/elm_image.rb +80 -0
- data/lib/efl/native/elm/elm_index.rb +63 -0
- data/lib/efl/native/elm/elm_label.rb +60 -0
- data/lib/efl/native/elm/elm_layout.rb +77 -0
- data/lib/efl/native/elm/elm_list.rb +105 -0
- data/lib/efl/native/elm/elm_map.rb +225 -0
- data/lib/efl/native/elm/elm_mapbuf.rb +47 -0
- data/lib/efl/native/elm/elm_menu.rb +77 -0
- data/lib/efl/native/elm/elm_mirroring.rb +45 -0
- data/lib/efl/native/elm/elm_multibuttonentry.rb +81 -0
- data/lib/efl/native/elm/elm_naviframe.rb +79 -0
- data/lib/efl/native/elm/elm_need.rb +41 -0
- data/lib/efl/native/elm/elm_notify.rb +57 -0
- data/lib/efl/native/elm/elm_object.rb +74 -0
- data/lib/efl/native/elm/elm_object_item.rb +93 -0
- data/lib/efl/native/elm/elm_panel.rb +55 -0
- data/lib/efl/native/elm/elm_panes.rb +51 -0
- data/lib/efl/native/elm/elm_password.rb +41 -0
- data/lib/efl/native/elm/elm_photo.rb +49 -0
- data/lib/efl/native/elm/elm_photocam.rb +74 -0
- data/lib/efl/native/elm/elm_plug.rb +39 -0
- data/lib/efl/native/elm/elm_progressbar.rb +61 -0
- data/lib/efl/native/elm/elm_radio.rb +49 -0
- data/lib/efl/native/elm/elm_route.rb +42 -0
- data/lib/efl/native/elm/elm_scale.rb +41 -0
- data/lib/efl/native/elm/elm_scroll.rb +49 -0
- data/lib/efl/native/elm/elm_scroller.rb +80 -0
- data/lib/efl/native/elm/elm_segment_control.rb +57 -0
- data/lib/efl/native/elm/elm_separator.rb +39 -0
- data/lib/efl/native/elm/elm_slider.rb +71 -0
- data/lib/efl/native/elm/elm_slideshow.rb +97 -0
- data/lib/efl/native/elm/elm_spinner.rb +73 -0
- data/lib/efl/native/elm/elm_store.rb +110 -0
- data/lib/efl/native/elm/elm_table.rb +53 -0
- data/lib/efl/native/elm/elm_theme.rb +81 -0
- data/lib/efl/native/elm/elm_thumb.rb +60 -0
- data/lib/efl/native/elm/elm_toolbar.rb +145 -0
- data/lib/efl/native/elm/elm_tooltip.rb +59 -0
- data/lib/efl/native/elm/elm_transit.rb +135 -0
- data/lib/efl/native/elm/elm_video.rb +71 -0
- data/lib/efl/native/elm/elm_web.rb +165 -0
- data/lib/efl/native/elm/elm_win.rb +221 -0
- data/lib/efl/native/emap.rb +28 -34
- data/lib/efl/native/evas.rb +640 -618
- data/spec/ecore_evas_spec.rb +28 -22
- data/spec/ecore_spec.rb +1 -0
- data/spec/edje_spec.rb +8 -1
- data/spec/eina_hash_spec.rb +0 -1
- data/spec/eina_list_spec.rb +0 -1
- data/spec/eina_log_spec.rb +10 -8
- data/spec/elm_spec.rb +4 -114
- data/spec/evas_spec.rb +13 -244
- data/spec/helper.rb +16 -15
- data/tasks/constants.rb +9 -9
- data/test/test_elm_win-native.rb +6 -4
- data/test/test_elm_win.rb +20 -19
- data/test/test_evas.rb +12 -12
- metadata +209 -64
- data/lib/efl/ffi.rb +0 -172
- data/test/test_elementary.rb +0 -271
- data/test/tests/test_actionslider.rb +0 -132
- data/test/tests/test_anchorbock.rb +0 -73
- data/test/tests/test_bg.rb +0 -151
- data/test/tests/test_box.rb +0 -147
- data/test/tests/test_buttons.rb +0 -114
@@ -0,0 +1,73 @@
|
|
1
|
+
#! /usr/bin/env ruby
|
2
|
+
# -*- coding: UTF-8 -*-
|
3
|
+
#
|
4
|
+
require 'efl/native'
|
5
|
+
require 'efl/native/elementary'
|
6
|
+
#
|
7
|
+
module Efl
|
8
|
+
#
|
9
|
+
module ElmSpinner
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_spinner_' unless const_defined? :FCT_PREFIX
|
12
|
+
#
|
13
|
+
def self.method_missing meth, *args, &block
|
14
|
+
sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
|
15
|
+
self.send sym, *args, &block
|
16
|
+
end
|
17
|
+
#
|
18
|
+
end
|
19
|
+
#
|
20
|
+
module Native
|
21
|
+
#
|
22
|
+
ffi_lib 'elementary-ver-pre-svn-09.so.0'
|
23
|
+
#
|
24
|
+
# FUNCTIONS
|
25
|
+
fcts = [
|
26
|
+
# EAPI Evas_Object *elm_spinner_add(Evas_Object *parent);
|
27
|
+
[ :elm_spinner_add, [ :evas_object ], :evas_object ],
|
28
|
+
# EAPI void elm_spinner_label_format_set(Evas_Object *obj, const char *fmt);
|
29
|
+
[ :elm_spinner_label_format_set, [ :evas_object, :string ], :void ],
|
30
|
+
# EAPI const char *elm_spinner_label_format_get(const Evas_Object *obj);
|
31
|
+
[ :elm_spinner_label_format_get, [ :evas_object ], :string ],
|
32
|
+
# EAPI void elm_spinner_min_max_set(Evas_Object *obj, double min, double max);
|
33
|
+
[ :elm_spinner_min_max_set, [ :evas_object, :double, :double ], :void ],
|
34
|
+
# EAPI void elm_spinner_min_max_get(const Evas_Object *obj, double *min, double *max);
|
35
|
+
[ :elm_spinner_min_max_get, [ :evas_object, :pointer, :pointer ], :void ],
|
36
|
+
# EAPI void elm_spinner_step_set(Evas_Object *obj, double step);
|
37
|
+
[ :elm_spinner_step_set, [ :evas_object, :double ], :void ],
|
38
|
+
# EAPI double elm_spinner_step_get(const Evas_Object *obj);
|
39
|
+
[ :elm_spinner_step_get, [ :evas_object ], :double ],
|
40
|
+
# EAPI void elm_spinner_value_set(Evas_Object *obj, double val);
|
41
|
+
[ :elm_spinner_value_set, [ :evas_object, :double ], :void ],
|
42
|
+
# EAPI double elm_spinner_value_get(const Evas_Object *obj);
|
43
|
+
[ :elm_spinner_value_get, [ :evas_object ], :double ],
|
44
|
+
# EAPI void elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap);
|
45
|
+
[ :elm_spinner_wrap_set, [ :evas_object, :bool ], :void ],
|
46
|
+
# EAPI Eina_Bool elm_spinner_wrap_get(const Evas_Object *obj);
|
47
|
+
[ :elm_spinner_wrap_get, [ :evas_object ], :bool ],
|
48
|
+
# EAPI void elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable);
|
49
|
+
[ :elm_spinner_editable_set, [ :evas_object, :bool ], :void ],
|
50
|
+
# EAPI Eina_Bool elm_spinner_editable_get(const Evas_Object *obj);
|
51
|
+
[ :elm_spinner_editable_get, [ :evas_object ], :bool ],
|
52
|
+
# EAPI void elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label);
|
53
|
+
[ :elm_spinner_special_value_add, [ :evas_object, :double, :string ], :void ],
|
54
|
+
# EAPI void elm_spinner_interval_set(Evas_Object *obj, double interval);
|
55
|
+
[ :elm_spinner_interval_set, [ :evas_object, :double ], :void ],
|
56
|
+
# EAPI double elm_spinner_interval_get(const Evas_Object *obj);
|
57
|
+
[ :elm_spinner_interval_get, [ :evas_object ], :double ],
|
58
|
+
# EAPI void elm_spinner_base_set(Evas_Object *obj, double base);
|
59
|
+
[ :elm_spinner_base_set, [ :evas_object, :double ], :void ],
|
60
|
+
# EAPI double elm_spinner_base_get(const Evas_Object *obj);
|
61
|
+
[ :elm_spinner_base_get, [ :evas_object ], :double ],
|
62
|
+
# EAPI void elm_spinner_round_set(Evas_Object *obj, int round);
|
63
|
+
[ :elm_spinner_round_set, [ :evas_object, :int ], :void ],
|
64
|
+
# EAPI int elm_spinner_round_get(const Evas_Object *obj);
|
65
|
+
[ :elm_spinner_round_get, [ :evas_object ], :int ],
|
66
|
+
]
|
67
|
+
#
|
68
|
+
attach_fcts fcts
|
69
|
+
#
|
70
|
+
end
|
71
|
+
end
|
72
|
+
#
|
73
|
+
# EOF
|
@@ -0,0 +1,110 @@
|
|
1
|
+
#! /usr/bin/env ruby
|
2
|
+
# -*- coding: UTF-8 -*-
|
3
|
+
#
|
4
|
+
require 'efl/native'
|
5
|
+
require 'efl/native/elementary'
|
6
|
+
#
|
7
|
+
module Efl
|
8
|
+
#
|
9
|
+
module ElmStore
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_store_' unless const_defined? :FCT_PREFIX
|
12
|
+
#
|
13
|
+
def self.method_missing meth, *args, &block
|
14
|
+
sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
|
15
|
+
self.send sym, *args, &block
|
16
|
+
end
|
17
|
+
#
|
18
|
+
end
|
19
|
+
#
|
20
|
+
module Native
|
21
|
+
#
|
22
|
+
ffi_lib 'elementary-ver-pre-svn-09.so.0'
|
23
|
+
#
|
24
|
+
# ENUMS
|
25
|
+
# typedef enum {...} Elm_Store_Item_Mapping_Type;
|
26
|
+
enum :elm_store_item_mapping_type, [ :elm_store_item_mapping_none, 0, :elm_store_item_mapping_label, 1, :elm_store_item_mapping_state, 2,
|
27
|
+
:elm_store_item_mapping_icon, 3, :elm_store_item_mapping_photo, 4, :elm_store_item_mapping_custom, 5, :elm_store_item_mapping_last, 6 ]
|
28
|
+
#
|
29
|
+
# TYPEDEFS
|
30
|
+
# typedef struct _Elm_Store Elm_Store;
|
31
|
+
typedef :pointer, :elm_store
|
32
|
+
# typedef struct _Elm_Store_Filesystem Elm_Store_Filesystem;
|
33
|
+
typedef :pointer, :elm_store_filesystem
|
34
|
+
# typedef struct _Elm_Store_Item Elm_Store_Item;
|
35
|
+
typedef :pointer, :elm_store_item
|
36
|
+
# typedef struct _Elm_Store_Item_Filesystem Elm_Store_Item_Filesystem;
|
37
|
+
typedef :pointer, :elm_store_item_filesystem
|
38
|
+
# typedef struct _Elm_Store_Item_Info Elm_Store_Item_Info;
|
39
|
+
typedef :pointer, :elm_store_item_info
|
40
|
+
# typedef struct _Elm_Store_Item_Info_Filesystem Elm_Store_Item_Info_Filesystem;
|
41
|
+
typedef :pointer, :elm_store_item_info_filesystem
|
42
|
+
# typedef struct _Elm_Store_Item_Mapping Elm_Store_Item_Mapping;
|
43
|
+
typedef :pointer, :elm_store_item_mapping
|
44
|
+
# typedef struct _Elm_Store_Item_Mapping_Empty Elm_Store_Item_Mapping_Empty;
|
45
|
+
typedef :pointer, :elm_store_item_mapping_empty
|
46
|
+
# typedef struct _Elm_Store_Item_Mapping_Icon Elm_Store_Item_Mapping_Icon;
|
47
|
+
typedef :pointer, :elm_store_item_mapping_icon
|
48
|
+
# typedef struct _Elm_Store_Item_Mapping_Photo Elm_Store_Item_Mapping_Photo;
|
49
|
+
typedef :pointer, :elm_store_item_mapping_photo
|
50
|
+
# typedef struct _Elm_Store_Item_Mapping_Custom Elm_Store_Item_Mapping_Custom;
|
51
|
+
typedef :pointer, :elm_store_item_mapping_custom
|
52
|
+
#
|
53
|
+
# CALLBACKS
|
54
|
+
# typedef Eina_Bool (*Elm_Store_Item_List_Cb) (void *data, Elm_Store_Item_Info *info);
|
55
|
+
callback :elm_store_item_list_cb, [ :pointer, :elm_store_item_info ], :bool
|
56
|
+
# typedef void (*Elm_Store_Item_Fetch_Cb) (void *data, Elm_Store_Item *sti);
|
57
|
+
callback :elm_store_item_fetch_cb, [ :pointer, :elm_store_item ], :void
|
58
|
+
# typedef void (*Elm_Store_Item_Unfetch_Cb) (void *data, Elm_Store_Item *sti);
|
59
|
+
callback :elm_store_item_unfetch_cb, [ :pointer, :elm_store_item ], :void
|
60
|
+
# typedef void *(*Elm_Store_Item_Mapping_Cb) (void *data, Elm_Store_Item *sti, const char *part);
|
61
|
+
callback :elm_store_item_mapping_cb, [ :pointer, :elm_store_item, :string ], :pointer
|
62
|
+
#
|
63
|
+
# FUNCTIONS
|
64
|
+
fcts = [
|
65
|
+
# EAPI void elm_store_free(Elm_Store *st);
|
66
|
+
[ :elm_store_free, [ :elm_store ], :void ],
|
67
|
+
# EAPI Elm_Store *elm_store_filesystem_new(void);
|
68
|
+
[ :elm_store_filesystem_new, [ ], :elm_store ],
|
69
|
+
# EAPI void elm_store_filesystem_directory_set(Elm_Store *st, const char *dir);
|
70
|
+
[ :elm_store_filesystem_directory_set, [ :elm_store, :string ], :void ],
|
71
|
+
# EAPI const char *elm_store_filesystem_directory_get(const Elm_Store *st);
|
72
|
+
[ :elm_store_filesystem_directory_get, [ :elm_store ], :string ],
|
73
|
+
# EAPI const char *elm_store_item_filesystem_path_get(const Elm_Store_Item *sti);
|
74
|
+
[ :elm_store_item_filesystem_path_get, [ :elm_store_item ], :string ],
|
75
|
+
# EAPI void elm_store_target_genlist_set(Elm_Store *st, Evas_Object *obj);
|
76
|
+
[ :elm_store_target_genlist_set, [ :elm_store, :evas_object ], :void ],
|
77
|
+
# EAPI void elm_store_cache_set(Elm_Store *st, int max);
|
78
|
+
[ :elm_store_cache_set, [ :elm_store, :int ], :void ],
|
79
|
+
# EAPI int elm_store_cache_get(const Elm_Store *st);
|
80
|
+
[ :elm_store_cache_get, [ :elm_store ], :int ],
|
81
|
+
# EAPI void elm_store_list_func_set(Elm_Store *st, Elm_Store_Item_List_Cb func, const void *data);
|
82
|
+
[ :elm_store_list_func_set, [ :elm_store, :elm_store_item_list_cb, :pointer ], :void ],
|
83
|
+
# EAPI void elm_store_fetch_func_set(Elm_Store *st, Elm_Store_Item_Fetch_Cb func, const void *data);
|
84
|
+
[ :elm_store_fetch_func_set, [ :elm_store, :elm_store_item_fetch_cb, :pointer ], :void ],
|
85
|
+
# EAPI void elm_store_fetch_thread_set(Elm_Store *st, Eina_Bool use_thread);
|
86
|
+
[ :elm_store_fetch_thread_set, [ :elm_store, :bool ], :void ],
|
87
|
+
# EAPI Eina_Bool elm_store_fetch_thread_get(const Elm_Store *st);
|
88
|
+
[ :elm_store_fetch_thread_get, [ :elm_store ], :bool ],
|
89
|
+
# EAPI void elm_store_unfetch_func_set(Elm_Store *st, Elm_Store_Item_Unfetch_Cb func, const void *data);
|
90
|
+
[ :elm_store_unfetch_func_set, [ :elm_store, :elm_store_item_unfetch_cb, :pointer ], :void ],
|
91
|
+
# EAPI void elm_store_sorted_set(Elm_Store *st, Eina_Bool sorted);
|
92
|
+
[ :elm_store_sorted_set, [ :elm_store, :bool ], :void ],
|
93
|
+
# EAPI Eina_Bool elm_store_sorted_get(const Elm_Store *st);
|
94
|
+
[ :elm_store_sorted_get, [ :elm_store ], :bool ],
|
95
|
+
# EAPI void elm_store_item_data_set(Elm_Store_Item *sti, void *data);
|
96
|
+
[ :elm_store_item_data_set, [ :elm_store_item, :pointer ], :void ],
|
97
|
+
# EAPI void *elm_store_item_data_get(Elm_Store_Item *sti);
|
98
|
+
[ :elm_store_item_data_get, [ :elm_store_item ], :pointer ],
|
99
|
+
# EAPI const Elm_Store *elm_store_item_store_get(const Elm_Store_Item *sti);
|
100
|
+
[ :elm_store_item_store_get, [ :elm_store_item ], :elm_store ],
|
101
|
+
# EAPI const Elm_Object_Item *elm_store_item_genlist_item_get(const Elm_Store_Item *sti);
|
102
|
+
[ :elm_store_item_genlist_item_get, [ :elm_store_item ], :elm_object_item ],
|
103
|
+
]
|
104
|
+
#
|
105
|
+
attach_fcts fcts
|
106
|
+
#
|
107
|
+
end
|
108
|
+
end
|
109
|
+
#
|
110
|
+
# EOF
|
@@ -0,0 +1,53 @@
|
|
1
|
+
#! /usr/bin/env ruby
|
2
|
+
# -*- coding: UTF-8 -*-
|
3
|
+
#
|
4
|
+
require 'efl/native'
|
5
|
+
require 'efl/native/elementary'
|
6
|
+
#
|
7
|
+
module Efl
|
8
|
+
#
|
9
|
+
module ElmTable
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_table_' unless const_defined? :FCT_PREFIX
|
12
|
+
#
|
13
|
+
def self.method_missing meth, *args, &block
|
14
|
+
sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
|
15
|
+
self.send sym, *args, &block
|
16
|
+
end
|
17
|
+
#
|
18
|
+
end
|
19
|
+
#
|
20
|
+
module Native
|
21
|
+
#
|
22
|
+
ffi_lib 'elementary-ver-pre-svn-09.so.0'
|
23
|
+
#
|
24
|
+
# FUNCTIONS
|
25
|
+
fcts = [
|
26
|
+
# EAPI Evas_Object *elm_table_add(Evas_Object *parent);
|
27
|
+
[ :elm_table_add, [ :evas_object ], :evas_object ],
|
28
|
+
# EAPI void elm_table_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous);
|
29
|
+
[ :elm_table_homogeneous_set, [ :evas_object, :bool ], :void ],
|
30
|
+
# EAPI Eina_Bool elm_table_homogeneous_get(const Evas_Object *obj);
|
31
|
+
[ :elm_table_homogeneous_get, [ :evas_object ], :bool ],
|
32
|
+
# EAPI void elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical);
|
33
|
+
[ :elm_table_padding_set, [ :evas_object, :int, :int ], :void ],
|
34
|
+
# EAPI void elm_table_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical);
|
35
|
+
[ :elm_table_padding_get, [ :evas_object, :pointer, :pointer ], :void ],
|
36
|
+
# EAPI void elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h);
|
37
|
+
[ :elm_table_pack, [ :evas_object, :evas_object, :int, :int, :int, :int ], :void ],
|
38
|
+
# EAPI void elm_table_unpack(Evas_Object *obj, Evas_Object *subobj);
|
39
|
+
[ :elm_table_unpack, [ :evas_object, :evas_object ], :void ],
|
40
|
+
# EAPI void elm_table_clear(Evas_Object *obj, Eina_Bool clear);
|
41
|
+
[ :elm_table_clear, [ :evas_object, :bool ], :void ],
|
42
|
+
# EAPI void elm_table_pack_set(Evas_Object *subobj, int x, int y, int w, int h);
|
43
|
+
[ :elm_table_pack_set, [ :evas_object, :int, :int, :int, :int ], :void ],
|
44
|
+
# EAPI void elm_table_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h);
|
45
|
+
[ :elm_table_pack_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ],
|
46
|
+
]
|
47
|
+
#
|
48
|
+
attach_fcts fcts
|
49
|
+
#
|
50
|
+
end
|
51
|
+
end
|
52
|
+
#
|
53
|
+
# EOF
|
@@ -0,0 +1,81 @@
|
|
1
|
+
#! /usr/bin/env ruby
|
2
|
+
# -*- coding: UTF-8 -*-
|
3
|
+
#
|
4
|
+
require 'efl/native'
|
5
|
+
require 'efl/native/elementary'
|
6
|
+
#
|
7
|
+
module Efl
|
8
|
+
#
|
9
|
+
module ElmTheme
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_theme_' unless const_defined? :FCT_PREFIX
|
12
|
+
#
|
13
|
+
def self.method_missing meth, *args, &block
|
14
|
+
sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
|
15
|
+
self.send sym, *args, &block
|
16
|
+
end
|
17
|
+
#
|
18
|
+
end
|
19
|
+
#
|
20
|
+
module Native
|
21
|
+
#
|
22
|
+
ffi_lib 'elementary-ver-pre-svn-09.so.0'
|
23
|
+
#
|
24
|
+
# TYPEDEFS
|
25
|
+
# typedef struct _Elm_Theme Elm_Theme;
|
26
|
+
typedef :pointer, :elm_theme
|
27
|
+
#
|
28
|
+
# FUNCTIONS
|
29
|
+
fcts = [
|
30
|
+
# EAPI Elm_Theme *elm_theme_new(void);
|
31
|
+
[ :elm_theme_new, [ ], :elm_theme ],
|
32
|
+
# EAPI void elm_theme_free(Elm_Theme *th);
|
33
|
+
[ :elm_theme_free, [ :elm_theme ], :void ],
|
34
|
+
# EAPI void elm_theme_copy(Elm_Theme *th, Elm_Theme *thdst);
|
35
|
+
[ :elm_theme_copy, [ :elm_theme, :elm_theme ], :void ],
|
36
|
+
# EAPI void elm_theme_ref_set(Elm_Theme *th, Elm_Theme *thref);
|
37
|
+
[ :elm_theme_ref_set, [ :elm_theme, :elm_theme ], :void ],
|
38
|
+
# EAPI Elm_Theme *elm_theme_ref_get(Elm_Theme *th);
|
39
|
+
[ :elm_theme_ref_get, [ :elm_theme ], :elm_theme ],
|
40
|
+
# EAPI Elm_Theme *elm_theme_default_get(void);
|
41
|
+
[ :elm_theme_default_get, [ ], :elm_theme ],
|
42
|
+
# EAPI void elm_theme_overlay_add(Elm_Theme *th, const char *item);
|
43
|
+
[ :elm_theme_overlay_add, [ :elm_theme, :string ], :void ],
|
44
|
+
# EAPI void elm_theme_overlay_del(Elm_Theme *th, const char *item);
|
45
|
+
[ :elm_theme_overlay_del, [ :elm_theme, :string ], :void ],
|
46
|
+
# EAPI void elm_theme_extension_add(Elm_Theme *th, const char *item);
|
47
|
+
[ :elm_theme_extension_add, [ :elm_theme, :string ], :void ],
|
48
|
+
# EAPI void elm_theme_extension_del(Elm_Theme *th, const char *item);
|
49
|
+
[ :elm_theme_extension_del, [ :elm_theme, :string ], :void ],
|
50
|
+
# EAPI void elm_theme_set(Elm_Theme *th, const char *theme);
|
51
|
+
[ :elm_theme_set, [ :elm_theme, :string ], :void ],
|
52
|
+
# EAPI const char *elm_theme_get(Elm_Theme *th);
|
53
|
+
[ :elm_theme_get, [ :elm_theme ], :string ],
|
54
|
+
# EAPI const Eina_List *elm_theme_list_get(const Elm_Theme *th);
|
55
|
+
[ :elm_theme_list_get, [ :elm_theme ], :eina_list ],
|
56
|
+
# EAPI char *elm_theme_list_item_path_get(const char *f, Eina_Bool *in_search_path);
|
57
|
+
[ :elm_theme_list_item_path_get, [ :string, :pointer ], :string ],
|
58
|
+
# EAPI void elm_theme_flush(Elm_Theme *th);
|
59
|
+
[ :elm_theme_flush, [ :elm_theme ], :void ],
|
60
|
+
# EAPI void elm_theme_full_flush(void);
|
61
|
+
[ :elm_theme_full_flush, [ ], :void ],
|
62
|
+
# EAPI void elm_theme_all_set(const char *theme);
|
63
|
+
[ :elm_theme_all_set, [ :string ], :void ],
|
64
|
+
# EAPI Eina_List *elm_theme_name_available_list_new(void);
|
65
|
+
[ :elm_theme_name_available_list_new, [ ], :eina_list ],
|
66
|
+
# EAPI void elm_theme_name_available_list_free(Eina_List *list);
|
67
|
+
[ :elm_theme_name_available_list_free, [ :eina_list ], :void ],
|
68
|
+
# EAPI void elm_object_theme_set(Evas_Object *obj, Elm_Theme *th);
|
69
|
+
[ :elm_object_theme_set, [ :evas_object, :elm_theme ], :void ],
|
70
|
+
# EAPI Elm_Theme *elm_object_theme_get(const Evas_Object *obj);
|
71
|
+
[ :elm_object_theme_get, [ :evas_object ], :elm_theme ],
|
72
|
+
# EAPI const char *elm_theme_data_get(Elm_Theme *th, const char *key);
|
73
|
+
[ :elm_theme_data_get, [ :elm_theme, :string ], :string ],
|
74
|
+
]
|
75
|
+
#
|
76
|
+
attach_fcts fcts
|
77
|
+
#
|
78
|
+
end
|
79
|
+
end
|
80
|
+
#
|
81
|
+
# EOF
|
@@ -0,0 +1,60 @@
|
|
1
|
+
#! /usr/bin/env ruby
|
2
|
+
# -*- coding: UTF-8 -*-
|
3
|
+
#
|
4
|
+
require 'efl/native'
|
5
|
+
require 'efl/native/elementary'
|
6
|
+
#
|
7
|
+
module Efl
|
8
|
+
#
|
9
|
+
module ElmThumb
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_thumb_' unless const_defined? :FCT_PREFIX
|
12
|
+
#
|
13
|
+
def self.method_missing meth, *args, &block
|
14
|
+
sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
|
15
|
+
self.send sym, *args, &block
|
16
|
+
end
|
17
|
+
#
|
18
|
+
end
|
19
|
+
#
|
20
|
+
module Native
|
21
|
+
#
|
22
|
+
ffi_lib 'elementary-ver-pre-svn-09.so.0'
|
23
|
+
#
|
24
|
+
# ENUMS
|
25
|
+
# typedef enum {...} Elm_Thumb_Animation_Setting;
|
26
|
+
enum :elm_thumb_animation_setting, [ :elm_thumb_animation_start, 0, :elm_thumb_animation_loop, 1, :elm_thumb_animation_stop, 2,
|
27
|
+
:elm_thumb_animation_last, 3 ]
|
28
|
+
#
|
29
|
+
# FUNCTIONS
|
30
|
+
fcts = [
|
31
|
+
# EAPI Evas_Object *elm_thumb_add(Evas_Object *parent);
|
32
|
+
[ :elm_thumb_add, [ :evas_object ], :evas_object ],
|
33
|
+
# EAPI void elm_thumb_reload(Evas_Object *obj);
|
34
|
+
[ :elm_thumb_reload, [ :evas_object ], :void ],
|
35
|
+
# EAPI void elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key);
|
36
|
+
[ :elm_thumb_file_set, [ :evas_object, :string, :string ], :void ],
|
37
|
+
# EAPI void elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key);
|
38
|
+
[ :elm_thumb_file_get, [ :evas_object, :pointer, :pointer ], :void ],
|
39
|
+
# EAPI void elm_thumb_path_get(const Evas_Object *obj, const char **file, const char **key);
|
40
|
+
[ :elm_thumb_path_get, [ :evas_object, :pointer, :pointer ], :void ],
|
41
|
+
# EAPI void elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s);
|
42
|
+
[ :elm_thumb_animate_set, [ :evas_object, :elm_thumb_animation_setting ], :void ],
|
43
|
+
# EAPI Elm_Thumb_Animation_Setting elm_thumb_animate_get(const Evas_Object *obj);
|
44
|
+
[ :elm_thumb_animate_get, [ :evas_object ], :elm_thumb_animation_setting ],
|
45
|
+
# EAPI void *elm_thumb_ethumb_client_get(void);
|
46
|
+
[ :elm_thumb_ethumb_client_get, [ ], :pointer ],
|
47
|
+
# EAPI Eina_Bool elm_thumb_ethumb_client_connected_get(void);
|
48
|
+
[ :elm_thumb_ethumb_client_connected_get, [ ], :bool ],
|
49
|
+
# EAPI Eina_Bool elm_thumb_editable_set(Evas_Object *obj, Eina_Bool edit);
|
50
|
+
[ :elm_thumb_editable_set, [ :evas_object, :bool ], :bool ],
|
51
|
+
# EAPI Eina_Bool elm_thumb_editable_get(const Evas_Object *obj);
|
52
|
+
[ :elm_thumb_editable_get, [ :evas_object ], :bool ],
|
53
|
+
]
|
54
|
+
#
|
55
|
+
attach_fcts fcts
|
56
|
+
#
|
57
|
+
end
|
58
|
+
end
|
59
|
+
#
|
60
|
+
# EOF
|
@@ -0,0 +1,145 @@
|
|
1
|
+
#! /usr/bin/env ruby
|
2
|
+
# -*- coding: UTF-8 -*-
|
3
|
+
#
|
4
|
+
require 'efl/native'
|
5
|
+
require 'efl/native/elementary'
|
6
|
+
require 'efl/native/elm/elm_icon'
|
7
|
+
#
|
8
|
+
module Efl
|
9
|
+
#
|
10
|
+
module ElmToolbar
|
11
|
+
#
|
12
|
+
FCT_PREFIX = 'elm_toolbar_' unless const_defined? :FCT_PREFIX
|
13
|
+
#
|
14
|
+
def self.method_missing meth, *args, &block
|
15
|
+
sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
|
16
|
+
self.send sym, *args, &block
|
17
|
+
end
|
18
|
+
#
|
19
|
+
end
|
20
|
+
#
|
21
|
+
module Native
|
22
|
+
#
|
23
|
+
ffi_lib 'elementary-ver-pre-svn-09.so.0'
|
24
|
+
#
|
25
|
+
# ENUMS
|
26
|
+
# typedef enum {...} Elm_Toolbar_Shrink_Mode;
|
27
|
+
enum :elm_toolbar_shrink_mode, [ :elm_toolbar_shrink_none, :elm_toolbar_shrink_hide, :elm_toolbar_shrink_scroll, :elm_toolbar_shrink_menu,
|
28
|
+
:elm_toolbar_shrink_last ]
|
29
|
+
#
|
30
|
+
# TYPEDEFS
|
31
|
+
# typedef struct _Elm_Toolbar_Item_State Elm_Toolbar_Item_State;
|
32
|
+
typedef :pointer, :elm_toolbar_item_state
|
33
|
+
#
|
34
|
+
# FUNCTIONS
|
35
|
+
fcts = [
|
36
|
+
# EAPI Evas_Object *elm_toolbar_add(Evas_Object *parent);
|
37
|
+
[ :elm_toolbar_add, [ :evas_object ], :evas_object ],
|
38
|
+
# EAPI void elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size);
|
39
|
+
[ :elm_toolbar_icon_size_set, [ :evas_object, :int ], :void ],
|
40
|
+
# EAPI int elm_toolbar_icon_size_get(const Evas_Object *obj);
|
41
|
+
[ :elm_toolbar_icon_size_get, [ :evas_object ], :int ],
|
42
|
+
# EAPI void elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order);
|
43
|
+
[ :elm_toolbar_icon_order_lookup_set, [ :evas_object, :elm_icon_lookup_order ], :void ],
|
44
|
+
# EAPI Elm_Icon_Lookup_Order elm_toolbar_icon_order_lookup_get(const Evas_Object *obj);
|
45
|
+
[ :elm_toolbar_icon_order_lookup_get, [ :evas_object ], :elm_icon_lookup_order ],
|
46
|
+
# EAPI void elm_toolbar_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select);
|
47
|
+
[ :elm_toolbar_always_select_mode_set, [ :evas_object, :bool ], :void ],
|
48
|
+
# EAPI Eina_Bool elm_toolbar_always_select_mode_get(const Evas_Object *obj);
|
49
|
+
[ :elm_toolbar_always_select_mode_get, [ :evas_object ], :bool ],
|
50
|
+
# EAPI void elm_toolbar_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select);
|
51
|
+
[ :elm_toolbar_no_select_mode_set, [ :evas_object, :bool ], :void ],
|
52
|
+
# EAPI Eina_Bool elm_toolbar_no_select_mode_get(const Evas_Object *obj);
|
53
|
+
[ :elm_toolbar_no_select_mode_get, [ :evas_object ], :bool ],
|
54
|
+
# EAPI Elm_Object_Item *elm_toolbar_item_append(Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data);
|
55
|
+
[ :elm_toolbar_item_append, [ :evas_object, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ],
|
56
|
+
# EAPI Elm_Object_Item *elm_toolbar_item_prepend(Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data);
|
57
|
+
[ :elm_toolbar_item_prepend, [ :evas_object, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ],
|
58
|
+
# EAPI Elm_Object_Item *elm_toolbar_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *icon, const char *label, Evas_Smart_Cb func, const void *data);
|
59
|
+
[ :elm_toolbar_item_insert_before, [ :evas_object, :elm_object_item, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ],
|
60
|
+
# EAPI Elm_Object_Item *elm_toolbar_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *icon, const char *label, Evas_Smart_Cb func, const void *data);
|
61
|
+
[ :elm_toolbar_item_insert_after, [ :evas_object, :elm_object_item, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ],
|
62
|
+
# EAPI Elm_Object_Item *elm_toolbar_first_item_get(const Evas_Object *obj);
|
63
|
+
[ :elm_toolbar_first_item_get, [ :evas_object ], :elm_object_item ],
|
64
|
+
# EAPI Elm_Object_Item *elm_toolbar_last_item_get(const Evas_Object *obj);
|
65
|
+
[ :elm_toolbar_last_item_get, [ :evas_object ], :elm_object_item ],
|
66
|
+
# EAPI Elm_Object_Item *elm_toolbar_item_next_get(const Elm_Object_Item *it);
|
67
|
+
[ :elm_toolbar_item_next_get, [ :elm_object_item ], :elm_object_item ],
|
68
|
+
# EAPI Elm_Object_Item *elm_toolbar_item_prev_get(const Elm_Object_Item *it);
|
69
|
+
[ :elm_toolbar_item_prev_get, [ :elm_object_item ], :elm_object_item ],
|
70
|
+
# EAPI void elm_toolbar_item_priority_set(Elm_Object_Item *it, int priority);
|
71
|
+
[ :elm_toolbar_item_priority_set, [ :elm_object_item, :int ], :void ],
|
72
|
+
# EAPI int elm_toolbar_item_priority_get(const Elm_Object_Item *it);
|
73
|
+
[ :elm_toolbar_item_priority_get, [ :elm_object_item ], :int ],
|
74
|
+
# EAPI Elm_Object_Item *elm_toolbar_item_find_by_label(const Evas_Object *obj, const char *label);
|
75
|
+
[ :elm_toolbar_item_find_by_label, [ :evas_object, :string ], :elm_object_item ],
|
76
|
+
# EAPI Eina_Bool elm_toolbar_item_selected_get(const Elm_Object_Item *it);
|
77
|
+
[ :elm_toolbar_item_selected_get, [ :elm_object_item ], :bool ],
|
78
|
+
# EAPI void elm_toolbar_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
|
79
|
+
[ :elm_toolbar_item_selected_set, [ :elm_object_item, :bool ], :void ],
|
80
|
+
# EAPI Elm_Object_Item *elm_toolbar_selected_item_get(const Evas_Object *obj);
|
81
|
+
[ :elm_toolbar_selected_item_get, [ :evas_object ], :elm_object_item ],
|
82
|
+
# EAPI void elm_toolbar_item_icon_set(Elm_Object_Item *it, const char *icon);
|
83
|
+
[ :elm_toolbar_item_icon_set, [ :elm_object_item, :string ], :void ],
|
84
|
+
# EAPI const char *elm_toolbar_item_icon_get(const Elm_Object_Item *it);
|
85
|
+
[ :elm_toolbar_item_icon_get, [ :elm_object_item ], :string ],
|
86
|
+
# EAPI Evas_Object *elm_toolbar_item_object_get(const Elm_Object_Item *it);
|
87
|
+
[ :elm_toolbar_item_object_get, [ :elm_object_item ], :evas_object ],
|
88
|
+
# EAPI Evas_Object *elm_toolbar_item_icon_object_get(Elm_Object_Item *it);
|
89
|
+
[ :elm_toolbar_item_icon_object_get, [ :elm_object_item ], :evas_object ],
|
90
|
+
# EAPI Eina_Bool elm_toolbar_item_icon_memfile_set(Elm_Object_Item *it, const void *img, size_t size, const char *format, const char *key);
|
91
|
+
[ :elm_toolbar_item_icon_memfile_set, [ :elm_object_item, :pointer, :ulong, :string, :string ], :bool ],
|
92
|
+
# EAPI Eina_Bool elm_toolbar_item_icon_file_set(Elm_Object_Item *it, const char *file, const char *key);
|
93
|
+
[ :elm_toolbar_item_icon_file_set, [ :elm_object_item, :string, :string ], :bool ],
|
94
|
+
# EAPI void elm_toolbar_item_separator_set(Elm_Object_Item *it, Eina_Bool separator);
|
95
|
+
[ :elm_toolbar_item_separator_set, [ :elm_object_item, :bool ], :void ],
|
96
|
+
# EAPI Eina_Bool elm_toolbar_item_separator_get(const Elm_Object_Item *it);
|
97
|
+
[ :elm_toolbar_item_separator_get, [ :elm_object_item ], :bool ],
|
98
|
+
# EAPI void elm_toolbar_shrink_mode_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode);
|
99
|
+
[ :elm_toolbar_shrink_mode_set, [ :evas_object, :elm_toolbar_shrink_mode ], :void ],
|
100
|
+
# EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_shrink_mode_get(const Evas_Object *obj);
|
101
|
+
[ :elm_toolbar_shrink_mode_get, [ :evas_object ], :elm_toolbar_shrink_mode ],
|
102
|
+
# EAPI void elm_toolbar_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous);
|
103
|
+
[ :elm_toolbar_homogeneous_set, [ :evas_object, :bool ], :void ],
|
104
|
+
# EAPI Eina_Bool elm_toolbar_homogeneous_get(const Evas_Object *obj);
|
105
|
+
[ :elm_toolbar_homogeneous_get, [ :evas_object ], :bool ],
|
106
|
+
# EAPI void elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent);
|
107
|
+
[ :elm_toolbar_menu_parent_set, [ :evas_object, :evas_object ], :void ],
|
108
|
+
# EAPI Evas_Object *elm_toolbar_menu_parent_get(const Evas_Object *obj);
|
109
|
+
[ :elm_toolbar_menu_parent_get, [ :evas_object ], :evas_object ],
|
110
|
+
# EAPI void elm_toolbar_align_set(Evas_Object *obj, double align);
|
111
|
+
[ :elm_toolbar_align_set, [ :evas_object, :double ], :void ],
|
112
|
+
# EAPI double elm_toolbar_align_get(const Evas_Object *obj);
|
113
|
+
[ :elm_toolbar_align_get, [ :evas_object ], :double ],
|
114
|
+
# EAPI void elm_toolbar_item_menu_set(Elm_Object_Item *it, Eina_Bool menu);
|
115
|
+
[ :elm_toolbar_item_menu_set, [ :elm_object_item, :bool ], :void ],
|
116
|
+
# EAPI Evas_Object *elm_toolbar_item_menu_get(const Elm_Object_Item *it);
|
117
|
+
[ :elm_toolbar_item_menu_get, [ :elm_object_item ], :evas_object ],
|
118
|
+
# EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_add(Elm_Object_Item *it, const char *icon, const char *label, Evas_Smart_Cb func, const void *data);
|
119
|
+
[ :elm_toolbar_item_state_add, [ :elm_object_item, :string, :string, :evas_smart_cb, :pointer ], :elm_toolbar_item_state ],
|
120
|
+
# EAPI Eina_Bool elm_toolbar_item_state_del(Elm_Object_Item *it, Elm_Toolbar_Item_State *state);
|
121
|
+
[ :elm_toolbar_item_state_del, [ :elm_object_item, :elm_toolbar_item_state ], :bool ],
|
122
|
+
# EAPI Eina_Bool elm_toolbar_item_state_set(Elm_Object_Item *it, Elm_Toolbar_Item_State *state);
|
123
|
+
[ :elm_toolbar_item_state_set, [ :elm_object_item, :elm_toolbar_item_state ], :bool ],
|
124
|
+
# EAPI void elm_toolbar_item_state_unset(Elm_Object_Item *it);
|
125
|
+
[ :elm_toolbar_item_state_unset, [ :elm_object_item ], :void ],
|
126
|
+
# EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_get(const Elm_Object_Item *it);
|
127
|
+
[ :elm_toolbar_item_state_get, [ :elm_object_item ], :elm_toolbar_item_state ],
|
128
|
+
# EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_next(Elm_Object_Item *it);
|
129
|
+
[ :elm_toolbar_item_state_next, [ :elm_object_item ], :elm_toolbar_item_state ],
|
130
|
+
# EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_prev(Elm_Object_Item *it);
|
131
|
+
[ :elm_toolbar_item_state_prev, [ :elm_object_item ], :elm_toolbar_item_state ],
|
132
|
+
# EAPI void elm_toolbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal);
|
133
|
+
[ :elm_toolbar_horizontal_set, [ :evas_object, :bool ], :void ],
|
134
|
+
# EAPI Eina_Bool elm_toolbar_horizontal_get(const Evas_Object *obj);
|
135
|
+
[ :elm_toolbar_horizontal_get, [ :evas_object ], :bool ],
|
136
|
+
# EAPI unsigned int elm_toolbar_items_count(const Evas_Object *obj);
|
137
|
+
[ :elm_toolbar_items_count, [ :evas_object ], :uint ],
|
138
|
+
]
|
139
|
+
#
|
140
|
+
attach_fcts fcts
|
141
|
+
#
|
142
|
+
end
|
143
|
+
end
|
144
|
+
#
|
145
|
+
# EOF
|