ffi-efl 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,41 @@
|
|
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 ElmFactory
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_factory_' 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_factory_add(Evas_Object *parent);
|
27
|
+
[ :elm_factory_add, [ :evas_object ], :evas_object ],
|
28
|
+
# EAPI void elm_factory_maxmin_mode_set(Evas_Object *obj, Eina_Bool enabled);
|
29
|
+
[ :elm_factory_maxmin_mode_set, [ :evas_object, :bool ], :void ],
|
30
|
+
# EAPI Eina_Bool elm_factory_maxmin_mode_get(const Evas_Object *obj);
|
31
|
+
[ :elm_factory_maxmin_mode_get, [ :evas_object ], :bool ],
|
32
|
+
# EAPI void elm_factory_maxmin_reset_set(Evas_Object *obj);
|
33
|
+
[ :elm_factory_maxmin_reset_set, [ :evas_object ], :void ],
|
34
|
+
]
|
35
|
+
#
|
36
|
+
attach_fcts fcts
|
37
|
+
#
|
38
|
+
end
|
39
|
+
end
|
40
|
+
#
|
41
|
+
# EOF
|
@@ -0,0 +1,67 @@
|
|
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 ElmFileSelector
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_fileselector_' 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_Fileselector_Mode;
|
26
|
+
enum :elm_fileselector_mode, [ :elm_fileselector_list, 0, :elm_fileselector_grid, 1, :elm_fileselector_last, 2 ]
|
27
|
+
#
|
28
|
+
# FUNCTIONS
|
29
|
+
fcts = [
|
30
|
+
# EAPI Evas_Object *elm_fileselector_add(Evas_Object *parent);
|
31
|
+
[ :elm_fileselector_add, [ :evas_object ], :evas_object ],
|
32
|
+
# EAPI void elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save);
|
33
|
+
[ :elm_fileselector_is_save_set, [ :evas_object, :bool ], :void ],
|
34
|
+
# EAPI Eina_Bool elm_fileselector_is_save_get(const Evas_Object *obj);
|
35
|
+
[ :elm_fileselector_is_save_get, [ :evas_object ], :bool ],
|
36
|
+
# EAPI void elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only);
|
37
|
+
[ :elm_fileselector_folder_only_set, [ :evas_object, :bool ], :void ],
|
38
|
+
# EAPI Eina_Bool elm_fileselector_folder_only_get(const Evas_Object *obj);
|
39
|
+
[ :elm_fileselector_folder_only_get, [ :evas_object ], :bool ],
|
40
|
+
# EAPI void elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons);
|
41
|
+
[ :elm_fileselector_buttons_ok_cancel_set, [ :evas_object, :bool ], :void ],
|
42
|
+
# EAPI Eina_Bool elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj);
|
43
|
+
[ :elm_fileselector_buttons_ok_cancel_get, [ :evas_object ], :bool ],
|
44
|
+
# EAPI void elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand);
|
45
|
+
[ :elm_fileselector_expandable_set, [ :evas_object, :bool ], :void ],
|
46
|
+
# EAPI Eina_Bool elm_fileselector_expandable_get(const Evas_Object *obj);
|
47
|
+
[ :elm_fileselector_expandable_get, [ :evas_object ], :bool ],
|
48
|
+
# EAPI void elm_fileselector_path_set(Evas_Object *obj, const char *path);
|
49
|
+
[ :elm_fileselector_path_set, [ :evas_object, :string ], :void ],
|
50
|
+
# EAPI const char *elm_fileselector_path_get(const Evas_Object *obj);
|
51
|
+
[ :elm_fileselector_path_get, [ :evas_object ], :string ],
|
52
|
+
# EAPI Eina_Bool elm_fileselector_selected_set(Evas_Object *obj, const char *path);
|
53
|
+
[ :elm_fileselector_selected_set, [ :evas_object, :string ], :bool ],
|
54
|
+
# EAPI const char *elm_fileselector_selected_get(const Evas_Object *obj);
|
55
|
+
[ :elm_fileselector_selected_get, [ :evas_object ], :string ],
|
56
|
+
# EAPI void elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode);
|
57
|
+
[ :elm_fileselector_mode_set, [ :evas_object, :elm_fileselector_mode ], :void ],
|
58
|
+
# EAPI Elm_Fileselector_Mode elm_fileselector_mode_get(const Evas_Object *obj);
|
59
|
+
[ :elm_fileselector_mode_get, [ :evas_object ], :elm_fileselector_mode ],
|
60
|
+
]
|
61
|
+
#
|
62
|
+
attach_fcts fcts
|
63
|
+
#
|
64
|
+
end
|
65
|
+
end
|
66
|
+
#
|
67
|
+
# EOF
|
@@ -0,0 +1,63 @@
|
|
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 ElmFileSelectorButton
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_fileselector_button_' 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_fileselector_button_add(Evas_Object *parent);
|
27
|
+
[ :elm_fileselector_button_add, [ :evas_object ], :evas_object ],
|
28
|
+
# EAPI void elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title);
|
29
|
+
[ :elm_fileselector_button_window_title_set, [ :evas_object, :string ], :void ],
|
30
|
+
# EAPI const char *elm_fileselector_button_window_title_get(const Evas_Object *obj);
|
31
|
+
[ :elm_fileselector_button_window_title_get, [ :evas_object ], :string ],
|
32
|
+
# EAPI void elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height);
|
33
|
+
[ :elm_fileselector_button_window_size_set, [ :evas_object, :int, :int ], :void ],
|
34
|
+
# EAPI void elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height);
|
35
|
+
[ :elm_fileselector_button_window_size_get, [ :evas_object, :pointer, :pointer ], :void ],
|
36
|
+
# EAPI void elm_fileselector_button_path_set(Evas_Object *obj, const char *path);
|
37
|
+
[ :elm_fileselector_button_path_set, [ :evas_object, :string ], :void ],
|
38
|
+
# EAPI const char *elm_fileselector_button_path_get(const Evas_Object *obj);
|
39
|
+
[ :elm_fileselector_button_path_get, [ :evas_object ], :string ],
|
40
|
+
# EAPI void elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value);
|
41
|
+
[ :elm_fileselector_button_expandable_set, [ :evas_object, :bool ], :void ],
|
42
|
+
# EAPI Eina_Bool elm_fileselector_button_expandable_get(const Evas_Object *obj);
|
43
|
+
[ :elm_fileselector_button_expandable_get, [ :evas_object ], :bool ],
|
44
|
+
# EAPI void elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value);
|
45
|
+
[ :elm_fileselector_button_folder_only_set, [ :evas_object, :bool ], :void ],
|
46
|
+
# EAPI Eina_Bool elm_fileselector_button_folder_only_get(const Evas_Object *obj);
|
47
|
+
[ :elm_fileselector_button_folder_only_get, [ :evas_object ], :bool ],
|
48
|
+
# EAPI void elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value);
|
49
|
+
[ :elm_fileselector_button_is_save_set, [ :evas_object, :bool ], :void ],
|
50
|
+
# EAPI Eina_Bool elm_fileselector_button_is_save_get(const Evas_Object *obj);
|
51
|
+
[ :elm_fileselector_button_is_save_get, [ :evas_object ], :bool ],
|
52
|
+
# EAPI void elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value);
|
53
|
+
[ :elm_fileselector_button_inwin_mode_set, [ :evas_object, :bool ], :void ],
|
54
|
+
# EAPI Eina_Bool elm_fileselector_button_inwin_mode_get(const Evas_Object *obj);
|
55
|
+
[ :elm_fileselector_button_inwin_mode_get, [ :evas_object ], :bool ],
|
56
|
+
]
|
57
|
+
#
|
58
|
+
attach_fcts fcts
|
59
|
+
#
|
60
|
+
end
|
61
|
+
end
|
62
|
+
#
|
63
|
+
# EOF
|
@@ -0,0 +1,67 @@
|
|
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 ElmFileSelectorEntry
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_fileselector_entry_' 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_fileselector_entry_add(Evas_Object *parent);
|
27
|
+
[ :elm_fileselector_entry_add, [ :evas_object ], :evas_object ],
|
28
|
+
# EAPI void elm_fileselector_entry_window_title_set(Evas_Object *obj, const char *title);
|
29
|
+
[ :elm_fileselector_entry_window_title_set, [ :evas_object, :string ], :void ],
|
30
|
+
# EAPI const char *elm_fileselector_entry_window_title_get(const Evas_Object *obj);
|
31
|
+
[ :elm_fileselector_entry_window_title_get, [ :evas_object ], :string ],
|
32
|
+
# EAPI void elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height);
|
33
|
+
[ :elm_fileselector_entry_window_size_set, [ :evas_object, :int, :int ], :void ],
|
34
|
+
# EAPI void elm_fileselector_entry_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height);
|
35
|
+
[ :elm_fileselector_entry_window_size_get, [ :evas_object, :pointer, :pointer ], :void ],
|
36
|
+
# EAPI void elm_fileselector_entry_path_set(Evas_Object *obj, const char *path);
|
37
|
+
[ :elm_fileselector_entry_path_set, [ :evas_object, :string ], :void ],
|
38
|
+
# EAPI const char *elm_fileselector_entry_path_get(const Evas_Object *obj);
|
39
|
+
[ :elm_fileselector_entry_path_get, [ :evas_object ], :string ],
|
40
|
+
# EAPI void elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value);
|
41
|
+
[ :elm_fileselector_entry_expandable_set, [ :evas_object, :bool ], :void ],
|
42
|
+
# EAPI Eina_Bool elm_fileselector_entry_expandable_get(const Evas_Object *obj);
|
43
|
+
[ :elm_fileselector_entry_expandable_get, [ :evas_object ], :bool ],
|
44
|
+
# EAPI void elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value);
|
45
|
+
[ :elm_fileselector_entry_folder_only_set, [ :evas_object, :bool ], :void ],
|
46
|
+
# EAPI Eina_Bool elm_fileselector_entry_folder_only_get(const Evas_Object *obj);
|
47
|
+
[ :elm_fileselector_entry_folder_only_get, [ :evas_object ], :bool ],
|
48
|
+
# EAPI void elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value);
|
49
|
+
[ :elm_fileselector_entry_is_save_set, [ :evas_object, :bool ], :void ],
|
50
|
+
# EAPI Eina_Bool elm_fileselector_entry_is_save_get(const Evas_Object *obj);
|
51
|
+
[ :elm_fileselector_entry_is_save_get, [ :evas_object ], :bool ],
|
52
|
+
# EAPI void elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value);
|
53
|
+
[ :elm_fileselector_entry_inwin_mode_set, [ :evas_object, :bool ], :void ],
|
54
|
+
# EAPI Eina_Bool elm_fileselector_entry_inwin_mode_get(const Evas_Object *obj);
|
55
|
+
[ :elm_fileselector_entry_inwin_mode_get, [ :evas_object ], :bool ],
|
56
|
+
# EAPI void elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path);
|
57
|
+
[ :elm_fileselector_entry_selected_set, [ :evas_object, :string ], :void ],
|
58
|
+
# EAPI const char *elm_fileselector_entry_selected_get(const Evas_Object *obj);
|
59
|
+
[ :elm_fileselector_entry_selected_get, [ :evas_object ], :string ],
|
60
|
+
]
|
61
|
+
#
|
62
|
+
attach_fcts fcts
|
63
|
+
#
|
64
|
+
end
|
65
|
+
end
|
66
|
+
#
|
67
|
+
# EOF
|
@@ -0,0 +1,39 @@
|
|
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 ElmFinger
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_finger_' 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_Coord elm_finger_size_get(void);
|
27
|
+
[ :elm_finger_size_get, [ ], :int ],
|
28
|
+
# EAPI void elm_finger_size_set(Evas_Coord size);
|
29
|
+
[ :elm_finger_size_set, [ :int ], :void ],
|
30
|
+
# EAPI void elm_coords_finger_size_adjust(int times_w, Evas_Coord *w, int times_h, Evas_Coord *h);
|
31
|
+
[ :elm_coords_finger_size_adjust, [ :int, :pointer, :int, :pointer ], :void ],
|
32
|
+
]
|
33
|
+
#
|
34
|
+
attach_fcts fcts
|
35
|
+
#
|
36
|
+
end
|
37
|
+
end
|
38
|
+
#
|
39
|
+
# EOF
|
@@ -0,0 +1,62 @@
|
|
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 ElmFlip
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_flip_' 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_Flip_Mode;
|
26
|
+
enum :elm_flip_mode, [ :elm_flip_rotate_y_center_axis, :elm_flip_rotate_x_center_axis, :elm_flip_rotate_xz_center_axis,
|
27
|
+
:elm_flip_rotate_yz_center_axis, :elm_flip_cube_left, :elm_flip_cube_right, :elm_flip_cube_up, :elm_flip_cube_down, :elm_flip_page_left,
|
28
|
+
:elm_flip_page_right, :elm_flip_page_up, :elm_flip_page_down ]
|
29
|
+
# typedef enum {...} Elm_Flip_Interaction;
|
30
|
+
enum :elm_flip_interaction, [ :elm_flip_interaction_none, :elm_flip_interaction_rotate, :elm_flip_interaction_cube, :elm_flip_interaction_page
|
31
|
+
]
|
32
|
+
# typedef enum {...} Elm_Flip_Direction;
|
33
|
+
enum :elm_flip_direction, [ :elm_flip_direction_up, :elm_flip_direction_down, :elm_flip_direction_left, :elm_flip_direction_right ]
|
34
|
+
#
|
35
|
+
# FUNCTIONS
|
36
|
+
fcts = [
|
37
|
+
# EAPI Evas_Object *elm_flip_add(Evas_Object *parent);
|
38
|
+
[ :elm_flip_add, [ :evas_object ], :evas_object ],
|
39
|
+
# EAPI void elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y);
|
40
|
+
[ :elm_flip_perspective_set, [ :evas_object, :int, :int, :int ], :void ],
|
41
|
+
# EAPI void elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode);
|
42
|
+
[ :elm_flip_go, [ :evas_object, :elm_flip_mode ], :void ],
|
43
|
+
# EAPI void elm_flip_interaction_set(Evas_Object *obj, Elm_Flip_Interaction mode);
|
44
|
+
[ :elm_flip_interaction_set, [ :evas_object, :elm_flip_interaction ], :void ],
|
45
|
+
# EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Evas_Object *obj);
|
46
|
+
[ :elm_flip_interaction_get, [ :evas_object ], :elm_flip_interaction ],
|
47
|
+
# EAPI void elm_flip_interaction_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled);
|
48
|
+
[ :elm_flip_interaction_direction_enabled_set, [ :evas_object, :elm_flip_direction, :bool ], :void ],
|
49
|
+
# EAPI Eina_Bool elm_flip_interaction_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir);
|
50
|
+
[ :elm_flip_interaction_direction_enabled_get, [ :evas_object, :elm_flip_direction ], :bool ],
|
51
|
+
# EAPI void elm_flip_interaction_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize);
|
52
|
+
[ :elm_flip_interaction_direction_hitsize_set, [ :evas_object, :elm_flip_direction, :double ], :void ],
|
53
|
+
# EAPI double elm_flip_interaction_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir);
|
54
|
+
[ :elm_flip_interaction_direction_hitsize_get, [ :evas_object, :elm_flip_direction ], :double ],
|
55
|
+
]
|
56
|
+
#
|
57
|
+
attach_fcts fcts
|
58
|
+
#
|
59
|
+
end
|
60
|
+
end
|
61
|
+
#
|
62
|
+
# EOF
|
@@ -0,0 +1,63 @@
|
|
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 ElmFlipSelector
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_flipselector_' 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_flipselector_add(Evas_Object *parent);
|
27
|
+
[ :elm_flipselector_add, [ :evas_object ], :evas_object ],
|
28
|
+
# EAPI void elm_flipselector_flip_next(Evas_Object *obj);
|
29
|
+
[ :elm_flipselector_flip_next, [ :evas_object ], :void ],
|
30
|
+
# EAPI void elm_flipselector_flip_prev(Evas_Object *obj);
|
31
|
+
[ :elm_flipselector_flip_prev, [ :evas_object ], :void ],
|
32
|
+
# EAPI Elm_Object_Item *elm_flipselector_item_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data);
|
33
|
+
[ :elm_flipselector_item_append, [ :evas_object, :string, :evas_smart_cb, :pointer ], :elm_object_item ],
|
34
|
+
# EAPI Elm_Object_Item *elm_flipselector_item_prepend(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data);
|
35
|
+
[ :elm_flipselector_item_prepend, [ :evas_object, :string, :evas_smart_cb, :pointer ], :elm_object_item ],
|
36
|
+
# EAPI const Eina_List *elm_flipselector_items_get(const Evas_Object *obj);
|
37
|
+
[ :elm_flipselector_items_get, [ :evas_object ], :eina_list ],
|
38
|
+
# EAPI Elm_Object_Item *elm_flipselector_first_item_get(const Evas_Object *obj);
|
39
|
+
[ :elm_flipselector_first_item_get, [ :evas_object ], :elm_object_item ],
|
40
|
+
# EAPI Elm_Object_Item *elm_flipselector_last_item_get(const Evas_Object *obj);
|
41
|
+
[ :elm_flipselector_last_item_get, [ :evas_object ], :elm_object_item ],
|
42
|
+
# EAPI Elm_Object_Item *elm_flipselector_selected_item_get(const Evas_Object *obj);
|
43
|
+
[ :elm_flipselector_selected_item_get, [ :evas_object ], :elm_object_item ],
|
44
|
+
# EAPI void elm_flipselector_item_selected_set(Elm_Object_Item *it, Eina_Bool selected);
|
45
|
+
[ :elm_flipselector_item_selected_set, [ :elm_object_item, :bool ], :void ],
|
46
|
+
# EAPI Eina_Bool elm_flipselector_item_selected_get(const Elm_Object_Item *it);
|
47
|
+
[ :elm_flipselector_item_selected_get, [ :elm_object_item ], :bool ],
|
48
|
+
# EAPI Elm_Object_Item *elm_flipselector_item_prev_get(const Elm_Object_Item *it);
|
49
|
+
[ :elm_flipselector_item_prev_get, [ :elm_object_item ], :elm_object_item ],
|
50
|
+
# EAPI Elm_Object_Item *elm_flipselector_item_next_get(const Elm_Object_Item *it);
|
51
|
+
[ :elm_flipselector_item_next_get, [ :elm_object_item ], :elm_object_item ],
|
52
|
+
# EAPI void elm_flipselector_interval_set(Evas_Object *obj, double interval);
|
53
|
+
[ :elm_flipselector_interval_set, [ :evas_object, :double ], :void ],
|
54
|
+
# EAPI double elm_flipselector_interval_get(const Evas_Object *obj);
|
55
|
+
[ :elm_flipselector_interval_get, [ :evas_object ], :double ],
|
56
|
+
]
|
57
|
+
#
|
58
|
+
attach_fcts fcts
|
59
|
+
#
|
60
|
+
end
|
61
|
+
end
|
62
|
+
#
|
63
|
+
# EOF
|
@@ -0,0 +1,65 @@
|
|
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 ElmFocus
|
10
|
+
#
|
11
|
+
FCT_PREFIX = 'elm_focus_' 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 Eina_Bool elm_focus_highlight_enabled_get(void);
|
27
|
+
[ :elm_focus_highlight_enabled_get, [ ], :bool ],
|
28
|
+
# EAPI void elm_focus_highlight_enabled_set(Eina_Bool enable);
|
29
|
+
[ :elm_focus_highlight_enabled_set, [ :bool ], :void ],
|
30
|
+
# EAPI Eina_Bool elm_focus_highlight_animate_get(void);
|
31
|
+
[ :elm_focus_highlight_animate_get, [ ], :bool ],
|
32
|
+
# EAPI void elm_focus_highlight_animate_set(Eina_Bool animate);
|
33
|
+
[ :elm_focus_highlight_animate_set, [ :bool ], :void ],
|
34
|
+
# EAPI Eina_Bool elm_object_focus_get(const Evas_Object *obj);
|
35
|
+
[ :elm_object_focus_get, [ :evas_object ], :bool ],
|
36
|
+
# EAPI void elm_object_focus_set(Evas_Object *obj, Eina_Bool focus);
|
37
|
+
[ :elm_object_focus_set, [ :evas_object, :bool ], :void ],
|
38
|
+
# EAPI void elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable);
|
39
|
+
[ :elm_object_focus_allow_set, [ :evas_object, :bool ], :void ],
|
40
|
+
# EAPI Eina_Bool elm_object_focus_allow_get(const Evas_Object *obj);
|
41
|
+
[ :elm_object_focus_allow_get, [ :evas_object ], :bool ],
|
42
|
+
# EAPI void elm_object_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs);
|
43
|
+
[ :elm_object_focus_custom_chain_set, [ :evas_object, :eina_list ], :void ],
|
44
|
+
# EAPI void elm_object_focus_custom_chain_unset(Evas_Object *obj);
|
45
|
+
[ :elm_object_focus_custom_chain_unset, [ :evas_object ], :void ],
|
46
|
+
# EAPI const Eina_List *elm_object_focus_custom_chain_get(const Evas_Object *obj);
|
47
|
+
[ :elm_object_focus_custom_chain_get, [ :evas_object ], :eina_list ],
|
48
|
+
# EAPI void elm_object_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child);
|
49
|
+
[ :elm_object_focus_custom_chain_append, [ :evas_object, :evas_object, :evas_object ], :void ],
|
50
|
+
# EAPI void elm_object_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child);
|
51
|
+
[ :elm_object_focus_custom_chain_prepend, [ :evas_object, :evas_object, :evas_object ], :void ],
|
52
|
+
# EAPI void elm_object_focus_cycle(Evas_Object *obj, Elm_Focus_Direction dir);
|
53
|
+
[ :elm_object_focus_cycle, [ :evas_object, :elm_focus_direction ], :void ],
|
54
|
+
# EAPI void elm_object_tree_unfocusable_set(Evas_Object *obj, Eina_Bool tree_unfocusable);
|
55
|
+
[ :elm_object_tree_unfocusable_set, [ :evas_object, :bool ], :void ],
|
56
|
+
# EAPI Eina_Bool elm_object_tree_unfocusable_get(const Evas_Object *obj);
|
57
|
+
[ :elm_object_tree_unfocusable_get, [ :evas_object ], :bool ],
|
58
|
+
]
|
59
|
+
#
|
60
|
+
attach_fcts fcts
|
61
|
+
#
|
62
|
+
end
|
63
|
+
end
|
64
|
+
#
|
65
|
+
# EOF
|