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.
Files changed (209) hide show
  1. data/Changelog +10 -2
  2. data/README.rdoc +41 -30
  3. data/lib/efl.rb +88 -14
  4. data/lib/efl/ecore.rb +1 -0
  5. data/lib/efl/ecore_evas.rb +4 -2
  6. data/lib/efl/ecore_getopt.rb +12 -11
  7. data/lib/efl/ecore_input.rb +1 -0
  8. data/lib/efl/eet.rb +1 -0
  9. data/lib/efl/eina.rb +1 -0
  10. data/lib/efl/eina_hash.rb +1 -0
  11. data/lib/efl/eina_list.rb +1 -0
  12. data/lib/efl/eina_log.rb +4 -0
  13. data/lib/efl/elementary.rb +0 -662
  14. data/lib/efl/elementary_all.rb +82 -0
  15. data/lib/efl/elm/elm_actionslider.rb +22 -0
  16. data/lib/efl/elm/elm_anchorblock.rb +22 -0
  17. data/lib/efl/elm/elm_anchorview.rb +22 -0
  18. data/lib/efl/elm/elm_bg.rb +37 -0
  19. data/lib/efl/elm/elm_box.rb +42 -0
  20. data/lib/efl/elm/elm_bubble.rb +22 -0
  21. data/lib/efl/elm/elm_button.rb +22 -0
  22. data/lib/efl/elm/elm_calendar.rb +22 -0
  23. data/lib/efl/elm/elm_check.rb +22 -0
  24. data/lib/efl/elm/elm_clock.rb +22 -0
  25. data/lib/efl/elm/elm_cnp.rb +30 -0
  26. data/lib/efl/elm/elm_colorselector.rb +22 -0
  27. data/lib/efl/elm/elm_conform.rb +26 -0
  28. data/lib/efl/elm/elm_ctxpopup.rb +27 -0
  29. data/lib/efl/elm/elm_cursor.rb +20 -0
  30. data/lib/efl/elm/elm_debug.rb +25 -0
  31. data/lib/efl/elm/elm_diskselector.rb +51 -0
  32. data/lib/efl/elm/elm_entry.rb +22 -0
  33. data/lib/efl/elm/elm_factory.rb +22 -0
  34. data/lib/efl/elm/elm_fileselector.rb +22 -0
  35. data/lib/efl/elm/elm_fileselector_button.rb +22 -0
  36. data/lib/efl/elm/elm_fileselector_entry.rb +22 -0
  37. data/lib/efl/elm/elm_flip.rb +22 -0
  38. data/lib/efl/elm/elm_flipselector.rb +56 -0
  39. data/lib/efl/elm/elm_focus.rb +74 -0
  40. data/lib/efl/elm/elm_frame.rb +22 -0
  41. data/lib/efl/elm/elm_gengrid.rb +68 -0
  42. data/lib/efl/elm/elm_genlist.rb +79 -0
  43. data/lib/efl/elm/elm_gesture_layer.rb +22 -0
  44. data/lib/efl/elm/elm_glview.rb +22 -0
  45. data/lib/efl/elm/elm_grid.rb +22 -0
  46. data/lib/efl/elm/elm_hover.rb +22 -0
  47. data/lib/efl/elm/elm_hoversel.rb +27 -0
  48. data/lib/efl/elm/elm_icon.rb +26 -0
  49. data/lib/efl/elm/elm_image.rb +22 -0
  50. data/lib/efl/elm/elm_index.rb +31 -0
  51. data/lib/efl/elm/elm_label.rb +22 -0
  52. data/lib/efl/elm/elm_layout.rb +26 -0
  53. data/lib/efl/elm/elm_list.rb +55 -0
  54. data/lib/efl/elm/elm_map.rb +22 -0
  55. data/lib/efl/elm/elm_mapbuf.rb +22 -0
  56. data/lib/efl/elm/elm_menu.rb +55 -0
  57. data/lib/efl/elm/elm_mirroring.rb +36 -0
  58. data/lib/efl/elm/elm_multibuttonentry.rb +58 -0
  59. data/lib/efl/elm/elm_naviframe.rb +42 -0
  60. data/lib/efl/elm/elm_notify.rb +22 -0
  61. data/lib/efl/elm/elm_object.rb +68 -0
  62. data/lib/efl/elm/elm_object_item.rb +20 -0
  63. data/lib/efl/elm/elm_panel.rb +22 -0
  64. data/lib/efl/elm/elm_panes.rb +22 -0
  65. data/lib/efl/elm/elm_photo.rb +22 -0
  66. data/lib/efl/elm/elm_photocam.rb +22 -0
  67. data/lib/efl/elm/elm_plug.rb +22 -0
  68. data/lib/efl/elm/elm_progressbar.rb +22 -0
  69. data/lib/efl/elm/elm_radio.rb +22 -0
  70. data/lib/efl/elm/elm_route.rb +22 -0
  71. data/lib/efl/elm/elm_scale.rb +28 -0
  72. data/lib/efl/elm/elm_scroll.rb +50 -0
  73. data/lib/efl/elm/elm_scroller.rb +22 -0
  74. data/lib/efl/elm/elm_segment_control.rb +39 -0
  75. data/lib/efl/elm/elm_separator.rb +22 -0
  76. data/lib/efl/elm/elm_slider.rb +22 -0
  77. data/lib/efl/elm/elm_slideshow.rb +41 -0
  78. data/lib/efl/elm/elm_spinner.rb +22 -0
  79. data/lib/efl/elm/elm_store.rb +43 -0
  80. data/lib/efl/elm/elm_table.rb +22 -0
  81. data/lib/efl/elm/elm_theme.rb +42 -0
  82. data/lib/efl/elm/elm_thumb.rb +22 -0
  83. data/lib/efl/elm/elm_toolbar.rb +63 -0
  84. data/lib/efl/elm/elm_tooltip.rb +20 -0
  85. data/lib/efl/elm/elm_transit.rb +78 -0
  86. data/lib/efl/elm/elm_video.rb +30 -0
  87. data/lib/efl/elm/elm_web.rb +22 -0
  88. data/lib/efl/elm/elm_win.rb +33 -0
  89. data/lib/efl/evas.rb +8 -7
  90. data/lib/efl/native.rb +45 -11
  91. data/lib/efl/native/ecore.rb +188 -210
  92. data/lib/efl/native/ecore_evas.rb +260 -207
  93. data/lib/efl/native/ecore_getopt.rb +17 -24
  94. data/lib/efl/native/ecore_input.rb +7 -11
  95. data/lib/efl/native/edje.rb +250 -202
  96. data/lib/efl/native/eet.rb +154 -155
  97. data/lib/efl/native/eina.rb +7 -13
  98. data/lib/efl/native/eina_hash.rb +41 -47
  99. data/lib/efl/native/eina_list.rb +39 -48
  100. data/lib/efl/native/eina_log.rb +21 -23
  101. data/lib/efl/native/eina_types.rb +8 -14
  102. data/lib/efl/native/eina_xattr.rb +21 -18
  103. data/lib/efl/native/elementary.rb +9 -3381
  104. data/lib/efl/native/elm/elm_actionslider.rb +54 -0
  105. data/lib/efl/native/elm/elm_anchorblock.rb +55 -0
  106. data/lib/efl/native/elm/elm_anchorview.rb +59 -0
  107. data/lib/efl/native/elm/elm_app.rb +53 -0
  108. data/lib/efl/native/elm/elm_bg.rb +53 -0
  109. data/lib/efl/native/elm/elm_box.rb +81 -0
  110. data/lib/efl/native/elm/elm_bubble.rb +44 -0
  111. data/lib/efl/native/elm/elm_button.rb +47 -0
  112. data/lib/efl/native/elm/elm_cache.rb +59 -0
  113. data/lib/efl/native/elm/elm_calendar.rb +76 -0
  114. data/lib/efl/native/elm/elm_check.rb +41 -0
  115. data/lib/efl/native/elm/elm_clock.rb +64 -0
  116. data/lib/efl/native/elm/elm_cnp.rb +54 -0
  117. data/lib/efl/native/elm/elm_colorselector.rb +39 -0
  118. data/lib/efl/native/elm/elm_config.rb +103 -0
  119. data/lib/efl/native/elm/elm_conform.rb +37 -0
  120. data/lib/efl/native/elm/elm_ctxpopup.rb +59 -0
  121. data/lib/efl/native/elm/elm_cursor.rb +51 -0
  122. data/lib/efl/native/elm/elm_debug.rb +37 -0
  123. data/lib/efl/native/elm/elm_diskselector.rb +76 -0
  124. data/lib/efl/native/elm/elm_engine.rb +41 -0
  125. data/lib/efl/native/elm/elm_entry.rb +242 -0
  126. data/lib/efl/native/elm/elm_factory.rb +41 -0
  127. data/lib/efl/native/elm/elm_fileselector.rb +67 -0
  128. data/lib/efl/native/elm/elm_fileselector_button.rb +63 -0
  129. data/lib/efl/native/elm/elm_fileselector_entry.rb +67 -0
  130. data/lib/efl/native/elm/elm_finger.rb +39 -0
  131. data/lib/efl/native/elm/elm_flip.rb +62 -0
  132. data/lib/efl/native/elm/elm_flipselector.rb +63 -0
  133. data/lib/efl/native/elm/elm_focus.rb +65 -0
  134. data/lib/efl/native/elm/elm_fonts.rb +66 -0
  135. data/lib/efl/native/elm/elm_frame.rb +45 -0
  136. data/lib/efl/native/elm/elm_general.rb +105 -0
  137. data/lib/efl/native/elm/elm_gengrid.rb +184 -0
  138. data/lib/efl/native/elm/elm_genlist.rb +240 -0
  139. data/lib/efl/native/elm/elm_gesture_layer.rb +76 -0
  140. data/lib/efl/native/elm/elm_glview.rb +70 -0
  141. data/lib/efl/native/elm/elm_grid.rb +51 -0
  142. data/lib/efl/native/elm/elm_hover.rb +51 -0
  143. data/lib/efl/native/elm/elm_hoversel.rb +60 -0
  144. data/lib/efl/native/elm/elm_icon.rb +97 -0
  145. data/lib/efl/native/elm/elm_image.rb +80 -0
  146. data/lib/efl/native/elm/elm_index.rb +63 -0
  147. data/lib/efl/native/elm/elm_label.rb +60 -0
  148. data/lib/efl/native/elm/elm_layout.rb +77 -0
  149. data/lib/efl/native/elm/elm_list.rb +105 -0
  150. data/lib/efl/native/elm/elm_map.rb +225 -0
  151. data/lib/efl/native/elm/elm_mapbuf.rb +47 -0
  152. data/lib/efl/native/elm/elm_menu.rb +77 -0
  153. data/lib/efl/native/elm/elm_mirroring.rb +45 -0
  154. data/lib/efl/native/elm/elm_multibuttonentry.rb +81 -0
  155. data/lib/efl/native/elm/elm_naviframe.rb +79 -0
  156. data/lib/efl/native/elm/elm_need.rb +41 -0
  157. data/lib/efl/native/elm/elm_notify.rb +57 -0
  158. data/lib/efl/native/elm/elm_object.rb +74 -0
  159. data/lib/efl/native/elm/elm_object_item.rb +93 -0
  160. data/lib/efl/native/elm/elm_panel.rb +55 -0
  161. data/lib/efl/native/elm/elm_panes.rb +51 -0
  162. data/lib/efl/native/elm/elm_password.rb +41 -0
  163. data/lib/efl/native/elm/elm_photo.rb +49 -0
  164. data/lib/efl/native/elm/elm_photocam.rb +74 -0
  165. data/lib/efl/native/elm/elm_plug.rb +39 -0
  166. data/lib/efl/native/elm/elm_progressbar.rb +61 -0
  167. data/lib/efl/native/elm/elm_radio.rb +49 -0
  168. data/lib/efl/native/elm/elm_route.rb +42 -0
  169. data/lib/efl/native/elm/elm_scale.rb +41 -0
  170. data/lib/efl/native/elm/elm_scroll.rb +49 -0
  171. data/lib/efl/native/elm/elm_scroller.rb +80 -0
  172. data/lib/efl/native/elm/elm_segment_control.rb +57 -0
  173. data/lib/efl/native/elm/elm_separator.rb +39 -0
  174. data/lib/efl/native/elm/elm_slider.rb +71 -0
  175. data/lib/efl/native/elm/elm_slideshow.rb +97 -0
  176. data/lib/efl/native/elm/elm_spinner.rb +73 -0
  177. data/lib/efl/native/elm/elm_store.rb +110 -0
  178. data/lib/efl/native/elm/elm_table.rb +53 -0
  179. data/lib/efl/native/elm/elm_theme.rb +81 -0
  180. data/lib/efl/native/elm/elm_thumb.rb +60 -0
  181. data/lib/efl/native/elm/elm_toolbar.rb +145 -0
  182. data/lib/efl/native/elm/elm_tooltip.rb +59 -0
  183. data/lib/efl/native/elm/elm_transit.rb +135 -0
  184. data/lib/efl/native/elm/elm_video.rb +71 -0
  185. data/lib/efl/native/elm/elm_web.rb +165 -0
  186. data/lib/efl/native/elm/elm_win.rb +221 -0
  187. data/lib/efl/native/emap.rb +28 -34
  188. data/lib/efl/native/evas.rb +640 -618
  189. data/spec/ecore_evas_spec.rb +28 -22
  190. data/spec/ecore_spec.rb +1 -0
  191. data/spec/edje_spec.rb +8 -1
  192. data/spec/eina_hash_spec.rb +0 -1
  193. data/spec/eina_list_spec.rb +0 -1
  194. data/spec/eina_log_spec.rb +10 -8
  195. data/spec/elm_spec.rb +4 -114
  196. data/spec/evas_spec.rb +13 -244
  197. data/spec/helper.rb +16 -15
  198. data/tasks/constants.rb +9 -9
  199. data/test/test_elm_win-native.rb +6 -4
  200. data/test/test_elm_win.rb +20 -19
  201. data/test/test_evas.rb +12 -12
  202. metadata +209 -64
  203. data/lib/efl/ffi.rb +0 -172
  204. data/test/test_elementary.rb +0 -271
  205. data/test/tests/test_actionslider.rb +0 -132
  206. data/test/tests/test_anchorbock.rb +0 -73
  207. data/test/tests/test_bg.rb +0 -151
  208. data/test/tests/test_box.rb +0 -147
  209. data/test/tests/test_buttons.rb +0 -114
@@ -0,0 +1,20 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/elm/elm_object'
5
+ require 'efl/native/elm/elm_cursor'
6
+ #
7
+ module Efl
8
+ #
9
+ module Elm
10
+ #
11
+ class ElmCursor < ElmObject
12
+ #
13
+ search_prefixes 'elm_cursor_'
14
+ #
15
+ end
16
+ #
17
+ end
18
+ end
19
+ #
20
+ # EOF
@@ -0,0 +1,25 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/elm/elm_object'
5
+ require 'efl/native/elm/elm_scroll'
6
+ #
7
+ module Efl
8
+ #
9
+ module Elm
10
+ #
11
+ class ElmObject
12
+ #
13
+ def tree_dump
14
+ Native.elm_object_tree_dump @ptr
15
+ end
16
+ def tree_dot_dump filepath
17
+ Native.elm_object_tree_dot_dump @ptr, filepath
18
+ end
19
+ #
20
+ end
21
+ #
22
+ end
23
+ end
24
+ #
25
+ # EOF
@@ -0,0 +1,51 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/elm/elm_object'
5
+ require 'efl/elm/elm_object_item'
6
+ require 'efl/native/elm/elm_diskselector'
7
+ #
8
+ module Efl
9
+ #
10
+ module Elm
11
+ #
12
+ class ElmDiskSelector < ElmObject
13
+ #
14
+ include Helper
15
+ constructor :elm_diskselector_add
16
+ search_prefixes 'elm_diskselector_'
17
+ #
18
+ def item_append label, icon=nil, cb=nil, data=nil
19
+ ElmObjectItem.new Native.elm_diskselector_item_append @ptr, label, icon, cb, data
20
+ end
21
+ #
22
+ def selected_item_get
23
+ ElmObjectItem.new Native.elm_diskselector_selected_item_get @ptr
24
+ end
25
+ #
26
+ def first_item_get
27
+ ElmObjectItem.new Native.elm_diskselector_first_item_get @ptr
28
+ end
29
+ alias :first_item :first_item_get
30
+ #
31
+ def last_item_get
32
+ ElmObjectItem.new Native.elm_diskselector_last_item_get @ptr
33
+ end
34
+ alias :last_item :last_item_get
35
+ #
36
+ def item_prev_get it
37
+ ElmObjectItem.new Native.elm_diskselector_item_prev_get it
38
+ end
39
+ alias :item_prev :item_prev_get
40
+ #
41
+ def item_next_get it
42
+ ElmObjectItem.new Native.elm_diskselector_item_next_get it
43
+ end
44
+ alias :item_next :item_next_get
45
+ #
46
+ end
47
+ #
48
+ end
49
+ end
50
+ #
51
+ # EOF
@@ -0,0 +1,22 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/elm/elm_object'
5
+ require 'efl/native/elm/elm_entry'
6
+ #
7
+ module Efl
8
+ #
9
+ module Elm
10
+ #
11
+ class ElmEntry < ElmObject
12
+ #
13
+ include Helper
14
+ constructor :elm_entry_add
15
+ search_prefixes 'elm_entry_'
16
+ #
17
+ end
18
+ #
19
+ end
20
+ end
21
+ #
22
+ # EOF
@@ -0,0 +1,22 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/elm/elm_object'
5
+ require 'efl/native/elm/elm_factory'
6
+ #
7
+ module Efl
8
+ #
9
+ module Elm
10
+ #
11
+ class ElmFactory < ElmObject
12
+ #
13
+ include Helper
14
+ constructor :elm_factory_add
15
+ search_prefixes 'elm_factory_'
16
+ #
17
+ end
18
+ #
19
+ end
20
+ end
21
+ #
22
+ # EOF
@@ -0,0 +1,22 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/elm/elm_object'
5
+ require 'efl/native/elm/elm_fileselector'
6
+ #
7
+ module Efl
8
+ #
9
+ module Elm
10
+ #
11
+ class ElmFileSelector < ElmObject
12
+ #
13
+ include Helper
14
+ constructor :elm_fileselector_add
15
+ search_prefixes 'elm_fileselector_'
16
+ #
17
+ end
18
+ #
19
+ end
20
+ end
21
+ #
22
+ # EOF
@@ -0,0 +1,22 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/elm/elm_object'
5
+ require 'efl/native/elm/elm_fileselector_button'
6
+ #
7
+ module Efl
8
+ #
9
+ module Elm
10
+ #
11
+ class ElmFileSelectorButton < ElmObject
12
+ #
13
+ include Helper
14
+ constructor :elm_fileselector_button_add
15
+ search_prefixes 'elm_fileselector_button_'
16
+ #
17
+ end
18
+ #
19
+ end
20
+ end
21
+ #
22
+ # EOF
@@ -0,0 +1,22 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/elm/elm_object'
5
+ require 'efl/native/elm/elm_fileselector_entry'
6
+ #
7
+ module Efl
8
+ #
9
+ module Elm
10
+ #
11
+ class ElmFileSelectorEntry < ElmObject
12
+ #
13
+ include Helper
14
+ constructor :elm_fileselector_entry_add
15
+ search_prefixes 'elm_fileselector_entry_'
16
+ #
17
+ end
18
+ #
19
+ end
20
+ end
21
+ #
22
+ # EOF
@@ -0,0 +1,22 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/elm/elm_object'
5
+ require 'efl/native/elm/elm_flip'
6
+ #
7
+ module Efl
8
+ #
9
+ module Elm
10
+ #
11
+ class ElmFlip < ElmObject
12
+ #
13
+ include Helper
14
+ constructor :elm_flip_add
15
+ search_prefixes 'elm_flip_'
16
+ #
17
+ end
18
+ #
19
+ end
20
+ end
21
+ #
22
+ # EOF
@@ -0,0 +1,56 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/elm/elm_object'
5
+ require 'efl/elm/elm_object_item'
6
+ require 'efl/native/elm/elm_flipselector'
7
+ #
8
+ module Efl
9
+ #
10
+ module Elm
11
+ #
12
+ class ElmFlipSelector < ElmObject
13
+ #
14
+ include Helper
15
+ constructor :elm_flipselector_add
16
+ search_prefixes 'elm_flipselector_'
17
+ #
18
+ def item_append label, cb=nil, data=nil
19
+ ElmObjectItem.new Native.elm_flipselector_item_append @ptr, label, cb, data
20
+ end
21
+ #
22
+ def item_prepend label, cb=nil, data=nil
23
+ ElmObjectItem.new Native.elm_flipselector_item_prepend @ptr, label, cb, data
24
+ end
25
+ #
26
+ def first_item_get
27
+ ElmObjectItem.new Native.elm_flipselector_first_item_get @ptr
28
+ end
29
+ alias :first_item :first_item_get
30
+ #
31
+ def last_item_get
32
+ ElmObjectItem.new Native.elm_flipselector_last_item_get @ptr
33
+ end
34
+ alias :last_item :last_item_get
35
+ #
36
+ def selected_item_get
37
+ ElmObjectItem.new Native.elm_flipselector_selected_item_get @ptr
38
+ end
39
+ alias :selected_item :selected_item_get
40
+ #
41
+ def item_prev_get it
42
+ ElmObjectItem.new Native.elm_flipselector_item_prev_get it
43
+ end
44
+ alias :item_prev :item_prev_get
45
+ #
46
+ def item_next_get it
47
+ ElmObjectItem.new Native.elm_flipselector_item_next_get it
48
+ end
49
+ alias :item_next :item_next_get
50
+ #
51
+ end
52
+ #
53
+ end
54
+ end
55
+ #
56
+ # EOF
@@ -0,0 +1,74 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/elm/elm_object'
5
+ require 'efl/native/elm/elm_focus'
6
+ #
7
+ module Efl
8
+ #
9
+ module Elm
10
+ #
11
+ class ElmObject
12
+ #
13
+ def focus_get
14
+ Native.elm_object_focus_get @ptr
15
+ end
16
+ alias :focus :focus_get
17
+ #
18
+ def focus_set focus
19
+ Native.elm_object_focus_set @ptr, focus
20
+ end
21
+ alias :focus= :focus_set
22
+ #
23
+ def focus_allow_get
24
+ Native.elm_object_focus_allow_get @ptr
25
+ end
26
+ alias :focus :focus_allow_get
27
+ #
28
+ def focus_allow_set allow
29
+ Native.elm_object_focus_allow_set @ptr, allow
30
+ end
31
+ alias :focus_allow= :focus_allow_set
32
+ #
33
+ def focus_allow_custom_chain_set list
34
+ Native.elm_object_focus_allow_custom_chain_set @ptr, list
35
+ end
36
+ alias :focus_allow_custom_chain= :focus_allow_custom_chain_set
37
+ #
38
+ def focus_allow_custom_chain_unset
39
+ Native.elm_object_focus_allow_custom_chain_unset @ptr
40
+ end
41
+ #
42
+ def focus_allow_custom_chain_get
43
+ Native.elm_object_focus_allow_custom_chain_get @ptr
44
+ end
45
+ alias :focus_allow_custom_chain :focus_allow_custom_chain_get
46
+ #
47
+ def focus_custom_chain_append child, relative_child
48
+ Native.elm_object_focus_custom_chain_append @ptr, child, relative_child
49
+ end
50
+ #
51
+ def focus_custom_chain_prepend child, relative_child
52
+ Native.elm_object_focus_custom_chain_prepend @ptr, child, relative_child
53
+ end
54
+ #
55
+ def focus_cycle direction
56
+ Native.elm_object_focus_cycle @ptr, direction
57
+ end
58
+ #
59
+ def tree_unfocusable_set unfocusable
60
+ Native.elm_object_tree_unfocusable_set @ptr, unfocusable
61
+ end
62
+ alias :tree_unfocusable= :tree_unfocusable_set
63
+ #
64
+ def tree_unfocusable_get
65
+ Native.elm_object_tree_unfocusable_set @ptr
66
+ end
67
+ alias :tree_unfocusable :tree_unfocusable_get
68
+ #
69
+ end
70
+ #
71
+ end
72
+ end
73
+ #
74
+ # EOF
@@ -0,0 +1,22 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/elm/elm_object'
5
+ require 'efl/native/elm/elm_frame'
6
+ #
7
+ module Efl
8
+ #
9
+ module Elm
10
+ #
11
+ class ElmFrame < ElmObject
12
+ #
13
+ include Helper
14
+ constructor :elm_frame_add
15
+ search_prefixes 'elm_frame_'
16
+ #
17
+ end
18
+ #
19
+ end
20
+ end
21
+ #
22
+ # EOF
@@ -0,0 +1,68 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/elm/elm_object'
5
+ require 'efl/elm/elm_object_item'
6
+ require 'efl/native/elm/elm_gengrid'
7
+ #
8
+ module Efl
9
+ #
10
+ module Elm
11
+ #
12
+ class ElmGenGrid < ElmObject
13
+ #
14
+ include Helper
15
+ constructor :elm_gengrid_add
16
+ search_prefixes 'elm_gengrid_'
17
+ #
18
+ def item_append gic, data, cb, cbdata
19
+ ElmObjectItem.new Native.elm_gengrid_item_append @ptr, gic, data, cb, cbdata
20
+ end
21
+ #
22
+ def item_prepend gic, data, cb, cbdata
23
+ ElmObjectItem.new Native.elm_gengrid_item_append @ptr, gic, data, cb, cbdata
24
+ end
25
+ #
26
+ def item_insert_before gic, data, before, cb, cbdata
27
+ ElmObjectItem.new Native.elm_gengrid_item_insert_before @ptr, gic, data, before, cb, cbdata
28
+ end
29
+ #
30
+ def item_insert_after gic, data, before, flags, cb, cbdata
31
+ ElmObjectItem.new Native.elm_gengrid_item_insert_after @ptr, gic, data, before, cb, cbdata
32
+ end
33
+ #
34
+ def item_sorted_insert gic, data, cmp, cb, cbdata
35
+ ElmObjectItem.new Native.elm_gengrid_item_sorted_insert @ptr, gic, data, cmp, cb, cbdata
36
+ end
37
+ #
38
+ def first_item_get
39
+ ElmObjectItem.new Native.elm_gengrid_first_item_get @ptr
40
+ end
41
+ alias :first_item :first_item_get
42
+ #
43
+ def last_item_get
44
+ ElmObjectItem.new Native.elm_gengrid_last_item_get @ptr
45
+ end
46
+ alias :last_item :last_item_get
47
+ #
48
+ def item_next_get it
49
+ ElmObjectItem.new Native.elm_gengrid_item_next_get it
50
+ end
51
+ alias :item_next :item_next_get
52
+ #
53
+ def item_prev_get it
54
+ ElmObjectItem.new Native.elm_gengrid_item_prev_get it
55
+ end
56
+ alias :item_prev :item_prev_get
57
+ #
58
+ def selected_item_get
59
+ ElmObjectItem.new Native.elm_gengrid_selected_item_get @ptr
60
+ end
61
+ alias :selected_item :selected_item_get
62
+ #
63
+ end
64
+ #
65
+ end
66
+ end
67
+ #
68
+ # EOF