ffi-efl 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,459 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/ffi'
5
+ #
6
+ module Efl
7
+ #
8
+ module Edje
9
+ def self.method_missing m, *args, &block
10
+ return Efl::API.send 'edje_'+m.to_s, *args, &block
11
+ end
12
+ end
13
+ #
14
+ module API
15
+ #
16
+ #
17
+ ffi_lib 'edje'
18
+ #
19
+ # ENUMS
20
+ # typedef enum _Edje_Message_Type {...} Edje_Message_Type;
21
+ enum :edje_message_type, [ :edje_message_none, 0, :edje_message_signal, 1, :edje_message_string, 2, :edje_message_int, 3, :edje_message_float,
22
+ 4, :edje_message_string_set, 5, :edje_message_int_set, 6, :edje_message_float_set, 7, :edje_message_string_int, 8, :edje_message_string_float, 9,
23
+ :edje_message_string_int_set, 1, :edje_message_string_float_set, 1 ]
24
+ # typedef enum _Edje_Aspect_Control {...} Edje_Aspect_Control;
25
+ enum :edje_aspect_control, [ :edje_aspect_control_none, 0, :edje_aspect_control_neither, 1, :edje_aspect_control_horizontal, 2,
26
+ :edje_aspect_control_vertical, 3, :edje_aspect_control_both, 4 ]
27
+ # typedef enum _Edje_Object_Table_Homogeneous_Mode {...} Edje_Object_Table_Homogeneous_Mode;
28
+ enum :edje_object_table_homogeneous_mode, [ :edje_object_table_homogeneous_none, 0, :edje_object_table_homogeneous_table, 1,
29
+ :edje_object_table_homogeneous_item, 2 ]
30
+ # typedef enum _Edje_Part_Type {...} Edje_Part_Type;
31
+ enum :edje_part_type, [ :edje_part_type_none, 0, :edje_part_type_rectangle, 1, :edje_part_type_text, 2, :edje_part_type_image, 3,
32
+ :edje_part_type_swallow, 4, :edje_part_type_textblock, 5, :edje_part_type_gradient, 6, :edje_part_type_group, 7, :edje_part_type_box, 8,
33
+ :edje_part_type_table, 9, :edje_part_type_external, 1, :edje_part_type_proxy, 1, :edje_part_type_last, 1 ]
34
+ # typedef enum _Edje_Text_Effect {...} Edje_Text_Effect;
35
+ enum :edje_text_effect, [ :edje_text_effect_none, 0, :edje_text_effect_plain, 1, :edje_text_effect_outline, 2, :edje_text_effect_soft_outline,
36
+ 3, :edje_text_effect_shadow, 4, :edje_text_effect_soft_shadow, 5, :edje_text_effect_outline_shadow, 6, :edje_text_effect_outline_soft_shadow, 7,
37
+ :edje_text_effect_far_shadow, 8, :edje_text_effect_far_soft_shadow, 9, :edje_text_effect_glow, 1, :edje_text_effect_last, 1,
38
+ :edje_text_effect_shadow_direction_bottom_right, :edje_text_effect_shadow_direction_bottom, :edje_text_effect_shadow_direction_bottom_left,
39
+ :edje_text_effect_shadow_direction_left, :edje_text_effect_shadow_direction_top_left, :edje_text_effect_shadow_direction_top,
40
+ :edje_text_effect_shadow_direction_top_right, :edje_text_effect_shadow_direction_right ]
41
+ # typedef enum _Edje_Action_Type {...} Edje_Action_Type;
42
+ enum :edje_action_type, [ :edje_action_type_none, 0, :edje_action_type_state_set, 1, :edje_action_type_action_stop, 2,
43
+ :edje_action_type_signal_emit, 3, :edje_action_type_drag_val_set, 4, :edje_action_type_drag_val_step, 5, :edje_action_type_drag_val_page, 6,
44
+ :edje_action_type_script, 7, :edje_action_type_focus_set, 8, :edje_action_type_reserved00, 9, :edje_action_type_focus_object, 1,
45
+ :edje_action_type_param_copy, 1, :edje_action_type_param_set, 1, :edje_action_type_last, 1 ]
46
+ # typedef enum _Edje_Tween_Mode {...} Edje_Tween_Mode;
47
+ enum :edje_tween_mode, [ :edje_tween_mode_none, 0, :edje_tween_mode_linear, 1, :edje_tween_mode_sinusoidal, 2, :edje_tween_mode_accelerate, 3,
48
+ :edje_tween_mode_decelerate, 4, :edje_tween_mode_last, 5 ]
49
+ # typedef enum _Edje_Cursor {...} Edje_Cursor;
50
+ enum :edje_cursor, [ :edje_cursor_main, :edje_cursor_selection_begin, :edje_cursor_selection_end, :edje_cursor_preedit_start,
51
+ :edje_cursor_preedit_end, :edje_cursor_user, :edje_cursor_user_extra ]
52
+ # typedef enum _Edje_Drag_Dir {...} Edje_Drag_Dir;
53
+ enum :edje_drag_dir, [ :edje_drag_dir_none, 0, :edje_drag_dir_x, 1, :edje_drag_dir_y, 2, :edje_drag_dir_xy, 3 ]
54
+ # typedef enum _Edje_Load_Error {...} Edje_Load_Error;
55
+ enum :edje_load_error, [ :edje_load_error_none, 0, :edje_load_error_generic, 1, :edje_load_error_does_not_exist, 2,
56
+ :edje_load_error_permission_denied, 3, :edje_load_error_resource_allocation_failed, 4, :edje_load_error_corrupt_file, 5,
57
+ :edje_load_error_unknown_format, 6, :edje_load_error_incompatible_file, 7, :edje_load_error_unknown_collection, 8,
58
+ :edje_load_error_recursive_reference, 9 ]
59
+ # typedef enum _Edje_Text_Filter_Type {...} Edje_Text_Filter_Type;
60
+ enum :edje_text_filter_type, [ :edje_text_filter_text, 0, :edje_text_filter_format, 1, :edje_text_filter_markup, 2 ]
61
+ # typedef enum _Edje_External_Param_Type {...} Edje_External_Param_Type;
62
+ enum :edje_external_param_type, [ :edje_external_param_type_int, :edje_external_param_type_double, :edje_external_param_type_string,
63
+ :edje_external_param_type_bool, :edje_external_param_type_choice, :edje_external_param_type_max ]
64
+ # typedef enum _Edje_External_Param_Flags {...} Edje_External_Param_Flags;
65
+ enum :edje_external_param_flags, [ :edje_external_param_flags_none, 0, :edje_external_param_flags_get, :edje_external_param_flags_set,
66
+ :edje_external_param_flags_state, :edje_external_param_flags_constructor, :edje_external_param_flags_regular, :edje_external_param_flags_set,
67
+ :edje_external_param_flags_state ]
68
+ #
69
+ # TYPEDEFS
70
+ # typedef struct _Edje_Version Edje_Version;
71
+ typedef :pointer, :edje_version
72
+ # typedef struct _Edje_Message_String Edje_Message_String;
73
+ typedef :pointer, :edje_message_string
74
+ # typedef struct _Edje_Message_Int Edje_Message_Int;
75
+ typedef :pointer, :edje_message_int
76
+ # typedef struct _Edje_Message_Float Edje_Message_Float;
77
+ typedef :pointer, :edje_message_float
78
+ # typedef struct _Edje_Message_String_Set Edje_Message_String_Set;
79
+ typedef :pointer, :edje_message_string_set
80
+ # typedef struct _Edje_Message_Int_Set Edje_Message_Int_Set;
81
+ typedef :pointer, :edje_message_int_set
82
+ # typedef struct _Edje_Message_Float_Set Edje_Message_Float_Set;
83
+ typedef :pointer, :edje_message_float_set
84
+ # typedef struct _Edje_Message_String_Int Edje_Message_String_Int;
85
+ typedef :pointer, :edje_message_string_int
86
+ # typedef struct _Edje_Message_String_Float Edje_Message_String_Float;
87
+ typedef :pointer, :edje_message_string_float
88
+ # typedef struct _Edje_Message_String_Int_Set Edje_Message_String_Int_Set;
89
+ typedef :pointer, :edje_message_string_int_set
90
+ # typedef struct _Edje_Message_String_Float_Set Edje_Message_String_Float_Set;
91
+ typedef :pointer, :edje_message_string_float_set
92
+ # typedef struct _Edje_External_Param Edje_External_Param;
93
+ typedef :pointer, :edje_external_param
94
+ typedef :pointer, :edje_external_param_p
95
+ # typedef struct _Edje_External_Param_Info Edje_External_Param_Info;
96
+ typedef :pointer, :edje_external_param_info
97
+ typedef :pointer, :edje_external_param_info_p
98
+ # typedef struct _Edje_External_Type Edje_External_Type;
99
+ typedef :pointer, :edje_external_type
100
+ typedef :pointer, :edje_external_type_p
101
+ # typedef struct _Edje_External_Type_Info Edje_External_Type_Info;
102
+ typedef :pointer, :edje_external_type_info
103
+ typedef :pointer, :edje_external_type_info_p
104
+ # typedef struct _Edje_Perspective Edje_Perspective;
105
+ typedef :pointer, :edje_perspective
106
+ typedef :pointer, :edje_perspective_p
107
+ #
108
+ # CALLBACKS
109
+ # typedef void (*Edje_Signal_Cb) (void *data, Evas_Object *obj, const char *emission, const char *source);
110
+ callback :edje_signal_cb, [ :void_p, :evas_object_p, :string, :string ], :void
111
+ # typedef void (*Edje_Text_Change_Cb) (void *data, Evas_Object *obj, const char *part);
112
+ callback :edje_text_change_cb, [ :void_p, :evas_object_p, :string ], :void
113
+ # typedef void (*Edje_Message_Handler_Cb) (void *data, Evas_Object *obj, Edje_Message_Type type, int id, void *msg);
114
+ callback :edje_message_handler_cb, [ :void_p, :evas_object_p, :edje_message_type, :int, :void_p ], :void
115
+ # typedef void (*Edje_Text_Filter_Cb) (void *data, Evas_Object *obj, const char *part, Edje_Text_Filter_Type type, char **text);
116
+ callback :edje_text_filter_cb, [ :void_p, :evas_object_p, :string, :edje_text_filter_type, :string_array ], :void
117
+ # typedef Evas_Object *(*Edje_Item_Provider_Cb) (void *data, Evas_Object *obj, const char *part, const char *item);
118
+ callback :edje_item_provider_cb, [ :void_p, :evas_object_p, :string, :string ], :evas_object_p
119
+ #
120
+ # FUNCTIONS
121
+ fcts = [
122
+ # EAPI extern Edje_Version *edje_version;
123
+ # FIXME
124
+ # EAPI const char *edje_external_param_type_str(Edje_External_Param_Type type) EINA_PURE;
125
+ [ :edje_external_param_type_str, [ :edje_external_param_type ], :string ],
126
+ # EAPI int edje_init (void);
127
+ [ :edje_init, [ ], :int ],
128
+ # EAPI int edje_shutdown (void);
129
+ [ :edje_shutdown, [ ], :int ],
130
+ # EAPI void edje_frametime_set (double t);
131
+ [ :edje_frametime_set, [ :double ], :void ],
132
+ # EAPI double edje_frametime_get (void);
133
+ [ :edje_frametime_get, [ ], :double ],
134
+ # EAPI void edje_freeze (void);
135
+ [ :edje_freeze, [ ], :void ],
136
+ # EAPI void edje_thaw (void);
137
+ [ :edje_thaw, [ ], :void ],
138
+ # EAPI void edje_fontset_append_set (const char *fonts);
139
+ [ :edje_fontset_append_set, [ :string ], :void ],
140
+ # EAPI const char *edje_fontset_append_get (void);
141
+ [ :edje_fontset_append_get, [ ], :string ],
142
+ # EAPI void edje_scale_set (double scale);
143
+ [ :edje_scale_set, [ :double ], :void ],
144
+ # EAPI double edje_scale_get (void);
145
+ [ :edje_scale_get, [ ], :double ],
146
+ # EAPI Eina_Bool edje_object_scale_set (Evas_Object *obj, double scale);
147
+ [ :edje_object_scale_set, [ :evas_object_p, :double ], :eina_bool ],
148
+ # EAPI double edje_object_scale_get (const Evas_Object *obj);
149
+ [ :edje_object_scale_get, [ :evas_object_p ], :double ],
150
+ # EAPI void edje_object_mirrored_set (Evas_Object *obj, Eina_Bool rtl);
151
+ [ :edje_object_mirrored_set, [ :evas_object_p, :eina_bool ], :void ],
152
+ # EAPI Eina_Bool edje_object_mirrored_get (const Evas_Object *obj);
153
+ [ :edje_object_mirrored_get, [ :evas_object_p ], :eina_bool ],
154
+ # EAPI Eina_List *edje_file_collection_list (const char *file);
155
+ [ :edje_file_collection_list, [ :string ], :eina_list_p ],
156
+ # EAPI void edje_file_collection_list_free (Eina_List *lst);
157
+ [ :edje_file_collection_list_free, [ :eina_list_p ], :void ],
158
+ # EAPI Eina_Bool edje_file_group_exists (const char *file, const char *glob);
159
+ [ :edje_file_group_exists, [ :string, :string ], :eina_bool ],
160
+ # EAPI char *edje_file_data_get (const char *file, const char *key);
161
+ [ :edje_file_data_get, [ :string, :string ], :string ],
162
+ # EAPI void edje_file_cache_set (int count);
163
+ [ :edje_file_cache_set, [ :int ], :void ],
164
+ # EAPI int edje_file_cache_get (void);
165
+ [ :edje_file_cache_get, [ ], :int ],
166
+ # EAPI void edje_file_cache_flush (void);
167
+ [ :edje_file_cache_flush, [ ], :void ],
168
+ # EAPI void edje_collection_cache_set (int count);
169
+ [ :edje_collection_cache_set, [ :int ], :void ],
170
+ # EAPI int edje_collection_cache_get (void);
171
+ [ :edje_collection_cache_get, [ ], :int ],
172
+ # EAPI void edje_collection_cache_flush (void);
173
+ [ :edje_collection_cache_flush, [ ], :void ],
174
+ # EAPI Eina_Bool edje_color_class_set (const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3);
175
+ [ :edje_color_class_set, [ :string, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int ], :eina_bool ],
176
+ # EAPI Eina_Bool edje_color_class_get (const char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3);
177
+ [ :edje_color_class_get, [ :string, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p ],
178
+ :eina_bool ],
179
+ # EAPI void edje_color_class_del (const char *color_class);
180
+ [ :edje_color_class_del, [ :string ], :void ],
181
+ # EAPI Eina_List *edje_color_class_list (void);
182
+ [ :edje_color_class_list, [ ], :eina_list_p ],
183
+ # EAPI Eina_Bool edje_text_class_set (const char *text_class, const char *font, Evas_Font_Size size);
184
+ [ :edje_text_class_set, [ :string, :string, :int ], :eina_bool ],
185
+ # EAPI void edje_text_class_del (const char *text_class);
186
+ [ :edje_text_class_del, [ :string ], :void ],
187
+ # EAPI Eina_List *edje_text_class_list (void);
188
+ [ :edje_text_class_list, [ ], :eina_list_p ],
189
+ # EAPI void edje_extern_object_min_size_set (Evas_Object *obj, Evas_Coord minw, Evas_Coord minh);
190
+ [ :edje_extern_object_min_size_set, [ :evas_object_p, :int, :int ], :void ],
191
+ # EAPI void edje_extern_object_max_size_set (Evas_Object *obj, Evas_Coord maxw, Evas_Coord maxh);
192
+ [ :edje_extern_object_max_size_set, [ :evas_object_p, :int, :int ], :void ],
193
+ # EAPI void edje_extern_object_aspect_set (Evas_Object *obj, Edje_Aspect_Control aspect, Evas_Coord aw, Evas_Coord ah);
194
+ [ :edje_extern_object_aspect_set, [ :evas_object_p, :edje_aspect_control, :int, :int ], :void ],
195
+ # EAPI void edje_box_layout_register (const char *name, Evas_Object_Box_Layout func, void *(*layout_data_get)(void *), void (*layout_data_free)(void *), void (*free_data)(void *), void *data);
196
+ # FIXME
197
+ # EAPI Evas_Object *edje_object_add (Evas *evas);
198
+ [ :edje_object_add, [ :evas_p ], :evas_object_p ],
199
+ # EAPI const char *edje_object_data_get (const Evas_Object *obj, const char *key);
200
+ [ :edje_object_data_get, [ :evas_object_p, :string ], :string ],
201
+ # EAPI Eina_Bool edje_object_file_set (Evas_Object *obj, const char *file, const char *group);
202
+ [ :edje_object_file_set, [ :evas_object_p, :string, :string ], :eina_bool ],
203
+ # EAPI void edje_object_file_get (const Evas_Object *obj, const char **file, const char **group);
204
+ [ :edje_object_file_get, [ :evas_object_p, :string_array, :string_array ], :void ],
205
+ # EAPI Edje_Load_Error edje_object_load_error_get (const Evas_Object *obj);
206
+ [ :edje_object_load_error_get, [ :evas_object_p ], :edje_load_error ],
207
+ # EAPI const char *edje_load_error_str (Edje_Load_Error error);
208
+ [ :edje_load_error_str, [ :edje_load_error ], :string ],
209
+ # EAPI Eina_Bool edje_object_preload (Evas_Object *obj, Eina_Bool cancel);
210
+ [ :edje_object_preload, [ :evas_object_p, :eina_bool ], :eina_bool ],
211
+ # EAPI void edje_object_signal_callback_add (Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data);
212
+ [ :edje_object_signal_callback_add, [ :evas_object_p, :string, :string, :edje_signal_cb, :void_p ], :void ],
213
+ # EAPI void *edje_object_signal_callback_del (Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func);
214
+ [ :edje_object_signal_callback_del, [ :evas_object_p, :string, :string, :edje_signal_cb ], :void_p ],
215
+ # EAPI void *edje_object_signal_callback_del_full(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data);
216
+ [ :edje_object_signal_callback_del_full, [ :evas_object_p, :string, :string, :edje_signal_cb, :void_p ], :void_p ],
217
+ # EAPI void edje_object_signal_emit (Evas_Object *obj, const char *emission, const char *source);
218
+ [ :edje_object_signal_emit, [ :evas_object_p, :string, :string ], :void ],
219
+ # EAPI void edje_object_play_set (Evas_Object *obj, Eina_Bool play);
220
+ [ :edje_object_play_set, [ :evas_object_p, :eina_bool ], :void ],
221
+ # EAPI Eina_Bool edje_object_play_get (const Evas_Object *obj);
222
+ [ :edje_object_play_get, [ :evas_object_p ], :eina_bool ],
223
+ # EAPI void edje_object_animation_set (Evas_Object *obj, Eina_Bool on);
224
+ [ :edje_object_animation_set, [ :evas_object_p, :eina_bool ], :void ],
225
+ # EAPI Eina_Bool edje_object_animation_get (const Evas_Object *obj);
226
+ [ :edje_object_animation_get, [ :evas_object_p ], :eina_bool ],
227
+ # EAPI int edje_object_freeze (Evas_Object *obj);
228
+ [ :edje_object_freeze, [ :evas_object_p ], :int ],
229
+ # EAPI int edje_object_thaw (Evas_Object *obj);
230
+ [ :edje_object_thaw, [ :evas_object_p ], :int ],
231
+ # EAPI Eina_Bool edje_object_color_class_set (Evas_Object *obj, const char *color_class, int r, int g, int b, int a, int r2, int g2, int b2, int a2, int r3, int g3, int b3, int a3);
232
+ [ :edje_object_color_class_set, [ :evas_object_p, :string, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int, :int ],
233
+ :eina_bool ],
234
+ # EAPI Eina_Bool edje_object_color_class_get (const Evas_Object *o, const char *color_class, int *r, int *g, int *b, int *a, int *r2, int *g2, int *b2, int *a2, int *r3, int *g3, int *b3, int *a3);
235
+ [ :edje_object_color_class_get, [ :evas_object_p, :string, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p, :int_p,
236
+ :int_p, :int_p ], :eina_bool ],
237
+ # EAPI void edje_object_color_class_del (Evas_Object *obj, const char *color_class);
238
+ [ :edje_object_color_class_del, [ :evas_object_p, :string ], :void ],
239
+ # EAPI Eina_Bool edje_object_text_class_set (Evas_Object *obj, const char *text_class, const char *font, Evas_Font_Size size);
240
+ [ :edje_object_text_class_set, [ :evas_object_p, :string, :string, :int ], :eina_bool ],
241
+ # EAPI void edje_object_size_min_get (const Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh);
242
+ [ :edje_object_size_min_get, [ :evas_object_p, :int_p, :int_p ], :void ],
243
+ # EAPI void edje_object_size_max_get (const Evas_Object *obj, Evas_Coord *maxw, Evas_Coord *maxh);
244
+ [ :edje_object_size_max_get, [ :evas_object_p, :int_p, :int_p ], :void ],
245
+ # EAPI void edje_object_calc_force (Evas_Object *obj);
246
+ [ :edje_object_calc_force, [ :evas_object_p ], :void ],
247
+ # EAPI void edje_object_size_min_calc (Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh);
248
+ [ :edje_object_size_min_calc, [ :evas_object_p, :int_p, :int_p ], :void ],
249
+ # EAPI Eina_Bool edje_object_parts_extends_calc (Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
250
+ [ :edje_object_parts_extends_calc, [ :evas_object_p, :int_p, :int_p, :int_p, :int_p ], :eina_bool ],
251
+ # EAPI void edje_object_size_min_restricted_calc(Evas_Object *obj, Evas_Coord *minw, Evas_Coord *minh, Evas_Coord restrictedw, Evas_Coord restrictedh);
252
+ [ :edje_object_size_min_restricted_calc, [ :evas_object_p, :int_p, :int_p, :int, :int ], :void ],
253
+ # EAPI Eina_Bool edje_object_part_exists (const Evas_Object *obj, const char *part);
254
+ [ :edje_object_part_exists, [ :evas_object_p, :string ], :eina_bool ],
255
+ # EAPI const Evas_Object *edje_object_part_object_get (const Evas_Object *obj, const char *part);
256
+ [ :edje_object_part_object_get, [ :evas_object_p, :string ], :evas_object_p ],
257
+ # EAPI Eina_Bool edje_object_part_geometry_get (const Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
258
+ [ :edje_object_part_geometry_get, [ :evas_object_p, :string, :int_p, :int_p, :int_p, :int_p ], :eina_bool ],
259
+ # EAPI void edje_object_item_provider_set (Evas_Object *obj, Edje_Item_Provider_Cb func, void *data);
260
+ [ :edje_object_item_provider_set, [ :evas_object_p, :edje_item_provider_cb, :void_p ], :void ],
261
+ # EAPI void edje_object_text_change_cb_set (Evas_Object *obj, Edje_Text_Change_Cb func, void *data);
262
+ [ :edje_object_text_change_cb_set, [ :evas_object_p, :edje_text_change_cb, :void_p ], :void ],
263
+ # EAPI Eina_Bool edje_object_part_text_set (Evas_Object *obj, const char *part, const char *text);
264
+ [ :edje_object_part_text_set, [ :evas_object_p, :string, :string ], :eina_bool ],
265
+ # EAPI const char *edje_object_part_text_get (const Evas_Object *obj, const char *part);
266
+ [ :edje_object_part_text_get, [ :evas_object_p, :string ], :string ],
267
+ # EAPI Eina_Bool edje_object_part_text_unescaped_set (Evas_Object *obj, const char *part, const char *text_to_escape);
268
+ [ :edje_object_part_text_unescaped_set, [ :evas_object_p, :string, :string ], :eina_bool ],
269
+ # EAPI char *edje_object_part_text_unescaped_get (const Evas_Object *obj, const char *part);
270
+ [ :edje_object_part_text_unescaped_get, [ :evas_object_p, :string ], :string ],
271
+ # EAPI const char *edje_object_part_text_selection_get (const Evas_Object *obj, const char *part);
272
+ [ :edje_object_part_text_selection_get, [ :evas_object_p, :string ], :string ],
273
+ # EAPI void edje_object_part_text_select_none (const Evas_Object *obj, const char *part);
274
+ [ :edje_object_part_text_select_none, [ :evas_object_p, :string ], :void ],
275
+ # EAPI void edje_object_part_text_select_all (const Evas_Object *obj, const char *part);
276
+ [ :edje_object_part_text_select_all, [ :evas_object_p, :string ], :void ],
277
+ # EAPI void edje_object_part_text_insert (Evas_Object *obj, const char *part, const char *text);
278
+ [ :edje_object_part_text_insert, [ :evas_object_p, :string, :string ], :void ],
279
+ # EAPI const Eina_List *edje_object_part_text_anchor_list_get (const Evas_Object *obj, const char *part);
280
+ [ :edje_object_part_text_anchor_list_get, [ :evas_object_p, :string ], :eina_list_p ],
281
+ # EAPI const Eina_List *edje_object_part_text_anchor_geometry_get (const Evas_Object *obj, const char *part, const char *anchor);
282
+ [ :edje_object_part_text_anchor_geometry_get, [ :evas_object_p, :string, :string ], :eina_list_p ],
283
+ # EAPI const Eina_List *edje_object_part_text_item_list_get (const Evas_Object *obj, const char *part);
284
+ [ :edje_object_part_text_item_list_get, [ :evas_object_p, :string ], :eina_list_p ],
285
+ # EAPI Eina_Bool edje_object_part_text_item_geometry_get (const Evas_Object *obj, const char *part, const char *item, Evas_Coord *cx, Evas_Coord *cy, Evas_Coord *cw, Evas_Coord *ch);
286
+ [ :edje_object_part_text_item_geometry_get, [ :evas_object_p, :string, :string, :int_p, :int_p, :int_p, :int_p ], :eina_bool ],
287
+ # EAPI void edje_object_part_text_cursor_geometry_get (const Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
288
+ [ :edje_object_part_text_cursor_geometry_get, [ :evas_object_p, :string, :int_p, :int_p, :int_p, :int_p ], :void ],
289
+ # EAPI void edje_object_part_text_select_allow_set (const Evas_Object *obj, const char *part, Eina_Bool allow);
290
+ [ :edje_object_part_text_select_allow_set, [ :evas_object_p, :string, :eina_bool ], :void ],
291
+ # EAPI void edje_object_part_text_select_abort (const Evas_Object *obj, const char *part);
292
+ [ :edje_object_part_text_select_abort, [ :evas_object_p, :string ], :void ],
293
+ # EAPI void edje_object_part_text_select_begin (const Evas_Object *obj, const char *part);
294
+ [ :edje_object_part_text_select_begin, [ :evas_object_p, :string ], :void ],
295
+ # EAPI void edje_object_part_text_select_extend (const Evas_Object *obj, const char *part);
296
+ [ :edje_object_part_text_select_extend, [ :evas_object_p, :string ], :void ],
297
+ # EAPI Eina_Bool edje_object_part_text_cursor_next (Evas_Object *obj, const char *part, Edje_Cursor cur);
298
+ [ :edje_object_part_text_cursor_next, [ :evas_object_p, :string, :edje_cursor ], :eina_bool ],
299
+ # EAPI Eina_Bool edje_object_part_text_cursor_prev (Evas_Object *obj, const char *part, Edje_Cursor cur);
300
+ [ :edje_object_part_text_cursor_prev, [ :evas_object_p, :string, :edje_cursor ], :eina_bool ],
301
+ # EAPI Eina_Bool edje_object_part_text_cursor_up (Evas_Object *obj, const char *part, Edje_Cursor cur);
302
+ [ :edje_object_part_text_cursor_up, [ :evas_object_p, :string, :edje_cursor ], :eina_bool ],
303
+ # EAPI Eina_Bool edje_object_part_text_cursor_down (Evas_Object *obj, const char *part, Edje_Cursor cur);
304
+ [ :edje_object_part_text_cursor_down, [ :evas_object_p, :string, :edje_cursor ], :eina_bool ],
305
+ # EAPI void edje_object_part_text_cursor_begin_set (Evas_Object *obj, const char *part, Edje_Cursor cur);
306
+ [ :edje_object_part_text_cursor_begin_set, [ :evas_object_p, :string, :edje_cursor ], :void ],
307
+ # EAPI void edje_object_part_text_cursor_end_set (Evas_Object *obj, const char *part, Edje_Cursor cur);
308
+ [ :edje_object_part_text_cursor_end_set, [ :evas_object_p, :string, :edje_cursor ], :void ],
309
+ # EAPI void edje_object_part_text_cursor_copy (Evas_Object *obj, const char *part, Edje_Cursor src, Edje_Cursor dst);
310
+ [ :edje_object_part_text_cursor_copy, [ :evas_object_p, :string, :edje_cursor, :edje_cursor ], :void ],
311
+ # EAPI void edje_object_part_text_cursor_line_begin_set (Evas_Object *obj, const char *part, Edje_Cursor cur);
312
+ [ :edje_object_part_text_cursor_line_begin_set, [ :evas_object_p, :string, :edje_cursor ], :void ],
313
+ # EAPI void edje_object_part_text_cursor_line_end_set (Evas_Object *obj, const char *part, Edje_Cursor cur);
314
+ [ :edje_object_part_text_cursor_line_end_set, [ :evas_object_p, :string, :edje_cursor ], :void ],
315
+ # EAPI Eina_Bool edje_object_part_text_cursor_coord_set (Evas_Object *obj, const char *part, Edje_Cursor cur, Evas_Coord x, Evas_Coord y);
316
+ [ :edje_object_part_text_cursor_coord_set, [ :evas_object_p, :string, :edje_cursor, :int, :int ], :eina_bool ],
317
+ # EAPI Eina_Bool edje_object_part_text_cursor_is_format_get (const Evas_Object *obj, const char *part, Edje_Cursor cur);
318
+ [ :edje_object_part_text_cursor_is_format_get, [ :evas_object_p, :string, :edje_cursor ], :eina_bool ],
319
+ # EAPI Eina_Bool edje_object_part_text_cursor_is_visible_format_get(const Evas_Object *obj, const char *part, Edje_Cursor cur);
320
+ [ :edje_object_part_text_cursor_is_visible_format_get, [ :evas_object_p, :string, :edje_cursor ], :eina_bool ],
321
+ # EAPI const char *edje_object_part_text_cursor_content_get (const Evas_Object *obj, const char *part, Edje_Cursor cur);
322
+ [ :edje_object_part_text_cursor_content_get, [ :evas_object_p, :string, :edje_cursor ], :string ],
323
+ # EAPI void edje_object_part_text_cursor_pos_set (Evas_Object *obj, const char *part, Edje_Cursor cur, int pos);
324
+ [ :edje_object_part_text_cursor_pos_set, [ :evas_object_p, :string, :edje_cursor, :int ], :void ],
325
+ # EAPI int edje_object_part_text_cursor_pos_get (const Evas_Object *obj, const char *part, Edje_Cursor cur);
326
+ [ :edje_object_part_text_cursor_pos_get, [ :evas_object_p, :string, :edje_cursor ], :int ],
327
+ # EAPI void edje_object_text_insert_filter_callback_add (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data);
328
+ [ :edje_object_text_insert_filter_callback_add, [ :evas_object_p, :string, :edje_text_filter_cb, :void_p ], :void ],
329
+ # EAPI void *edje_object_text_insert_filter_callback_del (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func);
330
+ [ :edje_object_text_insert_filter_callback_del, [ :evas_object_p, :string, :edje_text_filter_cb ], :void_p ],
331
+ # EAPI void *edje_object_text_insert_filter_callback_del_full (Evas_Object *obj, const char *part, Edje_Text_Filter_Cb func, void *data);
332
+ [ :edje_object_text_insert_filter_callback_del_full, [ :evas_object_p, :string, :edje_text_filter_cb, :void_p ], :void_p ],
333
+ # EAPI Eina_Bool edje_object_part_swallow (Evas_Object *obj, const char *part, Evas_Object *obj_swallow);
334
+ [ :edje_object_part_swallow, [ :evas_object_p, :string, :evas_object_p ], :eina_bool ],
335
+ # EAPI void edje_object_part_unswallow (Evas_Object *obj, Evas_Object *obj_swallow);
336
+ [ :edje_object_part_unswallow, [ :evas_object_p, :evas_object_p ], :void ],
337
+ # EAPI Evas_Object *edje_object_part_swallow_get (const Evas_Object *obj, const char *part);
338
+ [ :edje_object_part_swallow_get, [ :evas_object_p, :string ], :evas_object_p ],
339
+ # EAPI const char *edje_object_part_state_get (const Evas_Object *obj, const char *part, double *val_ret);
340
+ [ :edje_object_part_state_get, [ :evas_object_p, :string, :double_p ], :string ],
341
+ # EAPI Edje_Drag_Dir edje_object_part_drag_dir_get (const Evas_Object *obj, const char *part);
342
+ [ :edje_object_part_drag_dir_get, [ :evas_object_p, :string ], :edje_drag_dir ],
343
+ # EAPI Eina_Bool edje_object_part_drag_value_set (Evas_Object *obj, const char *part, double dx, double dy);
344
+ [ :edje_object_part_drag_value_set, [ :evas_object_p, :string, :double, :double ], :eina_bool ],
345
+ # EAPI Eina_Bool edje_object_part_drag_value_get (const Evas_Object *obj, const char *part, double *dx, double *dy);
346
+ [ :edje_object_part_drag_value_get, [ :evas_object_p, :string, :double_p, :double_p ], :eina_bool ],
347
+ # EAPI Eina_Bool edje_object_part_drag_size_set (Evas_Object *obj, const char *part, double dw, double dh);
348
+ [ :edje_object_part_drag_size_set, [ :evas_object_p, :string, :double, :double ], :eina_bool ],
349
+ # EAPI Eina_Bool edje_object_part_drag_size_get (const Evas_Object *obj, const char *part, double *dw, double *dh);
350
+ [ :edje_object_part_drag_size_get, [ :evas_object_p, :string, :double_p, :double_p ], :eina_bool ],
351
+ # EAPI Eina_Bool edje_object_part_drag_step_set (Evas_Object *obj, const char *part, double dx, double dy);
352
+ [ :edje_object_part_drag_step_set, [ :evas_object_p, :string, :double, :double ], :eina_bool ],
353
+ # EAPI Eina_Bool edje_object_part_drag_step_get (const Evas_Object *obj, const char *part, double *dx, double *dy);
354
+ [ :edje_object_part_drag_step_get, [ :evas_object_p, :string, :double_p, :double_p ], :eina_bool ],
355
+ # EAPI Eina_Bool edje_object_part_drag_page_set (Evas_Object *obj, const char *part, double dx, double dy);
356
+ [ :edje_object_part_drag_page_set, [ :evas_object_p, :string, :double, :double ], :eina_bool ],
357
+ # EAPI Eina_Bool edje_object_part_drag_page_get (const Evas_Object *obj, const char *part, double *dx, double *dy);
358
+ [ :edje_object_part_drag_page_get, [ :evas_object_p, :string, :double_p, :double_p ], :eina_bool ],
359
+ # EAPI Eina_Bool edje_object_part_drag_step (Evas_Object *obj, const char *part, double dx, double dy);
360
+ [ :edje_object_part_drag_step, [ :evas_object_p, :string, :double, :double ], :eina_bool ],
361
+ # EAPI Eina_Bool edje_object_part_drag_page (Evas_Object *obj, const char *part, double dx, double dy);
362
+ [ :edje_object_part_drag_page, [ :evas_object_p, :string, :double, :double ], :eina_bool ],
363
+ # EAPI Evas_Object *edje_object_part_external_object_get (const Evas_Object *obj, const char *part);
364
+ [ :edje_object_part_external_object_get, [ :evas_object_p, :string ], :evas_object_p ],
365
+ # EAPI Eina_Bool edje_object_part_external_param_set (Evas_Object *obj, const char *part, const Edje_External_Param *param);
366
+ [ :edje_object_part_external_param_set, [ :evas_object_p, :string, :edje_external_param_p ], :eina_bool ],
367
+ # EAPI Eina_Bool edje_object_part_external_param_get (const Evas_Object *obj, const char *part, Edje_External_Param *param);
368
+ [ :edje_object_part_external_param_get, [ :evas_object_p, :string, :edje_external_param_p ], :eina_bool ],
369
+ # EAPI Evas_Object *edje_object_part_external_content_get (const Evas_Object *obj, const char *part, const char *content);
370
+ [ :edje_object_part_external_content_get, [ :evas_object_p, :string, :string ], :evas_object_p ],
371
+ # EAPI Edje_External_Param_Type edje_object_part_external_param_type_get (const Evas_Object *obj, const char *part, const char *param);
372
+ [ :edje_object_part_external_param_type_get, [ :evas_object_p, :string, :string ], :edje_external_param_type ],
373
+ # EAPI Eina_Bool edje_object_part_box_append (Evas_Object *obj, const char *part, Evas_Object *child);
374
+ [ :edje_object_part_box_append, [ :evas_object_p, :string, :evas_object_p ], :eina_bool ],
375
+ # EAPI Eina_Bool edje_object_part_box_prepend (Evas_Object *obj, const char *part, Evas_Object *child);
376
+ [ :edje_object_part_box_prepend, [ :evas_object_p, :string, :evas_object_p ], :eina_bool ],
377
+ # EAPI Eina_Bool edje_object_part_box_insert_before (Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference);
378
+ [ :edje_object_part_box_insert_before, [ :evas_object_p, :string, :evas_object_p, :evas_object_p ], :eina_bool ],
379
+ # EAPI Eina_Bool edje_object_part_box_insert_at (Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos);
380
+ [ :edje_object_part_box_insert_at, [ :evas_object_p, :string, :evas_object_p, :uint ], :eina_bool ],
381
+ # EAPI Evas_Object *edje_object_part_box_remove (Evas_Object *obj, const char *part, Evas_Object *child);
382
+ [ :edje_object_part_box_remove, [ :evas_object_p, :string, :evas_object_p ], :evas_object_p ],
383
+ # EAPI Evas_Object *edje_object_part_box_remove_at (Evas_Object *obj, const char *part, unsigned int pos);
384
+ [ :edje_object_part_box_remove_at, [ :evas_object_p, :string, :uint ], :evas_object_p ],
385
+ # EAPI Eina_Bool edje_object_part_box_remove_all (Evas_Object *obj, const char *part, Eina_Bool clear);
386
+ [ :edje_object_part_box_remove_all, [ :evas_object_p, :string, :eina_bool ], :eina_bool ],
387
+ # EAPI Evas_Object *edje_object_part_table_child_get (Evas_Object *obj, const char *part, unsigned int col, unsigned int row);
388
+ [ :edje_object_part_table_child_get, [ :evas_object_p, :string, :uint, :uint ], :evas_object_p ],
389
+ # EAPI Eina_Bool edje_object_part_table_pack (Evas_Object *obj, const char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan);
390
+ [ :edje_object_part_table_pack, [ :evas_object_p, :string, :evas_object_p, :ushort, :ushort, :ushort, :ushort ], :eina_bool ],
391
+ # EAPI Eina_Bool edje_object_part_table_unpack (Evas_Object *obj, const char *part, Evas_Object *child_obj);
392
+ [ :edje_object_part_table_unpack, [ :evas_object_p, :string, :evas_object_p ], :eina_bool ],
393
+ # EAPI Eina_Bool edje_object_part_table_col_row_size_get (const Evas_Object *obj, const char *part, int *cols, int *rows);
394
+ [ :edje_object_part_table_col_row_size_get, [ :evas_object_p, :string, :int_p, :int_p ], :eina_bool ],
395
+ # EAPI Eina_Bool edje_object_part_table_clear (Evas_Object *obj, const char *part, Eina_Bool clear);
396
+ [ :edje_object_part_table_clear, [ :evas_object_p, :string, :eina_bool ], :eina_bool ],
397
+ # EAPI void edje_object_message_send (Evas_Object *obj, Edje_Message_Type type, int id, void *msg);
398
+ [ :edje_object_message_send, [ :evas_object_p, :edje_message_type, :int, :void_p ], :void ],
399
+ # EAPI void edje_object_message_handler_set (Evas_Object *obj, Edje_Message_Handler_Cb func, void *data);
400
+ [ :edje_object_message_handler_set, [ :evas_object_p, :edje_message_handler_cb, :void_p ], :void ],
401
+ # EAPI void edje_object_message_signal_process (Evas_Object *obj);
402
+ [ :edje_object_message_signal_process, [ :evas_object_p ], :void ],
403
+ # EAPI void edje_message_signal_process (void);
404
+ [ :edje_message_signal_process, [ ], :void ],
405
+ # EAPI Eina_Bool edje_external_type_register (const char *type_name, const Edje_External_Type *type_info);
406
+ [ :edje_external_type_register, [ :string, :edje_external_type_p ], :eina_bool ],
407
+ # EAPI Eina_Bool edje_external_type_unregister (const char *type_name);
408
+ [ :edje_external_type_unregister, [ :string ], :eina_bool ],
409
+ # EAPI void edje_external_type_array_register (const Edje_External_Type_Info *array);
410
+ [ :edje_external_type_array_register, [ :edje_external_type_info_p ], :void ],
411
+ # EAPI void edje_external_type_array_unregister (const Edje_External_Type_Info *array);
412
+ [ :edje_external_type_array_unregister, [ :edje_external_type_info_p ], :void ],
413
+ # EAPI unsigned int edje_external_type_abi_version_get (void) EINA_CONST;
414
+ [ :edje_external_type_abi_version_get, [ ], :uint ],
415
+ # EAPI Eina_Iterator *edje_external_iterator_get (void);
416
+ [ :edje_external_iterator_get, [ ], :eina_iterator_p ],
417
+ # EAPI Edje_External_Param *edje_external_param_find (const Eina_List *params, const char *key);
418
+ [ :edje_external_param_find, [ :eina_list_p, :string ], :edje_external_param_p ],
419
+ # EAPI Eina_Bool edje_external_param_int_get (const Eina_List *params, const char *key, int *ret);
420
+ [ :edje_external_param_int_get, [ :eina_list_p, :string, :int_p ], :eina_bool ],
421
+ # EAPI Eina_Bool edje_external_param_double_get (const Eina_List *params, const char *key, double *ret);
422
+ [ :edje_external_param_double_get, [ :eina_list_p, :string, :double_p ], :eina_bool ],
423
+ # EAPI Eina_Bool edje_external_param_string_get (const Eina_List *params, const char *key, const char **ret);
424
+ [ :edje_external_param_string_get, [ :eina_list_p, :string, :string_array ], :eina_bool ],
425
+ # EAPI Eina_Bool edje_external_param_bool_get (const Eina_List *params, const char *key, Eina_Bool *ret);
426
+ [ :edje_external_param_bool_get, [ :eina_list_p, :string, :eina_bool_p ], :eina_bool ],
427
+ # EAPI Eina_Bool edje_external_param_choice_get (const Eina_List *params, const char *key, const char **ret);
428
+ [ :edje_external_param_choice_get, [ :eina_list_p, :string, :string_array ], :eina_bool ],
429
+ # EAPI const Edje_External_Param_Info *edje_external_param_info_get (const char *type_name);
430
+ [ :edje_external_param_info_get, [ :string ], :edje_external_param_info_p ],
431
+ # EAPI const Edje_External_Type *edje_external_type_get (const char *type_name);
432
+ [ :edje_external_type_get, [ :string ], :edje_external_type_p ],
433
+ # EAPI Eina_Bool edje_module_load (const char *module);
434
+ [ :edje_module_load, [ :string ], :eina_bool ],
435
+ # EAPI const Eina_List *edje_available_modules_get (void);
436
+ [ :edje_available_modules_get, [ ], :eina_list_p ],
437
+ # EAPI Edje_Perspective *edje_perspective_new (Evas *e);
438
+ [ :edje_perspective_new, [ :evas_p ], :edje_perspective_p ],
439
+ # EAPI void edje_perspective_free (Edje_Perspective *ps);
440
+ [ :edje_perspective_free, [ :edje_perspective_p ], :void ],
441
+ # EAPI void edje_perspective_set (Edje_Perspective *ps, Evas_Coord px, Evas_Coord py, Evas_Coord z0, Evas_Coord foc);
442
+ [ :edje_perspective_set, [ :edje_perspective_p, :int, :int, :int, :int ], :void ],
443
+ # EAPI void edje_perspective_global_set (Edje_Perspective *ps, Eina_Bool global);
444
+ [ :edje_perspective_global_set, [ :edje_perspective_p, :eina_bool ], :void ],
445
+ # EAPI Eina_Bool edje_perspective_global_get (const Edje_Perspective *ps);
446
+ [ :edje_perspective_global_get, [ :edje_perspective_p ], :eina_bool ],
447
+ # EAPI const Edje_Perspective *edje_evas_global_perspective_get(const Evas *e);
448
+ [ :edje_evas_global_perspective_get, [ :evas_p ], :edje_perspective_p ],
449
+ # EAPI void edje_object_perspective_set (Evas_Object *obj, Edje_Perspective *ps);
450
+ [ :edje_object_perspective_set, [ :evas_object_p, :edje_perspective_p ], :void ],
451
+ # EAPI const Edje_Perspective *edje_object_perspective_get (const Evas_Object *obj);
452
+ [ :edje_object_perspective_get, [ :evas_object_p ], :edje_perspective_p ],
453
+ ]
454
+ #
455
+ attach_fcts fcts
456
+ end
457
+ end
458
+ #
459
+ # EOF
data/lib/efl/edje.rb ADDED
@@ -0,0 +1,12 @@
1
+ #! /usr/bin/env ruby
2
+ # -*- coding: UTF-8 -*-
3
+ #
4
+ require 'efl/edje/edje-ffi'
5
+ #
6
+ module Efl
7
+ module Edje
8
+ #
9
+ end
10
+ end
11
+ #
12
+ # EOF