diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-12-20 16:16:09 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-12-20 16:16:09 +0100 |
commit | 821a1acdb583b2727717a6d3360c49f7a3489d52 (patch) | |
tree | ce9e3bfe19642df1d8fec2d02241d3dd284d50f2 /lib/efl/native/elm | |
parent | 4a2c039c135aabac55b2d88a5f5548d52d7a3cdf (diff) | |
download | ffi-efl-821a1acdb583b2727717a6d3360c49f7a3489d52.zip ffi-efl-821a1acdb583b2727717a6d3360c49f7a3489d52.tar.gz |
Diffstat (limited to 'lib/efl/native/elm')
77 files changed, 1826 insertions, 1365 deletions
diff --git a/lib/efl/native/elm/elm_actionslider.rb b/lib/efl/native/elm/elm_actionslider.rb index 93c9317..d09cb3b 100644 --- a/lib/efl/native/elm/elm_actionslider.rb +++ b/lib/efl/native/elm/elm_actionslider.rb @@ -29,21 +29,21 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_actionslider_add(Evas_Object *parent); - [ :elm_actionslider_add, [ :evas_object ], :evas_object ], - # EAPI const char *elm_actionslider_selected_label_get(const Evas_Object *obj); - [ :elm_actionslider_selected_label_get, [ :evas_object ], :string ], + [ :elm_actionslider_add, [ :pointer ], :pointer ], # EAPI void elm_actionslider_indicator_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos); - [ :elm_actionslider_indicator_pos_set, [ :evas_object, :elm_actionslider_pos ], :void ], + [ :elm_actionslider_indicator_pos_set, [ :pointer, :elm_actionslider_pos ], :void ], # EAPI Elm_Actionslider_Pos elm_actionslider_indicator_pos_get(const Evas_Object *obj); - [ :elm_actionslider_indicator_pos_get, [ :evas_object ], :elm_actionslider_pos ], + [ :elm_actionslider_indicator_pos_get, [ :pointer ], :elm_actionslider_pos ], # EAPI void elm_actionslider_magnet_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos); - [ :elm_actionslider_magnet_pos_set, [ :evas_object, :elm_actionslider_pos ], :void ], + [ :elm_actionslider_magnet_pos_set, [ :pointer, :elm_actionslider_pos ], :void ], # EAPI Elm_Actionslider_Pos elm_actionslider_magnet_pos_get(const Evas_Object *obj); - [ :elm_actionslider_magnet_pos_get, [ :evas_object ], :elm_actionslider_pos ], + [ :elm_actionslider_magnet_pos_get, [ :pointer ], :elm_actionslider_pos ], # EAPI void elm_actionslider_enabled_pos_set(Evas_Object *obj, Elm_Actionslider_Pos pos); - [ :elm_actionslider_enabled_pos_set, [ :evas_object, :elm_actionslider_pos ], :void ], + [ :elm_actionslider_enabled_pos_set, [ :pointer, :elm_actionslider_pos ], :void ], # EAPI Elm_Actionslider_Pos elm_actionslider_enabled_pos_get(const Evas_Object *obj); - [ :elm_actionslider_enabled_pos_get, [ :evas_object ], :elm_actionslider_pos ], + [ :elm_actionslider_enabled_pos_get, [ :pointer ], :elm_actionslider_pos ], + # EAPI const char *elm_actionslider_selected_label_get(const Evas_Object *obj); + [ :elm_actionslider_selected_label_get, [ :pointer ], :string ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_bg.rb b/lib/efl/native/elm/elm_bg.rb index a2b9182..27d9e92 100644 --- a/lib/efl/native/elm/elm_bg.rb +++ b/lib/efl/native/elm/elm_bg.rb @@ -28,21 +28,21 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_bg_add(Evas_Object *parent); - [ :elm_bg_add, [ :evas_object ], :evas_object ], + [ :elm_bg_add, [ :pointer ], :pointer ], # EAPI Eina_Bool elm_bg_file_set(Evas_Object *obj, const char *file, const char *group); - [ :elm_bg_file_set, [ :evas_object, :string, :string ], :bool ], + [ :elm_bg_file_set, [ :pointer, :string, :string ], :bool ], # EAPI void elm_bg_file_get(const Evas_Object *obj, const char **file, const char **group); - [ :elm_bg_file_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_bg_file_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_bg_option_set(Evas_Object *obj, Elm_Bg_Option option); - [ :elm_bg_option_set, [ :evas_object, :elm_bg_option ], :void ], + [ :elm_bg_option_set, [ :pointer, :elm_bg_option ], :void ], # EAPI Elm_Bg_Option elm_bg_option_get(const Evas_Object *obj); - [ :elm_bg_option_get, [ :evas_object ], :elm_bg_option ], + [ :elm_bg_option_get, [ :pointer ], :elm_bg_option ], # EAPI void elm_bg_color_set(Evas_Object *obj, int r, int g, int b); - [ :elm_bg_color_set, [ :evas_object, :int, :int, :int ], :void ], + [ :elm_bg_color_set, [ :pointer, :int, :int, :int ], :void ], # EAPI void elm_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b); - [ :elm_bg_color_get, [ :evas_object, :pointer, :pointer, :pointer ], :void ], + [ :elm_bg_color_get, [ :pointer, :pointer, :pointer, :pointer ], :void ], # EAPI void elm_bg_load_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); - [ :elm_bg_load_size_set, [ :evas_object, :int, :int ], :void ], + [ :elm_bg_load_size_set, [ :pointer, :int, :int ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_box.rb b/lib/efl/native/elm/elm_box.rb index 92c3ed9..1916944 100644 --- a/lib/efl/native/elm/elm_box.rb +++ b/lib/efl/native/elm/elm_box.rb @@ -28,51 +28,51 @@ module Efl # # FUNCTIONS fcts = [ + # EAPI void elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data); + [ :elm_box_layout_transition, [ :pointer, :evas_object_box_data, :pointer ], :void ], + # EAPI Elm_Box_Transition *elm_box_transition_new(const double duration, Evas_Object_Box_Layout start_layout, void *start_layout_data, Ecore_Cb start_layout_free_data, Evas_Object_Box_Layout end_layout, void *end_layout_data, Ecore_Cb end_layout_free_data, Ecore_Cb transition_end_cb, void *transition_end_data); + [ :elm_box_transition_new, [ :double, :evas_object_box_layout_cb, :pointer, :ecore_cb, :evas_object_box_layout_cb, :pointer, :ecore_cb, + :ecore_cb, :pointer ], :elm_box_transition ], + # EAPI void elm_box_transition_free(void *data); + [ :elm_box_transition_free, [ :pointer ], :void ], # EAPI Evas_Object *elm_box_add(Evas_Object *parent); - [ :elm_box_add, [ :evas_object ], :evas_object ], + [ :elm_box_add, [ :pointer ], :pointer ], # EAPI void elm_box_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); - [ :elm_box_horizontal_set, [ :evas_object, :bool ], :void ], + [ :elm_box_horizontal_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_box_horizontal_get(const Evas_Object *obj); - [ :elm_box_horizontal_get, [ :evas_object ], :bool ], + [ :elm_box_horizontal_get, [ :pointer ], :bool ], # EAPI void elm_box_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous); - [ :elm_box_homogeneous_set, [ :evas_object, :bool ], :void ], + [ :elm_box_homogeneous_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_box_homogeneous_get(const Evas_Object *obj); - [ :elm_box_homogeneous_get, [ :evas_object ], :bool ], + [ :elm_box_homogeneous_get, [ :pointer ], :bool ], # EAPI void elm_box_pack_start(Evas_Object *obj, Evas_Object *subobj); - [ :elm_box_pack_start, [ :evas_object, :evas_object ], :void ], + [ :elm_box_pack_start, [ :pointer, :pointer ], :void ], # EAPI void elm_box_pack_end(Evas_Object *obj, Evas_Object *subobj); - [ :elm_box_pack_end, [ :evas_object, :evas_object ], :void ], + [ :elm_box_pack_end, [ :pointer, :pointer ], :void ], # EAPI void elm_box_pack_before(Evas_Object *obj, Evas_Object *subobj, Evas_Object *before); - [ :elm_box_pack_before, [ :evas_object, :evas_object, :evas_object ], :void ], + [ :elm_box_pack_before, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_box_pack_after(Evas_Object *obj, Evas_Object *subobj, Evas_Object *after); - [ :elm_box_pack_after, [ :evas_object, :evas_object, :evas_object ], :void ], + [ :elm_box_pack_after, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_box_clear(Evas_Object *obj); - [ :elm_box_clear, [ :evas_object ], :void ], + [ :elm_box_clear, [ :pointer ], :void ], # EAPI void elm_box_unpack(Evas_Object *obj, Evas_Object *subobj); - [ :elm_box_unpack, [ :evas_object, :evas_object ], :void ], + [ :elm_box_unpack, [ :pointer, :pointer ], :void ], # EAPI void elm_box_unpack_all(Evas_Object *obj); - [ :elm_box_unpack_all, [ :evas_object ], :void ], + [ :elm_box_unpack_all, [ :pointer ], :void ], + # EAPI void elm_box_layout_set(Evas_Object *obj, Evas_Object_Box_Layout cb, const void *data, Ecore_Cb free_data); + [ :elm_box_layout_set, [ :pointer, :evas_object_box_layout_cb, :pointer, :ecore_cb ], :void ], # EAPI Eina_List *elm_box_children_get(const Evas_Object *obj); - [ :elm_box_children_get, [ :evas_object ], :eina_list ], + [ :elm_box_children_get, [ :pointer ], :eina_list ], # EAPI void elm_box_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical); - [ :elm_box_padding_set, [ :evas_object, :int, :int ], :void ], + [ :elm_box_padding_set, [ :pointer, :int, :int ], :void ], # EAPI void elm_box_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical); - [ :elm_box_padding_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_box_padding_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_box_align_set(Evas_Object *obj, double horizontal, double vertical); - [ :elm_box_align_set, [ :evas_object, :double, :double ], :void ], + [ :elm_box_align_set, [ :pointer, :double, :double ], :void ], # EAPI void elm_box_align_get(const Evas_Object *obj, double *horizontal, double *vertical); - [ :elm_box_align_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_box_align_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_box_recalculate(Evas_Object *obj); - [ :elm_box_recalculate, [ :evas_object ], :void ], - # EAPI void elm_box_layout_set(Evas_Object *obj, Evas_Object_Box_Layout cb, const void *data, Ecore_Cb free_data); - [ :elm_box_layout_set, [ :evas_object, :evas_object_box_layout_cb, :pointer, :ecore_cb ], :void ], - # EAPI void elm_box_layout_transition(Evas_Object *obj, Evas_Object_Box_Data *priv, void *data); - [ :elm_box_layout_transition, [ :evas_object, :evas_object_box_data, :pointer ], :void ], - # EAPI Elm_Box_Transition *elm_box_transition_new(const double duration, Evas_Object_Box_Layout start_layout, void *start_layout_data, Ecore_Cb start_layout_free_data, Evas_Object_Box_Layout end_layout, void *end_layout_data, Ecore_Cb end_layout_free_data, Ecore_Cb transition_end_cb, void *transition_end_data); - [ :elm_box_transition_new, [ :double, :evas_object_box_layout_cb, :pointer, :ecore_cb, :evas_object_box_layout_cb, :pointer, :ecore_cb, - :ecore_cb, :pointer ], :elm_box_transition ], - # EAPI void elm_box_transition_free(void *data); - [ :elm_box_transition_free, [ :pointer ], :void ], + [ :elm_box_recalculate, [ :pointer ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_bubble.rb b/lib/efl/native/elm/elm_bubble.rb index e8bba37..cc5c415 100644 --- a/lib/efl/native/elm/elm_bubble.rb +++ b/lib/efl/native/elm/elm_bubble.rb @@ -29,11 +29,11 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_bubble_add(Evas_Object *parent); - [ :elm_bubble_add, [ :evas_object ], :evas_object ], + [ :elm_bubble_add, [ :pointer ], :pointer ], # EAPI void elm_bubble_pos_set(Evas_Object *obj, Elm_Bubble_Pos pos); - [ :elm_bubble_pos_set, [ :evas_object, :elm_bubble_pos ], :void ], + [ :elm_bubble_pos_set, [ :pointer, :elm_bubble_pos ], :void ], # EAPI Elm_Bubble_Pos elm_bubble_pos_get(const Evas_Object *obj); - [ :elm_bubble_pos_get, [ :evas_object ], :elm_bubble_pos ], + [ :elm_bubble_pos_get, [ :pointer ], :elm_bubble_pos ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_button.rb b/lib/efl/native/elm/elm_button.rb index 8305b7c..ffc560d 100644 --- a/lib/efl/native/elm/elm_button.rb +++ b/lib/efl/native/elm/elm_button.rb @@ -24,19 +24,19 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_button_add(Evas_Object *parent); - [ :elm_button_add, [ :evas_object ], :evas_object ], + [ :elm_button_add, [ :pointer ], :pointer ], # EAPI void elm_button_autorepeat_set(Evas_Object *obj, Eina_Bool on); - [ :elm_button_autorepeat_set, [ :evas_object, :bool ], :void ], + [ :elm_button_autorepeat_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_button_autorepeat_get(const Evas_Object *obj); - [ :elm_button_autorepeat_get, [ :evas_object ], :bool ], + [ :elm_button_autorepeat_get, [ :pointer ], :bool ], # EAPI void elm_button_autorepeat_initial_timeout_set(Evas_Object *obj, double t); - [ :elm_button_autorepeat_initial_timeout_set, [ :evas_object, :double ], :void ], + [ :elm_button_autorepeat_initial_timeout_set, [ :pointer, :double ], :void ], # EAPI double elm_button_autorepeat_initial_timeout_get(const Evas_Object *obj); - [ :elm_button_autorepeat_initial_timeout_get, [ :evas_object ], :double ], + [ :elm_button_autorepeat_initial_timeout_get, [ :pointer ], :double ], # EAPI void elm_button_autorepeat_gap_timeout_set(Evas_Object *obj, double t); - [ :elm_button_autorepeat_gap_timeout_set, [ :evas_object, :double ], :void ], + [ :elm_button_autorepeat_gap_timeout_set, [ :pointer, :double ], :void ], # EAPI double elm_button_autorepeat_gap_timeout_get(const Evas_Object *obj); - [ :elm_button_autorepeat_gap_timeout_get, [ :evas_object ], :double ], + [ :elm_button_autorepeat_gap_timeout_get, [ :pointer ], :double ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_calendar.rb b/lib/efl/native/elm/elm_calendar.rb index cf9bee2..4a64009 100644 --- a/lib/efl/native/elm/elm_calendar.rb +++ b/lib/efl/native/elm/elm_calendar.rb @@ -53,44 +53,50 @@ module Efl # # FUNCTIONS fcts = [ + # EAPI void elm_calendar_weekdays_names_set(Evas_Object *obj, const char *weekdays[]); + # FIXME + # EAPI void elm_calendar_mark_del(Elm_Calendar_Mark *mark); + [ :elm_calendar_mark_del, [ :elm_calendar_mark ], :void ], # EAPI Evas_Object *elm_calendar_add(Evas_Object *parent); - [ :elm_calendar_add, [ :evas_object ], :evas_object ], + [ :elm_calendar_add, [ :pointer ], :pointer ], # EAPI const char **elm_calendar_weekdays_names_get(const Evas_Object *obj); - [ :elm_calendar_weekdays_names_get, [ :evas_object ], :pointer ], - # EAPI void elm_calendar_weekdays_names_set(Evas_Object *obj, const char *weekdays[]); - [ :elm_calendar_weekdays_names_set, [ :evas_object, :pointer ], :void ], + [ :elm_calendar_weekdays_names_get, [ :pointer ], :pointer ], + # EAPI void elm_calendar_interval_set(Evas_Object *obj, double interval); + [ :elm_calendar_interval_set, [ :pointer, :double ], :void ], + # EAPI double elm_calendar_interval_get(const Evas_Object *obj); + [ :elm_calendar_interval_get, [ :pointer ], :double ], # EAPI void elm_calendar_min_max_year_set(Evas_Object *obj, int min, int max); - [ :elm_calendar_min_max_year_set, [ :evas_object, :int, :int ], :void ], + [ :elm_calendar_min_max_year_set, [ :pointer, :int, :int ], :void ], # EAPI void elm_calendar_min_max_year_get(const Evas_Object *obj, int *min, int *max); - [ :elm_calendar_min_max_year_get, [ :evas_object, :pointer, :pointer ], :void ], - # EAPI void elm_calendar_select_mode_set(Evas_Object *obj, Elm_Calendar_Select_Mode mode); - [ :elm_calendar_select_mode_set, [ :evas_object, :_elm_calendar_select_mode ], :void ], - # EAPI Elm_Calendar_Select_Mode elm_calendar_select_mode_get(const Evas_Object *obj); - [ :elm_calendar_select_mode_get, [ :evas_object ], :_elm_calendar_select_mode ], + [ :elm_calendar_min_max_year_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_calendar_selected_time_set(Evas_Object *obj, struct tm *selected_time); - [ :elm_calendar_selected_time_set, [ :evas_object, :pointer ], :void ], + [ :elm_calendar_selected_time_set, [ :pointer, :pointer ], :void ], # EAPI Eina_Bool elm_calendar_selected_time_get(const Evas_Object *obj, struct tm *selected_time); - [ :elm_calendar_selected_time_get, [ :evas_object, :pointer ], :bool ], + [ :elm_calendar_selected_time_get, [ :pointer, :pointer ], :bool ], # EAPI void elm_calendar_format_function_set(Evas_Object *obj, Elm_Calendar_Format_Cb format_func); - [ :elm_calendar_format_function_set, [ :evas_object, :elm_calendar_format_cb ], :void ], + [ :elm_calendar_format_function_set, [ :pointer, :elm_calendar_format_cb ], :void ], # EAPI Elm_Calendar_Mark *elm_calendar_mark_add(Evas_Object *obj, const char *mark_type, struct tm *mark_time, Elm_Calendar_Mark_Repeat_Type repeat); - [ :elm_calendar_mark_add, [ :evas_object, :string, :pointer, :_elm_calendar_mark_repeat_type ], :elm_calendar_mark ], - # EAPI void elm_calendar_mark_del(Elm_Calendar_Mark *mark); - [ :elm_calendar_mark_del, [ :elm_calendar_mark ], :void ], + [ :elm_calendar_mark_add, [ :pointer, :string, :pointer, :_elm_calendar_mark_repeat_type ], :elm_calendar_mark ], # EAPI void elm_calendar_marks_clear(Evas_Object *obj); - [ :elm_calendar_marks_clear, [ :evas_object ], :void ], + [ :elm_calendar_marks_clear, [ :pointer ], :void ], # EAPI const Eina_List *elm_calendar_marks_get(const Evas_Object *obj); - [ :elm_calendar_marks_get, [ :evas_object ], :eina_list ], + [ :elm_calendar_marks_get, [ :pointer ], :eina_list ], # EAPI void elm_calendar_marks_draw(Evas_Object *obj); - [ :elm_calendar_marks_draw, [ :evas_object ], :void ], - # EAPI void elm_calendar_interval_set(Evas_Object *obj, double interval); - [ :elm_calendar_interval_set, [ :evas_object, :double ], :void ], - # EAPI double elm_calendar_interval_get(const Evas_Object *obj); - [ :elm_calendar_interval_get, [ :evas_object ], :double ], + [ :elm_calendar_marks_draw, [ :pointer ], :void ], # EAPI void elm_calendar_first_day_of_week_set(Evas_Object *obj, Elm_Calendar_Weekday day); - [ :elm_calendar_first_day_of_week_set, [ :evas_object, :_elm_calendar_weekday ], :void ], + [ :elm_calendar_first_day_of_week_set, [ :pointer, :_elm_calendar_weekday ], :void ], # EAPI Elm_Calendar_Weekday elm_calendar_first_day_of_week_get(const Evas_Object *obj); - [ :elm_calendar_first_day_of_week_get, [ :evas_object ], :_elm_calendar_weekday ], + [ :elm_calendar_first_day_of_week_get, [ :pointer ], :_elm_calendar_weekday ], + # EAPI void elm_calendar_select_mode_set(Evas_Object *obj, Elm_Calendar_Select_Mode mode); + [ :elm_calendar_select_mode_set, [ :pointer, :_elm_calendar_select_mode ], :void ], + # EAPI Elm_Calendar_Select_Mode elm_calendar_select_mode_get(const Evas_Object *obj); + [ :elm_calendar_select_mode_get, [ :pointer ], :_elm_calendar_select_mode ], + # EAPI void elm_calendar_selectable_set(Evas_Object *obj, Elm_Calendar_Selectable selectable); + [ :elm_calendar_selectable_set, [ :pointer, :_elm_calendar_selectable ], :void ], + # EAPI Elm_Calendar_Selectable elm_calendar_selectable_get(const Evas_Object *obj); + [ :elm_calendar_selectable_get, [ :pointer ], :_elm_calendar_selectable ], + # EAPI Eina_Bool elm_calendar_displayed_time_get(const Evas_Object *obj, struct tm *displayed_time); + [ :elm_calendar_displayed_time_get, [ :pointer, :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_check.rb b/lib/efl/native/elm/elm_check.rb index 8ee1ed6..3d29dd0 100644 --- a/lib/efl/native/elm/elm_check.rb +++ b/lib/efl/native/elm/elm_check.rb @@ -24,13 +24,13 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object * elm_check_add(Evas_Object *parent); - [ :elm_check_add, [ :evas_object ], :evas_object ], + [ :elm_check_add, [ :pointer ], :pointer ], # EAPI void elm_check_state_set(Evas_Object *obj, Eina_Bool state); - [ :elm_check_state_set, [ :evas_object, :bool ], :void ], + [ :elm_check_state_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_check_state_get(const Evas_Object *obj); - [ :elm_check_state_get, [ :evas_object ], :bool ], + [ :elm_check_state_get, [ :pointer ], :bool ], # EAPI void elm_check_state_pointer_set(Evas_Object *obj, Eina_Bool *statep); - [ :elm_check_state_pointer_set, [ :evas_object, :pointer ], :void ], + [ :elm_check_state_pointer_set, [ :pointer, :pointer ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_clock.rb b/lib/efl/native/elm/elm_clock.rb index 8ed7875..6350d3c 100644 --- a/lib/efl/native/elm/elm_clock.rb +++ b/lib/efl/native/elm/elm_clock.rb @@ -30,31 +30,31 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_clock_add(Evas_Object *parent); - [ :elm_clock_add, [ :evas_object ], :evas_object ], + [ :elm_clock_add, [ :pointer ], :pointer ], # EAPI void elm_clock_time_set(Evas_Object *obj, int hrs, int min, int sec); - [ :elm_clock_time_set, [ :evas_object, :int, :int, :int ], :void ], + [ :elm_clock_time_set, [ :pointer, :int, :int, :int ], :void ], # EAPI void elm_clock_time_get(const Evas_Object *obj, int *hrs, int *min, int *sec); - [ :elm_clock_time_get, [ :evas_object, :pointer, :pointer, :pointer ], :void ], + [ :elm_clock_time_get, [ :pointer, :pointer, :pointer, :pointer ], :void ], # EAPI void elm_clock_edit_set(Evas_Object *obj, Eina_Bool edit); - [ :elm_clock_edit_set, [ :evas_object, :bool ], :void ], + [ :elm_clock_edit_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_clock_edit_get(const Evas_Object *obj); - [ :elm_clock_edit_get, [ :evas_object ], :bool ], + [ :elm_clock_edit_get, [ :pointer ], :bool ], # EAPI void elm_clock_edit_mode_set(Evas_Object *obj, Elm_Clock_Edit_Mode digedit); - [ :elm_clock_edit_mode_set, [ :evas_object, :elm_clock_edit_mode ], :void ], + [ :elm_clock_edit_mode_set, [ :pointer, :elm_clock_edit_mode ], :void ], # EAPI Elm_Clock_Edit_Mode elm_clock_edit_mode_get(const Evas_Object *obj); - [ :elm_clock_edit_mode_get, [ :evas_object ], :elm_clock_edit_mode ], + [ :elm_clock_edit_mode_get, [ :pointer ], :elm_clock_edit_mode ], # EAPI void elm_clock_show_am_pm_set(Evas_Object *obj, Eina_Bool am_pm); - [ :elm_clock_show_am_pm_set, [ :evas_object, :bool ], :void ], + [ :elm_clock_show_am_pm_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_clock_show_am_pm_get(const Evas_Object *obj); - [ :elm_clock_show_am_pm_get, [ :evas_object ], :bool ], + [ :elm_clock_show_am_pm_get, [ :pointer ], :bool ], # EAPI void elm_clock_show_seconds_set(Evas_Object *obj, Eina_Bool seconds); - [ :elm_clock_show_seconds_set, [ :evas_object, :bool ], :void ], + [ :elm_clock_show_seconds_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_clock_show_seconds_get(const Evas_Object *obj); - [ :elm_clock_show_seconds_get, [ :evas_object ], :bool ], + [ :elm_clock_show_seconds_get, [ :pointer ], :bool ], # EAPI void elm_clock_first_interval_set(Evas_Object *obj, double interval); - [ :elm_clock_first_interval_set, [ :evas_object, :double ], :void ], + [ :elm_clock_first_interval_set, [ :pointer, :double ], :void ], # EAPI double elm_clock_first_interval_get(const Evas_Object *obj); - [ :elm_clock_first_interval_get, [ :evas_object ], :double ], + [ :elm_clock_first_interval_get, [ :pointer ], :double ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_cnp.rb b/lib/efl/native/elm/elm_cnp.rb index 71a9732..e89dedb 100644 --- a/lib/efl/native/elm/elm_cnp.rb +++ b/lib/efl/native/elm/elm_cnp.rb @@ -27,27 +27,72 @@ module Efl # typedef enum {...} Elm_Sel_Format; enum :elm_sel_format, [ :elm_sel_format_targets, -1, :elm_sel_format_none, 0x0, :elm_sel_format_text, 0x01, :elm_sel_format_markup, 0x02, :elm_sel_format_image, 0x04, :elm_sel_format_vcard, 0x08, :elm_sel_format_html, 0x10 ] + # typedef enum {...} Elm_Xdnd_Action; + enum :elm_xdnd_action, [ :elm_xdnd_action_unknown, :elm_xdnd_action_copy, :elm_xdnd_action_move, :elm_xdnd_action_private, + :elm_xdnd_action_ask, :elm_xdnd_action_list, :elm_xdnd_action_link, :elm_xdnd_action_description ] # # TYPEDEFS # typedef struct _Elm_Selection_Data Elm_Selection_Data; typedef :pointer, :elm_selection_data + # typedef struct _Elm_Drag_User_Info Elm_Drag_User_Info; + typedef :pointer, :elm_drag_user_info # # CALLBACKS # typedef Eina_Bool (*Elm_Drop_Cb) (void *data, Evas_Object *obj, Elm_Selection_Data *ev); - callback :elm_drop_cb, [ :pointer, :evas_object, :elm_selection_data ], :bool + callback :elm_drop_cb, [ :pointer, :pointer, :elm_selection_data ], :bool + # typedef Elm_Object_Item *(*Elm_Xy_Item_Get_Cb) (Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *xposret, int *yposret); + callback :elm_xy_item_get_cb, [ :pointer, :int, :int, :pointer, :pointer ], :elm_object_item # typedef void (*Elm_Selection_Loss_Cb) (void *data, Elm_Sel_Type selection); callback :elm_selection_loss_cb, [ :pointer, :elm_sel_type ], :void + # typedef Evas_Object *(*Elm_Drag_Icon_Create_Cb) (void *data, Evas_Object *win, Evas_Coord *xoff, Evas_Coord *yoff); + callback :elm_drag_icon_create_cb, [ :pointer, :pointer, :pointer, :pointer ], :pointer + # typedef void (*Elm_Drag_State) (void *data, Evas_Object *obj); + callback :elm_drag_state_cb, [ :pointer, :pointer ], :void + # typedef void (*Elm_Drag_Done) (void *data, Evas_Object *obj, Eina_Bool accepted); + callback :elm_drag_done_cb, [ :pointer, :pointer, :bool ], :void + # typedef void (*Elm_Drag_Accept) (void *data, Evas_Object *obj, Eina_Bool doaccept); + callback :elm_drag_accept_cb, [ :pointer, :pointer, :bool ], :void + # typedef void (*Elm_Drag_Pos) (void *data, Evas_Object *obj, Evas_Coord x, Evas_Coord y, Elm_Xdnd_Action action); + callback :elm_drag_pos_cb, [ :pointer, :pointer, :int, :int, :elm_xdnd_action ], :void + # typedef void (*Elm_Drag_Start) (void *data, Evas_Object *obj); + callback :elm_drag_start_cb, [ :pointer, :pointer ], :void + # typedef void (*Elm_Drag_Item_Container_Pos) (void *data, Evas_Object *cont, Elm_Object_Item *it, Evas_Coord x, Evas_Coord y, int xposret, int yposret, Elm_Xdnd_Action action); + callback :elm_drag_item_container_pos_cb, [ :pointer, :pointer, :elm_object_item, :int, :int, :int, :int, :elm_xdnd_action ], :void + # typedef Eina_Bool (*Elm_Drop_Item_Container_Cb) (void *data, Evas_Object *obj, Elm_Object_Item *it, Elm_Selection_Data *ev, int xposret, int yposret); + callback :elm_drop_item_container_cb, [ :pointer, :pointer, :elm_object_item, :elm_selection_data, :int, :int ], :bool + # typedef Eina_Bool (*Elm_Item_Container_Data_Get_Cb)( Evas_Object *obj, Elm_Object_Item *it, Elm_Drag_User_Info *info); + callback :elm_item_container_data_get_cb, [ :pointer, :elm_object_item, :elm_drag_user_info ], :bool # # FUNCTIONS fcts = [ # EAPI Eina_Bool elm_cnp_selection_set(Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format, const void *buf, size_t buflen); - [ :elm_cnp_selection_set, [ :evas_object, :elm_sel_type, :elm_sel_format, :pointer, :ulong ], :bool ], + [ :elm_cnp_selection_set, [ :pointer, :elm_sel_type, :elm_sel_format, :pointer, :ulong ], :bool ], # EAPI Eina_Bool elm_cnp_selection_get(Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format, Elm_Drop_Cb datacb, void *udata); - [ :elm_cnp_selection_get, [ :evas_object, :elm_sel_type, :elm_sel_format, :elm_drop_cb, :pointer ], :bool ], + [ :elm_cnp_selection_get, [ :pointer, :elm_sel_type, :elm_sel_format, :elm_drop_cb, :pointer ], :bool ], # EAPI Eina_Bool elm_object_cnp_selection_clear(Evas_Object *obj, Elm_Sel_Type selection); - [ :elm_object_cnp_selection_clear, [ :evas_object, :elm_sel_type ], :bool ], + [ :elm_object_cnp_selection_clear, [ :pointer, :elm_sel_type ], :bool ], # EAPI void elm_cnp_selection_loss_callback_set(Evas_Object *obj, Elm_Sel_Type selection, Elm_Selection_Loss_Cb func, const void *data); - [ :elm_cnp_selection_loss_callback_set, [ :evas_object, :elm_sel_type, :elm_selection_loss_cb, :pointer ], :void ], + [ :elm_cnp_selection_loss_callback_set, [ :pointer, :elm_sel_type, :elm_selection_loss_cb, :pointer ], :void ], + # EAPI Eina_Bool elm_drop_target_add(Evas_Object *obj, Elm_Sel_Format format, Elm_Drag_State entercb, void *enterdata, Elm_Drag_State leavecb, void *leavedata, Elm_Drag_Pos poscb, void *posdata, Elm_Drop_Cb dropcb, void *dropdata); + [ :elm_drop_target_add, [ :pointer, :elm_sel_format, :elm_drag_state_cb, :pointer, :elm_drag_state_cb, :pointer, :elm_drag_pos_cb, :pointer, + :elm_drop_cb, :pointer ], :bool ], + # EAPI Eina_Bool elm_drop_target_del(Evas_Object *obj, Elm_Sel_Format format, Elm_Drag_State entercb, void *enterdata, Elm_Drag_State leavecb, void *leavedata, Elm_Drag_Pos poscb, void *posdata, Elm_Drop_Cb dropcb, void *dropdata); + [ :elm_drop_target_del, [ :pointer, :elm_sel_format, :elm_drag_state_cb, :pointer, :elm_drag_state_cb, :pointer, :elm_drag_pos_cb, :pointer, + :elm_drop_cb, :pointer ], :bool ], + # EAPI Eina_Bool elm_drag_start(Evas_Object *obj, Elm_Sel_Format format, const char *data, Elm_Xdnd_Action action, Elm_Drag_Icon_Create_Cb createicon, void *createdata, Elm_Drag_Pos dragpos, void *dragdata, Elm_Drag_Accept acceptcb, void *acceptdata, Elm_Drag_State dragdone, void *donecbdata); + [ :elm_drag_start, [ :pointer, :elm_sel_format, :string, :elm_xdnd_action, :elm_drag_icon_create_cb, :pointer, :elm_drag_pos_cb, :pointer, + :elm_drag_accept_cb, :pointer, :elm_drag_state_cb, :pointer ], :bool ], + # EAPI Eina_Bool elm_drag_action_set(Evas_Object *obj, Elm_Xdnd_Action action); + [ :elm_drag_action_set, [ :pointer, :elm_xdnd_action ], :bool ], + # EAPI Eina_Bool elm_drag_item_container_add(Evas_Object *obj, double tm_to_anim, double tm_to_drag, Elm_Xy_Item_Get_Cb itemgetcb, Elm_Item_Container_Data_Get_Cb data_get); + [ :elm_drag_item_container_add, [ :pointer, :double, :double, :elm_xy_item_get_cb, :elm_item_container_data_get_cb ], :bool ], + # EAPI Eina_Bool elm_drag_item_container_del(Evas_Object *obj); + [ :elm_drag_item_container_del, [ :pointer ], :bool ], + # EAPI Eina_Bool elm_drop_item_container_add(Evas_Object *obj, Elm_Sel_Format format, Elm_Xy_Item_Get_Cb itemgetcb, Elm_Drag_State entercb, void *enterdata, Elm_Drag_State leavecb, void *leavedata, Elm_Drag_Item_Container_Pos poscb, void *posdata, Elm_Drop_Item_Container_Cb dropcb, void *dropdata); + [ :elm_drop_item_container_add, [ :pointer, :elm_sel_format, :elm_xy_item_get_cb, :elm_drag_state_cb, :pointer, :elm_drag_state_cb, :pointer, + :elm_drag_item_container_pos_cb, :pointer, :elm_drop_item_container_cb, :pointer ], :bool ], + # EAPI Eina_Bool elm_drop_item_container_del(Evas_Object *obj); + [ :elm_drop_item_container_del, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_colorselector.rb b/lib/efl/native/elm/elm_colorselector.rb index ca691b2..5652545 100644 --- a/lib/efl/native/elm/elm_colorselector.rb +++ b/lib/efl/native/elm/elm_colorselector.rb @@ -23,7 +23,8 @@ module Efl # # ENUMS # typedef enum {...} Elm_Colorselector_Mode; - enum :elm_colorselector_mode, [ :elm_colorselector_palette, 0, :elm_colorselector_components, 1, :elm_colorselector_both, 2 ] + enum :elm_colorselector_mode, [ :elm_colorselector_palette, 0, :elm_colorselector_components, 1, :elm_colorselector_both, 2, + :elm_colorselector_picker, 3, :elm_colorselector_all, 4 ] # # TYPEDEFS # typedef struct _Elm_Color_RGBA Elm_Color_RGBA; @@ -33,28 +34,28 @@ module Efl # # FUNCTIONS fcts = [ + # EAPI void elm_colorselector_palette_item_color_get(const Elm_Object_Item *it, int *r, int *g, int *b, int *a); + [ :elm_colorselector_palette_item_color_get, [ :elm_object_item, :pointer, :pointer, :pointer, :pointer ], :void ], + # EAPI void elm_colorselector_palette_item_color_set(Elm_Object_Item *it, int r, int g, int b, int a); + [ :elm_colorselector_palette_item_color_set, [ :elm_object_item, :int, :int, :int, :int ], :void ], # EAPI Evas_Object *elm_colorselector_add(Evas_Object *parent); - [ :elm_colorselector_add, [ :evas_object ], :evas_object ], + [ :elm_colorselector_add, [ :pointer ], :pointer ], # EAPI void elm_colorselector_color_set(Evas_Object *obj, int r, int g, int b, int a); - [ :elm_colorselector_color_set, [ :evas_object, :int, :int, :int, :int ], :void ], + [ :elm_colorselector_color_set, [ :pointer, :int, :int, :int, :int ], :void ], # EAPI void elm_colorselector_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a); - [ :elm_colorselector_color_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ], + [ :elm_colorselector_color_get, [ :pointer, :pointer, :pointer, :pointer, :pointer ], :void ], # EAPI void elm_colorselector_mode_set(Evas_Object *obj, Elm_Colorselector_Mode mode); - [ :elm_colorselector_mode_set, [ :evas_object, :elm_colorselector_mode ], :void ], + [ :elm_colorselector_mode_set, [ :pointer, :elm_colorselector_mode ], :void ], # EAPI Elm_Colorselector_Mode elm_colorselector_mode_get(const Evas_Object *obj); - [ :elm_colorselector_mode_get, [ :evas_object ], :elm_colorselector_mode ], - # EAPI void elm_colorselector_palette_item_color_get(const Elm_Object_Item *it, int *r, int *g, int *b, int *a); - [ :elm_colorselector_palette_item_color_get, [ :elm_object_item, :pointer, :pointer, :pointer, :pointer ], :void ], - # EAPI void elm_colorselector_palette_item_color_set(Elm_Object_Item *it, int r, int g, int b, int a); - [ :elm_colorselector_palette_item_color_set, [ :elm_object_item, :int, :int, :int, :int ], :void ], + [ :elm_colorselector_mode_get, [ :pointer ], :elm_colorselector_mode ], # EAPI Elm_Object_Item *elm_colorselector_palette_color_add(Evas_Object *obj, int r, int g, int b, int a); - [ :elm_colorselector_palette_color_add, [ :evas_object, :int, :int, :int, :int ], :elm_object_item ], + [ :elm_colorselector_palette_color_add, [ :pointer, :int, :int, :int, :int ], :elm_object_item ], # EAPI void elm_colorselector_palette_clear(Evas_Object *obj); - [ :elm_colorselector_palette_clear, [ :evas_object ], :void ], + [ :elm_colorselector_palette_clear, [ :pointer ], :void ], # EAPI void elm_colorselector_palette_name_set(Evas_Object *obj, const char *palette_name); - [ :elm_colorselector_palette_name_set, [ :evas_object, :string ], :void ], + [ :elm_colorselector_palette_name_set, [ :pointer, :string ], :void ], # EAPI const char *elm_colorselector_palette_name_get(const Evas_Object *obj); - [ :elm_colorselector_palette_name_get, [ :evas_object ], :string ], + [ :elm_colorselector_palette_name_get, [ :pointer ], :string ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_config.rb b/lib/efl/native/elm/elm_config.rb index 9a4a7bb..415f2bc 100644 --- a/lib/efl/native/elm/elm_config.rb +++ b/lib/efl/native/elm/elm_config.rb @@ -79,14 +79,30 @@ module Efl [ :elm_config_scroll_thumbscroll_threshold_get, [ ], :uint ], # EAPI void elm_config_scroll_thumbscroll_threshold_set(unsigned int threshold); [ :elm_config_scroll_thumbscroll_threshold_set, [ :uint ], :void ], + # EAPI unsigned int elm_config_scroll_thumbscroll_hold_threshold_get(void); + [ :elm_config_scroll_thumbscroll_hold_threshold_get, [ ], :uint ], + # EAPI void elm_config_scroll_thumbscroll_hold_threshold_set(unsigned int threshold); + [ :elm_config_scroll_thumbscroll_hold_threshold_set, [ :uint ], :void ], # EAPI double elm_config_scroll_thumbscroll_momentum_threshold_get(void); [ :elm_config_scroll_thumbscroll_momentum_threshold_get, [ ], :double ], # EAPI void elm_config_scroll_thumbscroll_momentum_threshold_set(double threshold); [ :elm_config_scroll_thumbscroll_momentum_threshold_set, [ :double ], :void ], + # EAPI unsigned int elm_config_scroll_thumbscroll_flick_distance_tolerance_get(void); + [ :elm_config_scroll_thumbscroll_flick_distance_tolerance_get, [ ], :uint ], + # EAPI void elm_config_scroll_thumbscroll_flick_distance_tolerance_set(unsigned int distance); + [ :elm_config_scroll_thumbscroll_flick_distance_tolerance_set, [ :uint ], :void ], # EAPI double elm_config_scroll_thumbscroll_friction_get(void); [ :elm_config_scroll_thumbscroll_friction_get, [ ], :double ], # EAPI void elm_config_scroll_thumbscroll_friction_set(double friction); [ :elm_config_scroll_thumbscroll_friction_set, [ :double ], :void ], + # EAPI double elm_config_scroll_thumbscroll_min_friction_get(void); + [ :elm_config_scroll_thumbscroll_min_friction_get, [ ], :double ], + # EAPI void elm_config_scroll_thumbscroll_min_friction_set(double friction); + [ :elm_config_scroll_thumbscroll_min_friction_set, [ :double ], :void ], + # EAPI double elm_config_scroll_thumbscroll_friction_standard_get(void); + [ :elm_config_scroll_thumbscroll_friction_standard_get, [ ], :double ], + # EAPI void elm_config_scroll_thumbscroll_friction_standard_set(double standard); + [ :elm_config_scroll_thumbscroll_friction_standard_set, [ :double ], :void ], # EAPI double elm_config_scroll_thumbscroll_border_friction_get(void); [ :elm_config_scroll_thumbscroll_border_friction_get, [ ], :double ], # EAPI void elm_config_scroll_thumbscroll_border_friction_set(double friction); @@ -95,6 +111,18 @@ module Efl [ :elm_config_scroll_thumbscroll_sensitivity_friction_get, [ ], :double ], # EAPI void elm_config_scroll_thumbscroll_sensitivity_friction_set(double friction); [ :elm_config_scroll_thumbscroll_sensitivity_friction_set, [ :double ], :void ], + # EAPI double elm_config_scroll_thumbscroll_acceleration_threshold_get(void); + [ :elm_config_scroll_thumbscroll_acceleration_threshold_get, [ ], :double ], + # EAPI void elm_config_scroll_thumbscroll_acceleration_threshold_set(double threshold); + [ :elm_config_scroll_thumbscroll_acceleration_threshold_set, [ :double ], :void ], + # EAPI double elm_config_scroll_thumbscroll_acceleration_time_limit_get(void); + [ :elm_config_scroll_thumbscroll_acceleration_time_limit_get, [ ], :double ], + # EAPI void elm_config_scroll_thumbscroll_acceleration_time_limit_set(double time_limit); + [ :elm_config_scroll_thumbscroll_acceleration_time_limit_set, [ :double ], :void ], + # EAPI double elm_config_scroll_thumbscroll_acceleration_weight_get(void); + [ :elm_config_scroll_thumbscroll_acceleration_weight_get, [ ], :double ], + # EAPI void elm_config_scroll_thumbscroll_acceleration_weight_set(double weight); + [ :elm_config_scroll_thumbscroll_acceleration_weight_set, [ :double ], :void ], # EAPI double elm_config_longpress_timeout_get(void); [ :elm_config_longpress_timeout_get, [ ], :double ], # EAPI void elm_config_longpress_timeout_set(double longpress_timeout); @@ -143,6 +171,10 @@ module Efl [ :elm_config_access_get, [ ], :bool ], # EAPI void elm_config_access_set(Eina_Bool is_access); [ :elm_config_access_set, [ :bool ], :void ], + # EAPI Eina_Bool elm_config_selection_unfocused_clear_get(void); + [ :elm_config_selection_unfocused_clear_get, [ ], :bool ], + # EAPI void elm_config_selection_unfocused_clear_set(Eina_Bool enabled); + [ :elm_config_selection_unfocused_clear_set, [ :bool ], :void ], # EAPI void elm_config_font_overlay_unset(const char *text_class); [ :elm_config_font_overlay_unset, [ :string ], :void ], # EAPI void elm_config_font_overlay_apply(void); @@ -187,6 +219,20 @@ module Efl [ :elm_config_mirrored_get, [ ], :bool ], # EAPI void elm_config_mirrored_set(Eina_Bool mirrored); [ :elm_config_mirrored_set, [ :bool ], :void ], + # EAPI Eina_Bool elm_config_clouseau_enabled_get(void); + [ :elm_config_clouseau_enabled_get, [ ], :bool ], + # EAPI void elm_config_clouseau_enabled_set(Eina_Bool enabled); + [ :elm_config_clouseau_enabled_set, [ :bool ], :void ], + # EAPI const char *elm_config_indicator_service_get(int rotation); + [ :elm_config_indicator_service_get, [ :int ], :string ], + # EAPI double elm_config_glayer_long_tap_start_timeout_get(void); + [ :elm_config_glayer_long_tap_start_timeout_get, [ ], :double ], + # EAPI void elm_config_glayer_long_tap_start_timeout_set(double long_tap_timeout); + [ :elm_config_glayer_long_tap_start_timeout_set, [ :double ], :void ], + # EAPI double elm_config_glayer_double_tap_timeout_get(void); + [ :elm_config_glayer_double_tap_timeout_get, [ ], :double ], + # EAPI void elm_config_glayer_double_tap_timeout_set(double double_tap_timeout); + [ :elm_config_glayer_double_tap_timeout_set, [ :double ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_conform.rb b/lib/efl/native/elm/elm_conform.rb index c0a7cbd..1b0a3be 100644 --- a/lib/efl/native/elm/elm_conform.rb +++ b/lib/efl/native/elm/elm_conform.rb @@ -24,7 +24,7 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_conformant_add(Evas_Object *parent); - [ :elm_conformant_add, [ :evas_object ], :evas_object ], + [ :elm_conformant_add, [ :pointer ], :pointer ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_ctxpopup.rb b/lib/efl/native/elm/elm_ctxpopup.rb index 89707fd..1e44194 100644 --- a/lib/efl/native/elm/elm_ctxpopup.rb +++ b/lib/efl/native/elm/elm_ctxpopup.rb @@ -29,28 +29,28 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_ctxpopup_add(Evas_Object *parent); - [ :elm_ctxpopup_add, [ :evas_object ], :evas_object ], + [ :elm_ctxpopup_add, [ :pointer ], :pointer ], # EAPI void elm_ctxpopup_hover_parent_set(Evas_Object *obj, Evas_Object *parent); - [ :elm_ctxpopup_hover_parent_set, [ :evas_object, :evas_object ], :void ], + [ :elm_ctxpopup_hover_parent_set, [ :pointer, :pointer ], :void ], # EAPI Evas_Object *elm_ctxpopup_hover_parent_get(const Evas_Object *obj); - [ :elm_ctxpopup_hover_parent_get, [ :evas_object ], :evas_object ], + [ :elm_ctxpopup_hover_parent_get, [ :pointer ], :pointer ], # EAPI void elm_ctxpopup_clear(Evas_Object *obj); - [ :elm_ctxpopup_clear, [ :evas_object ], :void ], + [ :elm_ctxpopup_clear, [ :pointer ], :void ], # EAPI void elm_ctxpopup_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); - [ :elm_ctxpopup_horizontal_set, [ :evas_object, :bool ], :void ], + [ :elm_ctxpopup_horizontal_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_ctxpopup_horizontal_get(const Evas_Object *obj); - [ :elm_ctxpopup_horizontal_get, [ :evas_object ], :bool ], + [ :elm_ctxpopup_horizontal_get, [ :pointer ], :bool ], # EAPI Elm_Object_Item *elm_ctxpopup_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data); - [ :elm_ctxpopup_item_append, [ :evas_object, :string, :evas_object, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_ctxpopup_item_append, [ :pointer, :string, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI void elm_ctxpopup_direction_priority_set(Evas_Object *obj, Elm_Ctxpopup_Direction first, Elm_Ctxpopup_Direction second, Elm_Ctxpopup_Direction third, Elm_Ctxpopup_Direction fourth); - [ :elm_ctxpopup_direction_priority_set, [ :evas_object, :elm_ctxpopup_direction, :elm_ctxpopup_direction, :elm_ctxpopup_direction, + [ :elm_ctxpopup_direction_priority_set, [ :pointer, :elm_ctxpopup_direction, :elm_ctxpopup_direction, :elm_ctxpopup_direction, :elm_ctxpopup_direction ], :void ], # EAPI void elm_ctxpopup_direction_priority_get(Evas_Object *obj, Elm_Ctxpopup_Direction *first, Elm_Ctxpopup_Direction *second, Elm_Ctxpopup_Direction *third, Elm_Ctxpopup_Direction *fourth); - [ :elm_ctxpopup_direction_priority_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ], + [ :elm_ctxpopup_direction_priority_get, [ :pointer, :pointer, :pointer, :pointer, :pointer ], :void ], # EAPI Elm_Ctxpopup_Direction elm_ctxpopup_direction_get(const Evas_Object *obj); - [ :elm_ctxpopup_direction_get, [ :evas_object ], :elm_ctxpopup_direction ], + [ :elm_ctxpopup_direction_get, [ :pointer ], :elm_ctxpopup_direction ], # EAPI void elm_ctxpopup_dismiss(Evas_Object *obj); - [ :elm_ctxpopup_dismiss, [ :evas_object ], :void ], + [ :elm_ctxpopup_dismiss, [ :pointer ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_cursor.rb b/lib/efl/native/elm/elm_cursor.rb index 39aa83e..a3ea437 100644 --- a/lib/efl/native/elm/elm_cursor.rb +++ b/lib/efl/native/elm/elm_cursor.rb @@ -24,19 +24,19 @@ module Efl # FUNCTIONS fcts = [ # EAPI void elm_object_cursor_set(Evas_Object *obj, const char *cursor); - [ :elm_object_cursor_set, [ :evas_object, :string ], :void ], + [ :elm_object_cursor_set, [ :pointer, :string ], :void ], # EAPI const char *elm_object_cursor_get(const Evas_Object *obj); - [ :elm_object_cursor_get, [ :evas_object ], :string ], + [ :elm_object_cursor_get, [ :pointer ], :string ], # EAPI void elm_object_cursor_unset(Evas_Object *obj); - [ :elm_object_cursor_unset, [ :evas_object ], :void ], + [ :elm_object_cursor_unset, [ :pointer ], :void ], # EAPI void elm_object_cursor_style_set(Evas_Object *obj, const char *style); - [ :elm_object_cursor_style_set, [ :evas_object, :string ], :void ], + [ :elm_object_cursor_style_set, [ :pointer, :string ], :void ], # EAPI const char *elm_object_cursor_style_get(const Evas_Object *obj); - [ :elm_object_cursor_style_get, [ :evas_object ], :string ], + [ :elm_object_cursor_style_get, [ :pointer ], :string ], # EAPI void elm_object_cursor_theme_search_enabled_set(Evas_Object *obj, Eina_Bool theme_search); - [ :elm_object_cursor_theme_search_enabled_set, [ :evas_object, :bool ], :void ], + [ :elm_object_cursor_theme_search_enabled_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_object_cursor_theme_search_enabled_get(const Evas_Object *obj); - [ :elm_object_cursor_theme_search_enabled_get, [ :evas_object ], :bool ], + [ :elm_object_cursor_theme_search_enabled_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_datetime.rb b/lib/efl/native/elm/elm_datetime.rb index 650aa28..09e7fae 100644 --- a/lib/efl/native/elm/elm_datetime.rb +++ b/lib/efl/native/elm/elm_datetime.rb @@ -29,31 +29,31 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_datetime_add(Evas_Object *parent); - [ :elm_datetime_add, [ :evas_object ], :evas_object ], + [ :elm_datetime_add, [ :pointer ], :pointer ], # EAPI const char *elm_datetime_format_get(const Evas_Object *obj); - [ :elm_datetime_format_get, [ :evas_object ], :string ], + [ :elm_datetime_format_get, [ :pointer ], :string ], # EAPI void elm_datetime_format_set(Evas_Object *obj, const char *fmt); - [ :elm_datetime_format_set, [ :evas_object, :string ], :void ], - # EAPI Eina_Bool elm_datetime_value_max_get(const Evas_Object *obj, struct tm *maxtime); - [ :elm_datetime_value_max_get, [ :evas_object, :pointer ], :bool ], - # EAPI Eina_Bool elm_datetime_value_max_set(Evas_Object *obj, const struct tm *maxtime); - [ :elm_datetime_value_max_set, [ :evas_object, :pointer ], :bool ], - # EAPI Eina_Bool elm_datetime_value_min_get(const Evas_Object *obj, struct tm *mintime); - [ :elm_datetime_value_min_get, [ :evas_object, :pointer ], :bool ], - # EAPI Eina_Bool elm_datetime_value_min_set(Evas_Object *obj, const struct tm *mintime); - [ :elm_datetime_value_min_set, [ :evas_object, :pointer ], :bool ], + [ :elm_datetime_format_set, [ :pointer, :string ], :void ], + # EAPI Eina_Bool elm_datetime_field_visible_get(const Evas_Object *obj, Elm_Datetime_Field_Type fieldtype); + [ :elm_datetime_field_visible_get, [ :pointer, :elm_datetime_field_type ], :bool ], + # EAPI void elm_datetime_field_visible_set(Evas_Object *obj, Elm_Datetime_Field_Type fieldtype, Eina_Bool visible); + [ :elm_datetime_field_visible_set, [ :pointer, :elm_datetime_field_type, :bool ], :void ], # EAPI void elm_datetime_field_limit_get(const Evas_Object *obj, Elm_Datetime_Field_Type fieldtype, int *min, int *max); - [ :elm_datetime_field_limit_get, [ :evas_object, :elm_datetime_field_type, :pointer, :pointer ], :void ], + [ :elm_datetime_field_limit_get, [ :pointer, :elm_datetime_field_type, :pointer, :pointer ], :void ], # EAPI void elm_datetime_field_limit_set(Evas_Object *obj, Elm_Datetime_Field_Type fieldtype, int min, int max); - [ :elm_datetime_field_limit_set, [ :evas_object, :elm_datetime_field_type, :int, :int ], :void ], + [ :elm_datetime_field_limit_set, [ :pointer, :elm_datetime_field_type, :int, :int ], :void ], # EAPI Eina_Bool elm_datetime_value_get(const Evas_Object *obj, struct tm *currtime); - [ :elm_datetime_value_get, [ :evas_object, :pointer ], :bool ], + [ :elm_datetime_value_get, [ :pointer, :pointer ], :bool ], # EAPI Eina_Bool elm_datetime_value_set(Evas_Object *obj, const struct tm *newtime); - [ :elm_datetime_value_set, [ :evas_object, :pointer ], :bool ], - # EAPI Eina_Bool elm_datetime_field_visible_get(const Evas_Object *obj, Elm_Datetime_Field_Type fieldtype); - [ :elm_datetime_field_visible_get, [ :evas_object, :elm_datetime_field_type ], :bool ], - # EAPI void elm_datetime_field_visible_set(Evas_Object *obj, Elm_Datetime_Field_Type fieldtype, Eina_Bool visible); - [ :elm_datetime_field_visible_set, [ :evas_object, :elm_datetime_field_type, :bool ], :void ], + [ :elm_datetime_value_set, [ :pointer, :pointer ], :bool ], + # EAPI Eina_Bool elm_datetime_value_min_get(const Evas_Object *obj, struct tm *mintime); + [ :elm_datetime_value_min_get, [ :pointer, :pointer ], :bool ], + # EAPI Eina_Bool elm_datetime_value_min_set(Evas_Object *obj, const struct tm *mintime); + [ :elm_datetime_value_min_set, [ :pointer, :pointer ], :bool ], + # EAPI Eina_Bool elm_datetime_value_max_get(const Evas_Object *obj, struct tm *maxtime); + [ :elm_datetime_value_max_get, [ :pointer, :pointer ], :bool ], + # EAPI Eina_Bool elm_datetime_value_max_set(Evas_Object *obj, const struct tm *maxtime); + [ :elm_datetime_value_max_set, [ :pointer, :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_dayselector.rb b/lib/efl/native/elm/elm_dayselector.rb index 500b4ec..ae3d464 100644 --- a/lib/efl/native/elm/elm_dayselector.rb +++ b/lib/efl/native/elm/elm_dayselector.rb @@ -29,23 +29,27 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_dayselector_add(Evas_Object *parent); - [ :elm_dayselector_add, [ :evas_object ], :evas_object ], + [ :elm_dayselector_add, [ :pointer ], :pointer ], # EAPI void elm_dayselector_day_selected_set(Evas_Object *obj, Elm_Dayselector_Day day, Eina_Bool selected); - [ :elm_dayselector_day_selected_set, [ :evas_object, :elm_dayselector_day, :bool ], :void ], + [ :elm_dayselector_day_selected_set, [ :pointer, :elm_dayselector_day, :bool ], :void ], # EAPI Eina_Bool elm_dayselector_day_selected_get(const Evas_Object *obj, Elm_Dayselector_Day day); - [ :elm_dayselector_day_selected_get, [ :evas_object, :elm_dayselector_day ], :bool ], + [ :elm_dayselector_day_selected_get, [ :pointer, :elm_dayselector_day ], :bool ], # EAPI void elm_dayselector_week_start_set(Evas_Object *obj, Elm_Dayselector_Day day); - [ :elm_dayselector_week_start_set, [ :evas_object, :elm_dayselector_day ], :void ], + [ :elm_dayselector_week_start_set, [ :pointer, :elm_dayselector_day ], :void ], # EAPI Elm_Dayselector_Day elm_dayselector_week_start_get(const Evas_Object *obj); - [ :elm_dayselector_week_start_get, [ :evas_object ], :elm_dayselector_day ], + [ :elm_dayselector_week_start_get, [ :pointer ], :elm_dayselector_day ], # EAPI void elm_dayselector_weekend_start_set(Evas_Object *obj, Elm_Dayselector_Day day); - [ :elm_dayselector_weekend_start_set, [ :evas_object, :elm_dayselector_day ], :void ], + [ :elm_dayselector_weekend_start_set, [ :pointer, :elm_dayselector_day ], :void ], # EAPI Elm_Dayselector_Day elm_dayselector_weekend_start_get(const Evas_Object *obj); - [ :elm_dayselector_weekend_start_get, [ :evas_object ], :elm_dayselector_day ], + [ :elm_dayselector_weekend_start_get, [ :pointer ], :elm_dayselector_day ], # EAPI void elm_dayselector_weekend_length_set(Evas_Object *obj, unsigned int length); - [ :elm_dayselector_weekend_length_set, [ :evas_object, :uint ], :void ], + [ :elm_dayselector_weekend_length_set, [ :pointer, :uint ], :void ], # EAPI unsigned int elm_dayselector_weekend_length_get(const Evas_Object *obj); - [ :elm_dayselector_weekend_length_get, [ :evas_object ], :uint ], + [ :elm_dayselector_weekend_length_get, [ :pointer ], :uint ], + # EAPI void elm_dayselector_weekdays_names_set(Evas_Object *obj, const char *weekdays[]); + # FIXME + # EAPI Eina_List *elm_dayselector_weekdays_names_get(const Evas_Object *obj); + [ :elm_dayselector_weekdays_names_get, [ :pointer ], :eina_list ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_debug.rb b/lib/efl/native/elm/elm_debug.rb index 48cddc2..4963a09 100644 --- a/lib/efl/native/elm/elm_debug.rb +++ b/lib/efl/native/elm/elm_debug.rb @@ -24,9 +24,9 @@ module Efl # FUNCTIONS fcts = [ # EAPI void elm_object_tree_dump(const Evas_Object *top); - [ :elm_object_tree_dump, [ :evas_object ], :void ], + [ :elm_object_tree_dump, [ :pointer ], :void ], # EAPI void elm_object_tree_dot_dump(const Evas_Object *top, const char *file); - [ :elm_object_tree_dot_dump, [ :evas_object, :string ], :void ], + [ :elm_object_tree_dot_dump, [ :pointer, :string ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_diskselector.rb b/lib/efl/native/elm/elm_diskselector.rb index 1d62b4f..76ac883 100644 --- a/lib/efl/native/elm/elm_diskselector.rb +++ b/lib/efl/native/elm/elm_diskselector.rb @@ -24,40 +24,40 @@ module Efl # # FUNCTIONS fcts = [ + # EAPI void elm_diskselector_item_selected_set(Elm_Object_Item *it, Eina_Bool selected); + [ :elm_diskselector_item_selected_set, [ :elm_object_item, :bool ], :void ], + # EAPI Eina_Bool elm_diskselector_item_selected_get(const Elm_Object_Item *it); + [ :elm_diskselector_item_selected_get, [ :elm_object_item ], :bool ], + # EAPI Elm_Object_Item *elm_diskselector_item_prev_get(const Elm_Object_Item *it); + [ :elm_diskselector_item_prev_get, [ :elm_object_item ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_diskselector_item_next_get(const Elm_Object_Item *it); + [ :elm_diskselector_item_next_get, [ :elm_object_item ], :elm_object_item ], # EAPI Evas_Object *elm_diskselector_add(Evas_Object *parent); - [ :elm_diskselector_add, [ :evas_object ], :evas_object ], - # EAPI void elm_diskselector_round_enabled_set(Evas_Object *obj, Eina_Bool enabled); - [ :elm_diskselector_round_enabled_set, [ :evas_object, :bool ], :void ], + [ :elm_diskselector_add, [ :pointer ], :pointer ], # EAPI Eina_Bool elm_diskselector_round_enabled_get(const Evas_Object *obj); - [ :elm_diskselector_round_enabled_get, [ :evas_object ], :bool ], + [ :elm_diskselector_round_enabled_get, [ :pointer ], :bool ], + # EAPI void elm_diskselector_round_enabled_set(Evas_Object *obj, Eina_Bool enabled); + [ :elm_diskselector_round_enabled_set, [ :pointer, :bool ], :void ], # EAPI int elm_diskselector_side_text_max_length_get(const Evas_Object *obj); - [ :elm_diskselector_side_text_max_length_get, [ :evas_object ], :int ], + [ :elm_diskselector_side_text_max_length_get, [ :pointer ], :int ], # EAPI void elm_diskselector_side_text_max_length_set(Evas_Object *obj, int len); - [ :elm_diskselector_side_text_max_length_set, [ :evas_object, :int ], :void ], - # EAPI void elm_diskselector_display_item_num_set(Evas_Object *obj, int num); - [ :elm_diskselector_display_item_num_set, [ :evas_object, :int ], :void ], - # EAPI int elm_diskselector_display_item_num_get(const Evas_Object *obj); - [ :elm_diskselector_display_item_num_get, [ :evas_object ], :int ], + [ :elm_diskselector_side_text_max_length_set, [ :pointer, :int ], :void ], # EAPI void elm_diskselector_clear(Evas_Object *obj); - [ :elm_diskselector_clear, [ :evas_object ], :void ], + [ :elm_diskselector_clear, [ :pointer ], :void ], # EAPI const Eina_List *elm_diskselector_items_get(const Evas_Object *obj); - [ :elm_diskselector_items_get, [ :evas_object ], :eina_list ], + [ :elm_diskselector_items_get, [ :pointer ], :eina_list ], # EAPI Elm_Object_Item *elm_diskselector_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data); - [ :elm_diskselector_item_append, [ :evas_object, :string, :evas_object, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_diskselector_item_append, [ :pointer, :string, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_diskselector_selected_item_get(const Evas_Object *obj); - [ :elm_diskselector_selected_item_get, [ :evas_object ], :elm_object_item ], - # EAPI void elm_diskselector_item_selected_set(Elm_Object_Item *it, Eina_Bool selected); - [ :elm_diskselector_item_selected_set, [ :elm_object_item, :bool ], :void ], - # EAPI Eina_Bool elm_diskselector_item_selected_get(const Elm_Object_Item *it); - [ :elm_diskselector_item_selected_get, [ :elm_object_item ], :bool ], + [ :elm_diskselector_selected_item_get, [ :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_diskselector_first_item_get(const Evas_Object *obj); - [ :elm_diskselector_first_item_get, [ :evas_object ], :elm_object_item ], + [ :elm_diskselector_first_item_get, [ :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_diskselector_last_item_get(const Evas_Object *obj); - [ :elm_diskselector_last_item_get, [ :evas_object ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_diskselector_item_prev_get(const Elm_Object_Item *it); - [ :elm_diskselector_item_prev_get, [ :elm_object_item ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_diskselector_item_next_get(const Elm_Object_Item *it); - [ :elm_diskselector_item_next_get, [ :elm_object_item ], :elm_object_item ], + [ :elm_diskselector_last_item_get, [ :pointer ], :elm_object_item ], + # EAPI void elm_diskselector_display_item_num_set(Evas_Object *obj, int num); + [ :elm_diskselector_display_item_num_set, [ :pointer, :int ], :void ], + # EAPI int elm_diskselector_display_item_num_get(const Evas_Object *obj); + [ :elm_diskselector_display_item_num_get, [ :pointer ], :int ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_entry.rb b/lib/efl/native/elm/elm_entry.rb index 08aaa9e..f74eb55 100644 --- a/lib/efl/native/elm/elm_entry.rb +++ b/lib/efl/native/elm/elm_entry.rb @@ -33,7 +33,7 @@ module Efl enum :elm_input_panel_layout, [ :elm_input_panel_layout_normal, :elm_input_panel_layout_number, :elm_input_panel_layout_email, :elm_input_panel_layout_url, :elm_input_panel_layout_phonenumber, :elm_input_panel_layout_ip, :elm_input_panel_layout_month, :elm_input_panel_layout_numberonly, :elm_input_panel_layout_invalid, :elm_input_panel_layout_hex, :elm_input_panel_layout_terminal, - :elm_input_panel_layout_password ] + :elm_input_panel_layout_password, :elm_input_panel_layout_datetime ] # typedef enum {...} Elm_Input_Panel_Lang; enum :elm_input_panel_lang, [ :elm_input_panel_lang_automatic, :elm_input_panel_lang_alphabet ] # typedef enum {...} Elm_Autocapital_Type; @@ -42,7 +42,8 @@ module Efl # typedef enum {...} Elm_Input_Panel_Return_Key_Type; enum :elm_input_panel_return_key_type, [ :elm_input_panel_return_key_type_default, :elm_input_panel_return_key_type_done, :elm_input_panel_return_key_type_go, :elm_input_panel_return_key_type_join, :elm_input_panel_return_key_type_login, - :elm_input_panel_return_key_type_next, :elm_input_panel_return_key_type_search, :elm_input_panel_return_key_type_send ] + :elm_input_panel_return_key_type_next, :elm_input_panel_return_key_type_search, :elm_input_panel_return_key_type_send, + :elm_input_panel_return_key_type_signin ] # typedef enum {...} Elm_Cnp_Mode; enum :elm_cnp_mode, [ :elm_cnp_mode_markup, :elm_cnp_mode_no_image, :elm_cnp_mode_plaintext ] # @@ -51,6 +52,8 @@ module Efl typedef :pointer, :elm_entry_anchor_info # typedef struct _Elm_Entry_Anchor_Hover_Info Elm_Entry_Anchor_Hover_Info; typedef :pointer, :elm_entry_anchor_hover_info + # typedef struct _Elm_Entry_Context_Menu_Item Elm_Entry_Context_Menu_Item; + typedef :pointer, :elm_entry_context_menu_item # typedef Edje_Entry_Change_Info Elm_Entry_Change_Info; typedef :edje_entry_change_info, :elm_entry_change_info # typedef struct _Elm_Entry_Filter_Limit_Size Elm_Entry_Filter_Limit_Size; @@ -60,202 +63,208 @@ module Efl # # CALLBACKS # typedef Evas_Object * (*Elm_Entry_Item_Provider_Cb) (void *data, Evas_Object * entry, const char *item); - callback :elm_entry_item_provider_cb, [ :pointer, :evas_object, :string ], :evas_object + callback :elm_entry_item_provider_cb, [ :pointer, :pointer, :string ], :pointer # typedef void (*Elm_Entry_Filter_Cb) (void *data, Evas_Object *entry, char **text); - callback :elm_entry_filter_cb, [ :pointer, :evas_object, :pointer ], :void + callback :elm_entry_filter_cb, [ :pointer, :pointer, :pointer ], :void # # FUNCTIONS fcts = [ + # EAPI char *elm_entry_markup_to_utf8(const char *s); + [ :elm_entry_markup_to_utf8, [ :string ], :string ], + # EAPI char *elm_entry_utf8_to_markup(const char *s); + [ :elm_entry_utf8_to_markup, [ :string ], :string ], + # EAPI void elm_entry_filter_limit_size(void *data, Evas_Object *entry, char **text); + [ :elm_entry_filter_limit_size, [ :pointer, :pointer, :pointer ], :void ], + # EAPI void elm_entry_filter_accept_set(void *data, Evas_Object *entry, char **text); + [ :elm_entry_filter_accept_set, [ :pointer, :pointer, :pointer ], :void ], + # EAPI const char *elm_entry_context_menu_item_label_get(const Elm_Entry_Context_Menu_Item *item); + [ :elm_entry_context_menu_item_label_get, [ :elm_entry_context_menu_item ], :string ], + # EAPI void elm_entry_context_menu_item_icon_get(const Elm_Entry_Context_Menu_Item *item, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type); + [ :elm_entry_context_menu_item_icon_get, [ :elm_entry_context_menu_item, :pointer, :pointer, :pointer ], :void ], # EAPI Evas_Object *elm_entry_add(Evas_Object *parent); - [ :elm_entry_add, [ :evas_object ], :evas_object ], + [ :elm_entry_add, [ :pointer ], :pointer ], + # EAPI void elm_entry_entry_set(Evas_Object *obj, const char *entry); + [ :elm_entry_entry_set, [ :pointer, :string ], :void ], + # EAPI const char *elm_entry_entry_get(const Evas_Object *obj); + [ :elm_entry_entry_get, [ :pointer ], :string ], # EAPI void elm_entry_text_style_user_push(Evas_Object *obj, const char *style); - [ :elm_entry_text_style_user_push, [ :evas_object, :string ], :void ], + [ :elm_entry_text_style_user_push, [ :pointer, :string ], :void ], # EAPI void elm_entry_text_style_user_pop(Evas_Object *obj); - [ :elm_entry_text_style_user_pop, [ :evas_object ], :void ], + [ :elm_entry_text_style_user_pop, [ :pointer ], :void ], # EAPI const char* elm_entry_text_style_user_peek(const Evas_Object *obj); - [ :elm_entry_text_style_user_peek, [ :evas_object ], :pointer ], + [ :elm_entry_text_style_user_peek, [ :pointer ], :pointer ], # EAPI void elm_entry_single_line_set(Evas_Object *obj, Eina_Bool single_line); - [ :elm_entry_single_line_set, [ :evas_object, :bool ], :void ], + [ :elm_entry_single_line_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_entry_single_line_get(const Evas_Object *obj); - [ :elm_entry_single_line_get, [ :evas_object ], :bool ], + [ :elm_entry_single_line_get, [ :pointer ], :bool ], # EAPI void elm_entry_password_set(Evas_Object *obj, Eina_Bool password); - [ :elm_entry_password_set, [ :evas_object, :bool ], :void ], + [ :elm_entry_password_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_entry_password_get(const Evas_Object *obj); - [ :elm_entry_password_get, [ :evas_object ], :bool ], - # EAPI void elm_entry_entry_set(Evas_Object *obj, const char *entry); - [ :elm_entry_entry_set, [ :evas_object, :string ], :void ], - # EAPI const char *elm_entry_entry_get(const Evas_Object *obj); - [ :elm_entry_entry_get, [ :evas_object ], :string ], + [ :elm_entry_password_get, [ :pointer ], :bool ], # EAPI void elm_entry_entry_append(Evas_Object *obj, const char *entry); - [ :elm_entry_entry_append, [ :evas_object, :string ], :void ], + [ :elm_entry_entry_append, [ :pointer, :string ], :void ], # EAPI Eina_Bool elm_entry_is_empty(const Evas_Object *obj); - [ :elm_entry_is_empty, [ :evas_object ], :bool ], - # EAPI const char *elm_entry_selection_get(const Evas_Object *obj); - [ :elm_entry_selection_get, [ :evas_object ], :string ], + [ :elm_entry_is_empty, [ :pointer ], :bool ], # EAPI Evas_Object * elm_entry_textblock_get(Evas_Object *obj); - [ :elm_entry_textblock_get, [ :evas_object ], :evas_object ], + [ :elm_entry_textblock_get, [ :pointer ], :pointer ], # EAPI void elm_entry_calc_force(Evas_Object *obj); - [ :elm_entry_calc_force, [ :evas_object ], :void ], + [ :elm_entry_calc_force, [ :pointer ], :void ], + # EAPI const char *elm_entry_selection_get(const Evas_Object *obj); + [ :elm_entry_selection_get, [ :pointer ], :string ], + # EAPI void elm_entry_selection_handler_disabled_set(Evas_Object *obj, Eina_Bool disabled); + [ :elm_entry_selection_handler_disabled_set, [ :pointer, :bool ], :void ], + # EAPI void elm_entry_selection_handler_disabled_set(Evas_Object *obj, Eina_Bool disabled); + [ :elm_entry_selection_handler_disabled_set, [ :pointer, :bool ], :void ], # EAPI void elm_entry_entry_insert(Evas_Object *obj, const char *entry); - [ :elm_entry_entry_insert, [ :evas_object, :string ], :void ], + [ :elm_entry_entry_insert, [ :pointer, :string ], :void ], # EAPI void elm_entry_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap); - [ :elm_entry_line_wrap_set, [ :evas_object, :elm_wrap_type ], :void ], + [ :elm_entry_line_wrap_set, [ :pointer, :elm_wrap_type ], :void ], # EAPI Elm_Wrap_Type elm_entry_line_wrap_get(const Evas_Object *obj); - [ :elm_entry_line_wrap_get, [ :evas_object ], :elm_wrap_type ], + [ :elm_entry_line_wrap_get, [ :pointer ], :elm_wrap_type ], # EAPI void elm_entry_editable_set(Evas_Object *obj, Eina_Bool editable); - [ :elm_entry_editable_set, [ :evas_object, :bool ], :void ], + [ :elm_entry_editable_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_entry_editable_get(const Evas_Object *obj); - [ :elm_entry_editable_get, [ :evas_object ], :bool ], + [ :elm_entry_editable_get, [ :pointer ], :bool ], # EAPI void elm_entry_select_none(Evas_Object *obj); - [ :elm_entry_select_none, [ :evas_object ], :void ], + [ :elm_entry_select_none, [ :pointer ], :void ], # EAPI void elm_entry_select_all(Evas_Object *obj); - [ :elm_entry_select_all, [ :evas_object ], :void ], + [ :elm_entry_select_all, [ :pointer ], :void ], + # EAPI Eina_Bool elm_entry_cursor_geometry_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); + [ :elm_entry_cursor_geometry_get, [ :pointer, :pointer, :pointer, :pointer, :pointer ], :bool ], # EAPI Eina_Bool elm_entry_cursor_next(Evas_Object *obj); - [ :elm_entry_cursor_next, [ :evas_object ], :bool ], + [ :elm_entry_cursor_next, [ :pointer ], :bool ], # EAPI Eina_Bool elm_entry_cursor_prev(Evas_Object *obj); - [ :elm_entry_cursor_prev, [ :evas_object ], :bool ], + [ :elm_entry_cursor_prev, [ :pointer ], :bool ], # EAPI Eina_Bool elm_entry_cursor_up(Evas_Object *obj); - [ :elm_entry_cursor_up, [ :evas_object ], :bool ], + [ :elm_entry_cursor_up, [ :pointer ], :bool ], # EAPI Eina_Bool elm_entry_cursor_down(Evas_Object *obj); - [ :elm_entry_cursor_down, [ :evas_object ], :bool ], + [ :elm_entry_cursor_down, [ :pointer ], :bool ], # EAPI void elm_entry_cursor_begin_set(Evas_Object *obj); - [ :elm_entry_cursor_begin_set, [ :evas_object ], :void ], + [ :elm_entry_cursor_begin_set, [ :pointer ], :void ], # EAPI void elm_entry_cursor_end_set(Evas_Object *obj); - [ :elm_entry_cursor_end_set, [ :evas_object ], :void ], + [ :elm_entry_cursor_end_set, [ :pointer ], :void ], # EAPI void elm_entry_cursor_line_begin_set(Evas_Object *obj); - [ :elm_entry_cursor_line_begin_set, [ :evas_object ], :void ], + [ :elm_entry_cursor_line_begin_set, [ :pointer ], :void ], # EAPI void elm_entry_cursor_line_end_set(Evas_Object *obj); - [ :elm_entry_cursor_line_end_set, [ :evas_object ], :void ], + [ :elm_entry_cursor_line_end_set, [ :pointer ], :void ], # EAPI void elm_entry_cursor_selection_begin(Evas_Object *obj); - [ :elm_entry_cursor_selection_begin, [ :evas_object ], :void ], + [ :elm_entry_cursor_selection_begin, [ :pointer ], :void ], # EAPI void elm_entry_cursor_selection_end(Evas_Object *obj); - [ :elm_entry_cursor_selection_end, [ :evas_object ], :void ], + [ :elm_entry_cursor_selection_end, [ :pointer ], :void ], # EAPI Eina_Bool elm_entry_cursor_is_format_get(const Evas_Object *obj); - [ :elm_entry_cursor_is_format_get, [ :evas_object ], :bool ], + [ :elm_entry_cursor_is_format_get, [ :pointer ], :bool ], # EAPI Eina_Bool elm_entry_cursor_is_visible_format_get(const Evas_Object *obj); - [ :elm_entry_cursor_is_visible_format_get, [ :evas_object ], :bool ], + [ :elm_entry_cursor_is_visible_format_get, [ :pointer ], :bool ], # EAPI char *elm_entry_cursor_content_get(const Evas_Object *obj); - [ :elm_entry_cursor_content_get, [ :evas_object ], :string ], - # EAPI Eina_Bool elm_entry_cursor_geometry_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); - [ :elm_entry_cursor_geometry_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :bool ], + [ :elm_entry_cursor_content_get, [ :pointer ], :string ], # EAPI void elm_entry_cursor_pos_set(Evas_Object *obj, int pos); - [ :elm_entry_cursor_pos_set, [ :evas_object, :int ], :void ], + [ :elm_entry_cursor_pos_set, [ :pointer, :int ], :void ], # EAPI int elm_entry_cursor_pos_get(const Evas_Object *obj); - [ :elm_entry_cursor_pos_get, [ :evas_object ], :int ], + [ :elm_entry_cursor_pos_get, [ :pointer ], :int ], # EAPI void elm_entry_selection_cut(Evas_Object *obj); - [ :elm_entry_selection_cut, [ :evas_object ], :void ], + [ :elm_entry_selection_cut, [ :pointer ], :void ], # EAPI void elm_entry_selection_copy(Evas_Object *obj); - [ :elm_entry_selection_copy, [ :evas_object ], :void ], + [ :elm_entry_selection_copy, [ :pointer ], :void ], # EAPI void elm_entry_selection_paste(Evas_Object *obj); - [ :elm_entry_selection_paste, [ :evas_object ], :void ], + [ :elm_entry_selection_paste, [ :pointer ], :void ], # EAPI void elm_entry_context_menu_clear(Evas_Object *obj); - [ :elm_entry_context_menu_clear, [ :evas_object ], :void ], + [ :elm_entry_context_menu_clear, [ :pointer ], :void ], # EAPI void elm_entry_context_menu_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data); - [ :elm_entry_context_menu_item_add, [ :evas_object, :string, :string, :elm_icon_type, :evas_smart_cb, :pointer ], :void ], + [ :elm_entry_context_menu_item_add, [ :pointer, :string, :string, :elm_icon_type, :evas_smart_cb, :pointer ], :void ], # EAPI void elm_entry_context_menu_disabled_set(Evas_Object *obj, Eina_Bool disabled); - [ :elm_entry_context_menu_disabled_set, [ :evas_object, :bool ], :void ], + [ :elm_entry_context_menu_disabled_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_entry_context_menu_disabled_get(const Evas_Object *obj); - [ :elm_entry_context_menu_disabled_get, [ :evas_object ], :bool ], + [ :elm_entry_context_menu_disabled_get, [ :pointer ], :bool ], # EAPI void elm_entry_item_provider_append(Evas_Object *obj, Elm_Entry_Item_Provider_Cb func, void *data); - [ :elm_entry_item_provider_append, [ :evas_object, :elm_entry_item_provider_cb, :pointer ], :void ], + [ :elm_entry_item_provider_append, [ :pointer, :elm_entry_item_provider_cb, :pointer ], :void ], # EAPI void elm_entry_item_provider_prepend(Evas_Object *obj, Elm_Entry_Item_Provider_Cb func, void *data); - [ :elm_entry_item_provider_prepend, [ :evas_object, :elm_entry_item_provider_cb, :pointer ], :void ], + [ :elm_entry_item_provider_prepend, [ :pointer, :elm_entry_item_provider_cb, :pointer ], :void ], # EAPI void elm_entry_item_provider_remove(Evas_Object *obj, Elm_Entry_Item_Provider_Cb func, void *data); - [ :elm_entry_item_provider_remove, [ :evas_object, :elm_entry_item_provider_cb, :pointer ], :void ], + [ :elm_entry_item_provider_remove, [ :pointer, :elm_entry_item_provider_cb, :pointer ], :void ], # EAPI void elm_entry_markup_filter_append(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data); - [ :elm_entry_markup_filter_append, [ :evas_object, :elm_entry_filter_cb, :pointer ], :void ], + [ :elm_entry_markup_filter_append, [ :pointer, :elm_entry_filter_cb, :pointer ], :void ], # EAPI void elm_entry_markup_filter_prepend(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data); - [ :elm_entry_markup_filter_prepend, [ :evas_object, :elm_entry_filter_cb, :pointer ], :void ], + [ :elm_entry_markup_filter_prepend, [ :pointer, :elm_entry_filter_cb, :pointer ], :void ], # EAPI void elm_entry_markup_filter_remove(Evas_Object *obj, Elm_Entry_Filter_Cb func, void *data); - [ :elm_entry_markup_filter_remove, [ :evas_object, :elm_entry_filter_cb, :pointer ], :void ], - # EAPI char *elm_entry_markup_to_utf8(const char *s); - [ :elm_entry_markup_to_utf8, [ :string ], :string ], - # EAPI char *elm_entry_utf8_to_markup(const char *s); - [ :elm_entry_utf8_to_markup, [ :string ], :string ], + [ :elm_entry_markup_filter_remove, [ :pointer, :elm_entry_filter_cb, :pointer ], :void ], # EAPI Eina_Bool elm_entry_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format); - [ :elm_entry_file_set, [ :evas_object, :string, :elm_text_format ], :bool ], + [ :elm_entry_file_set, [ :pointer, :string, :elm_text_format ], :bool ], # EAPI void elm_entry_file_get(const Evas_Object *obj, const char **file, Elm_Text_Format *format); - [ :elm_entry_file_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_entry_file_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_entry_file_save(Evas_Object *obj); - [ :elm_entry_file_save, [ :evas_object ], :void ], + [ :elm_entry_file_save, [ :pointer ], :void ], # EAPI void elm_entry_autosave_set(Evas_Object *obj, Eina_Bool autosave); - [ :elm_entry_autosave_set, [ :evas_object, :bool ], :void ], + [ :elm_entry_autosave_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_entry_autosave_get(const Evas_Object *obj); - [ :elm_entry_autosave_get, [ :evas_object ], :bool ], + [ :elm_entry_autosave_get, [ :pointer ], :bool ], + # EAPI void elm_entry_cnp_mode_set(Evas_Object *obj, Elm_Cnp_Mode cnp_mode); + [ :elm_entry_cnp_mode_set, [ :pointer, :elm_cnp_mode ], :void ], + # EAPI Elm_Cnp_Mode elm_entry_cnp_mode_get(const Evas_Object *obj); + [ :elm_entry_cnp_mode_get, [ :pointer ], :elm_cnp_mode ], # EAPI void elm_entry_scrollable_set(Evas_Object *obj, Eina_Bool scroll); - [ :elm_entry_scrollable_set, [ :evas_object, :bool ], :void ], + [ :elm_entry_scrollable_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_entry_scrollable_get(const Evas_Object *obj); - [ :elm_entry_scrollable_get, [ :evas_object ], :bool ], + [ :elm_entry_scrollable_get, [ :pointer ], :bool ], # EAPI void elm_entry_icon_visible_set(Evas_Object *obj, Eina_Bool setting); - [ :elm_entry_icon_visible_set, [ :evas_object, :bool ], :void ], + [ :elm_entry_icon_visible_set, [ :pointer, :bool ], :void ], # EAPI void elm_entry_end_visible_set(Evas_Object *obj, Eina_Bool setting); - [ :elm_entry_end_visible_set, [ :evas_object, :bool ], :void ], - # EAPI void elm_entry_scrollbar_policy_set(Evas_Object *obj, Elm_Scroller_Policy h, Elm_Scroller_Policy v); - [ :elm_entry_scrollbar_policy_set, [ :evas_object, :elm_scroller_policy, :elm_scroller_policy ], :void ], - # EAPI void elm_entry_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce); - [ :elm_entry_bounce_set, [ :evas_object, :bool, :bool ], :void ], - # EAPI void elm_entry_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce); - [ :elm_entry_bounce_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_entry_end_visible_set, [ :pointer, :bool ], :void ], # EAPI void elm_entry_input_panel_layout_set(Evas_Object *obj, Elm_Input_Panel_Layout layout); - [ :elm_entry_input_panel_layout_set, [ :evas_object, :elm_input_panel_layout ], :void ], + [ :elm_entry_input_panel_layout_set, [ :pointer, :elm_input_panel_layout ], :void ], # EAPI Elm_Input_Panel_Layout elm_entry_input_panel_layout_get(const Evas_Object *obj); - [ :elm_entry_input_panel_layout_get, [ :evas_object ], :elm_input_panel_layout ], + [ :elm_entry_input_panel_layout_get, [ :pointer ], :elm_input_panel_layout ], # EAPI void elm_entry_autocapital_type_set(Evas_Object *obj, Elm_Autocapital_Type autocapital_type); - [ :elm_entry_autocapital_type_set, [ :evas_object, :elm_autocapital_type ], :void ], + [ :elm_entry_autocapital_type_set, [ :pointer, :elm_autocapital_type ], :void ], # EAPI Elm_Autocapital_Type elm_entry_autocapital_type_get(const Evas_Object *obj); - [ :elm_entry_autocapital_type_get, [ :evas_object ], :elm_autocapital_type ], + [ :elm_entry_autocapital_type_get, [ :pointer ], :elm_autocapital_type ], + # EAPI void elm_entry_prediction_allow_set(Evas_Object *obj, Eina_Bool prediction); + [ :elm_entry_prediction_allow_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_entry_prediction_allow_get(const Evas_Object *obj); + [ :elm_entry_prediction_allow_get, [ :pointer ], :bool ], + # EAPI void elm_entry_imf_context_reset(Evas_Object *obj); + [ :elm_entry_imf_context_reset, [ :pointer ], :void ], # EAPI void elm_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled); - [ :elm_entry_input_panel_enabled_set, [ :evas_object, :bool ], :void ], + [ :elm_entry_input_panel_enabled_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_entry_input_panel_enabled_get(const Evas_Object *obj); - [ :elm_entry_input_panel_enabled_get, [ :evas_object ], :bool ], + [ :elm_entry_input_panel_enabled_get, [ :pointer ], :bool ], # EAPI void elm_entry_input_panel_show(Evas_Object *obj); - [ :elm_entry_input_panel_show, [ :evas_object ], :void ], + [ :elm_entry_input_panel_show, [ :pointer ], :void ], # EAPI void elm_entry_input_panel_hide(Evas_Object *obj); - [ :elm_entry_input_panel_hide, [ :evas_object ], :void ], + [ :elm_entry_input_panel_hide, [ :pointer ], :void ], # EAPI void elm_entry_input_panel_language_set(Evas_Object *obj, Elm_Input_Panel_Lang lang); - [ :elm_entry_input_panel_language_set, [ :evas_object, :elm_input_panel_lang ], :void ], + [ :elm_entry_input_panel_language_set, [ :pointer, :elm_input_panel_lang ], :void ], # EAPI Elm_Input_Panel_Lang elm_entry_input_panel_language_get(const Evas_Object *obj); - [ :elm_entry_input_panel_language_get, [ :evas_object ], :elm_input_panel_lang ], + [ :elm_entry_input_panel_language_get, [ :pointer ], :elm_input_panel_lang ], # EAPI void elm_entry_input_panel_imdata_set(Evas_Object *obj, const void *data, int len); - [ :elm_entry_input_panel_imdata_set, [ :evas_object, :pointer, :int ], :void ], + [ :elm_entry_input_panel_imdata_set, [ :pointer, :pointer, :int ], :void ], # EAPI void elm_entry_input_panel_imdata_get(const Evas_Object *obj, void *data, int *len); - [ :elm_entry_input_panel_imdata_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_entry_input_panel_imdata_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_entry_input_panel_return_key_type_set(Evas_Object *obj, Elm_Input_Panel_Return_Key_Type return_key_type); - [ :elm_entry_input_panel_return_key_type_set, [ :evas_object, :elm_input_panel_return_key_type ], :void ], + [ :elm_entry_input_panel_return_key_type_set, [ :pointer, :elm_input_panel_return_key_type ], :void ], # EAPI Elm_Input_Panel_Return_Key_Type elm_entry_input_panel_return_key_type_get(const Evas_Object *obj); - [ :elm_entry_input_panel_return_key_type_get, [ :evas_object ], :elm_input_panel_return_key_type ], + [ :elm_entry_input_panel_return_key_type_get, [ :pointer ], :elm_input_panel_return_key_type ], # EAPI void elm_entry_input_panel_return_key_disabled_set(Evas_Object *obj, Eina_Bool disabled); - [ :elm_entry_input_panel_return_key_disabled_set, [ :evas_object, :bool ], :void ], + [ :elm_entry_input_panel_return_key_disabled_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_entry_input_panel_return_key_disabled_get(const Evas_Object *obj); - [ :elm_entry_input_panel_return_key_disabled_get, [ :evas_object ], :bool ], + [ :elm_entry_input_panel_return_key_disabled_get, [ :pointer ], :bool ], # EAPI void elm_entry_input_panel_return_key_autoenabled_set(Evas_Object *obj, Eina_Bool enabled); - [ :elm_entry_input_panel_return_key_autoenabled_set, [ :evas_object, :bool ], :void ], - # EAPI void elm_entry_imf_context_reset(Evas_Object *obj); - [ :elm_entry_imf_context_reset, [ :evas_object ], :void ], - # EAPI void elm_entry_prediction_allow_set(Evas_Object *obj, Eina_Bool prediction); - [ :elm_entry_prediction_allow_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_entry_prediction_allow_get(const Evas_Object *obj); - [ :elm_entry_prediction_allow_get, [ :evas_object ], :bool ], - # EAPI void elm_entry_filter_limit_size(void *data, Evas_Object *entry, char **text); - [ :elm_entry_filter_limit_size, [ :pointer, :evas_object, :pointer ], :void ], - # EAPI void elm_entry_filter_accept_set(void *data, Evas_Object *entry, char **text); - [ :elm_entry_filter_accept_set, [ :pointer, :evas_object, :pointer ], :void ], + [ :elm_entry_input_panel_return_key_autoenabled_set, [ :pointer, :bool ], :void ], # EAPI void *elm_entry_imf_context_get(Evas_Object *obj); - [ :elm_entry_imf_context_get, [ :evas_object ], :pointer ], - # EAPI void elm_entry_cnp_mode_set(Evas_Object *obj, Elm_Cnp_Mode cnp_mode); - [ :elm_entry_cnp_mode_set, [ :evas_object, :elm_cnp_mode ], :void ], - # EAPI Elm_Cnp_Mode elm_entry_cnp_mode_get(const Evas_Object *obj); - [ :elm_entry_cnp_mode_get, [ :evas_object ], :elm_cnp_mode ], + [ :elm_entry_imf_context_get, [ :pointer ], :pointer ], # EAPI void elm_entry_anchor_hover_parent_set(Evas_Object *obj, Evas_Object *parent); - [ :elm_entry_anchor_hover_parent_set, [ :evas_object, :evas_object ], :void ], + [ :elm_entry_anchor_hover_parent_set, [ :pointer, :pointer ], :void ], # EAPI Evas_Object *elm_entry_anchor_hover_parent_get(const Evas_Object *obj); - [ :elm_entry_anchor_hover_parent_get, [ :evas_object ], :evas_object ], + [ :elm_entry_anchor_hover_parent_get, [ :pointer ], :pointer ], # EAPI void elm_entry_anchor_hover_style_set(Evas_Object *obj, const char *style); - [ :elm_entry_anchor_hover_style_set, [ :evas_object, :string ], :void ], + [ :elm_entry_anchor_hover_style_set, [ :pointer, :string ], :void ], # EAPI const char *elm_entry_anchor_hover_style_get(const Evas_Object *obj); - [ :elm_entry_anchor_hover_style_get, [ :evas_object ], :string ], + [ :elm_entry_anchor_hover_style_get, [ :pointer ], :string ], # EAPI void elm_entry_anchor_hover_end(Evas_Object *obj); - [ :elm_entry_anchor_hover_end, [ :evas_object ], :void ], + [ :elm_entry_anchor_hover_end, [ :pointer ], :void ], + # EAPI void elm_entry_input_panel_layout_variation_set(Evas_Object *obj, int variation); + [ :elm_entry_input_panel_layout_variation_set, [ :pointer, :int ], :void ], + # EAPI int elm_entry_input_panel_layout_variation_get(const Evas_Object *obj); + [ :elm_entry_input_panel_layout_variation_get, [ :pointer ], :int ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_fileselector.rb b/lib/efl/native/elm/elm_fileselector.rb index 6c86789..0b0769a 100644 --- a/lib/efl/native/elm/elm_fileselector.rb +++ b/lib/efl/native/elm/elm_fileselector.rb @@ -28,35 +28,53 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_fileselector_add(Evas_Object *parent); - [ :elm_fileselector_add, [ :evas_object ], :evas_object ], + [ :elm_fileselector_add, [ :pointer ], :pointer ], # EAPI void elm_fileselector_is_save_set(Evas_Object *obj, Eina_Bool is_save); - [ :elm_fileselector_is_save_set, [ :evas_object, :bool ], :void ], + [ :elm_fileselector_is_save_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_fileselector_is_save_get(const Evas_Object *obj); - [ :elm_fileselector_is_save_get, [ :evas_object ], :bool ], + [ :elm_fileselector_is_save_get, [ :pointer ], :bool ], # EAPI void elm_fileselector_folder_only_set(Evas_Object *obj, Eina_Bool only); - [ :elm_fileselector_folder_only_set, [ :evas_object, :bool ], :void ], + [ :elm_fileselector_folder_only_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_fileselector_folder_only_get(const Evas_Object *obj); - [ :elm_fileselector_folder_only_get, [ :evas_object ], :bool ], + [ :elm_fileselector_folder_only_get, [ :pointer ], :bool ], # EAPI void elm_fileselector_buttons_ok_cancel_set(Evas_Object *obj, Eina_Bool buttons); - [ :elm_fileselector_buttons_ok_cancel_set, [ :evas_object, :bool ], :void ], + [ :elm_fileselector_buttons_ok_cancel_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_fileselector_buttons_ok_cancel_get(const Evas_Object *obj); - [ :elm_fileselector_buttons_ok_cancel_get, [ :evas_object ], :bool ], + [ :elm_fileselector_buttons_ok_cancel_get, [ :pointer ], :bool ], # EAPI void elm_fileselector_expandable_set(Evas_Object *obj, Eina_Bool expand); - [ :elm_fileselector_expandable_set, [ :evas_object, :bool ], :void ], + [ :elm_fileselector_expandable_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_fileselector_expandable_get(const Evas_Object *obj); - [ :elm_fileselector_expandable_get, [ :evas_object ], :bool ], + [ :elm_fileselector_expandable_get, [ :pointer ], :bool ], # EAPI void elm_fileselector_path_set(Evas_Object *obj, const char *path); - [ :elm_fileselector_path_set, [ :evas_object, :string ], :void ], + [ :elm_fileselector_path_set, [ :pointer, :string ], :void ], # EAPI const char *elm_fileselector_path_get(const Evas_Object *obj); - [ :elm_fileselector_path_get, [ :evas_object ], :string ], - # EAPI Eina_Bool elm_fileselector_selected_set(Evas_Object *obj, const char *path); - [ :elm_fileselector_selected_set, [ :evas_object, :string ], :bool ], - # EAPI const char *elm_fileselector_selected_get(const Evas_Object *obj); - [ :elm_fileselector_selected_get, [ :evas_object ], :string ], + [ :elm_fileselector_path_get, [ :pointer ], :string ], # EAPI void elm_fileselector_mode_set(Evas_Object *obj, Elm_Fileselector_Mode mode); - [ :elm_fileselector_mode_set, [ :evas_object, :elm_fileselector_mode ], :void ], + [ :elm_fileselector_mode_set, [ :pointer, :elm_fileselector_mode ], :void ], # EAPI Elm_Fileselector_Mode elm_fileselector_mode_get(const Evas_Object *obj); - [ :elm_fileselector_mode_get, [ :evas_object ], :elm_fileselector_mode ], + [ :elm_fileselector_mode_get, [ :pointer ], :elm_fileselector_mode ], + # EAPI void elm_fileselector_multi_select_set(Evas_Object *obj, Eina_Bool multi); + [ :elm_fileselector_multi_select_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_fileselector_multi_select_get(const Evas_Object *obj); + [ :elm_fileselector_multi_select_get, [ :pointer ], :bool ], + # EAPI Eina_Bool elm_fileselector_selected_set(Evas_Object *obj, const char *path); + [ :elm_fileselector_selected_set, [ :pointer, :string ], :bool ], + # EAPI const char *elm_fileselector_selected_get(const Evas_Object *obj); + [ :elm_fileselector_selected_get, [ :pointer ], :string ], + # EAPI const Eina_List *elm_fileselector_selected_paths_get(const Evas_Object *obj); + [ :elm_fileselector_selected_paths_get, [ :pointer ], :eina_list ], + # EAPI Eina_Bool elm_fileselector_mime_types_filter_append(Evas_Object *obj, const char *mime_types, const char *filter_name); + [ :elm_fileselector_mime_types_filter_append, [ :pointer, :string, :string ], :bool ], + # EAPI void elm_fileselector_filters_clear(Evas_Object *obj); + [ :elm_fileselector_filters_clear, [ :pointer ], :void ], + # EAPI void elm_fileselector_hidden_visible_set(Evas_Object *obj, Eina_Bool visible); + [ :elm_fileselector_hidden_visible_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_fileselector_hidden_visible_get(const Evas_Object *obj); + [ :elm_fileselector_hidden_visible_get, [ :pointer ], :bool ], + # EAPI void elm_fileselector_thumbnail_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); + [ :elm_fileselector_thumbnail_size_set, [ :pointer, :int, :int ], :void ], + # EAPI void elm_fileselector_thumbnail_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); + [ :elm_fileselector_thumbnail_size_get, [ :pointer, :pointer, :pointer ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_fileselector_button.rb b/lib/efl/native/elm/elm_fileselector_button.rb index 7b7fe4f..a20c534 100644 --- a/lib/efl/native/elm/elm_fileselector_button.rb +++ b/lib/efl/native/elm/elm_fileselector_button.rb @@ -24,35 +24,35 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_fileselector_button_add(Evas_Object *parent); - [ :elm_fileselector_button_add, [ :evas_object ], :evas_object ], + [ :elm_fileselector_button_add, [ :pointer ], :pointer ], # EAPI void elm_fileselector_button_window_title_set(Evas_Object *obj, const char *title); - [ :elm_fileselector_button_window_title_set, [ :evas_object, :string ], :void ], + [ :elm_fileselector_button_window_title_set, [ :pointer, :string ], :void ], # EAPI const char *elm_fileselector_button_window_title_get(const Evas_Object *obj); - [ :elm_fileselector_button_window_title_get, [ :evas_object ], :string ], + [ :elm_fileselector_button_window_title_get, [ :pointer ], :string ], # EAPI void elm_fileselector_button_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height); - [ :elm_fileselector_button_window_size_set, [ :evas_object, :int, :int ], :void ], + [ :elm_fileselector_button_window_size_set, [ :pointer, :int, :int ], :void ], # EAPI void elm_fileselector_button_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height); - [ :elm_fileselector_button_window_size_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_fileselector_button_window_size_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_fileselector_button_path_set(Evas_Object *obj, const char *path); - [ :elm_fileselector_button_path_set, [ :evas_object, :string ], :void ], + [ :elm_fileselector_button_path_set, [ :pointer, :string ], :void ], # EAPI const char *elm_fileselector_button_path_get(const Evas_Object *obj); - [ :elm_fileselector_button_path_get, [ :evas_object ], :string ], + [ :elm_fileselector_button_path_get, [ :pointer ], :string ], # EAPI void elm_fileselector_button_expandable_set(Evas_Object *obj, Eina_Bool value); - [ :elm_fileselector_button_expandable_set, [ :evas_object, :bool ], :void ], + [ :elm_fileselector_button_expandable_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_fileselector_button_expandable_get(const Evas_Object *obj); - [ :elm_fileselector_button_expandable_get, [ :evas_object ], :bool ], + [ :elm_fileselector_button_expandable_get, [ :pointer ], :bool ], # EAPI void elm_fileselector_button_folder_only_set(Evas_Object *obj, Eina_Bool value); - [ :elm_fileselector_button_folder_only_set, [ :evas_object, :bool ], :void ], + [ :elm_fileselector_button_folder_only_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_fileselector_button_folder_only_get(const Evas_Object *obj); - [ :elm_fileselector_button_folder_only_get, [ :evas_object ], :bool ], + [ :elm_fileselector_button_folder_only_get, [ :pointer ], :bool ], # EAPI void elm_fileselector_button_is_save_set(Evas_Object *obj, Eina_Bool value); - [ :elm_fileselector_button_is_save_set, [ :evas_object, :bool ], :void ], + [ :elm_fileselector_button_is_save_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_fileselector_button_is_save_get(const Evas_Object *obj); - [ :elm_fileselector_button_is_save_get, [ :evas_object ], :bool ], + [ :elm_fileselector_button_is_save_get, [ :pointer ], :bool ], # EAPI void elm_fileselector_button_inwin_mode_set(Evas_Object *obj, Eina_Bool value); - [ :elm_fileselector_button_inwin_mode_set, [ :evas_object, :bool ], :void ], + [ :elm_fileselector_button_inwin_mode_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_fileselector_button_inwin_mode_get(const Evas_Object *obj); - [ :elm_fileselector_button_inwin_mode_get, [ :evas_object ], :bool ], + [ :elm_fileselector_button_inwin_mode_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_fileselector_entry.rb b/lib/efl/native/elm/elm_fileselector_entry.rb index 3af8cd5..86e4f72 100644 --- a/lib/efl/native/elm/elm_fileselector_entry.rb +++ b/lib/efl/native/elm/elm_fileselector_entry.rb @@ -24,39 +24,39 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_fileselector_entry_add(Evas_Object *parent); - [ :elm_fileselector_entry_add, [ :evas_object ], :evas_object ], + [ :elm_fileselector_entry_add, [ :pointer ], :pointer ], # EAPI void elm_fileselector_entry_window_title_set(Evas_Object *obj, const char *title); - [ :elm_fileselector_entry_window_title_set, [ :evas_object, :string ], :void ], + [ :elm_fileselector_entry_window_title_set, [ :pointer, :string ], :void ], # EAPI const char *elm_fileselector_entry_window_title_get(const Evas_Object *obj); - [ :elm_fileselector_entry_window_title_get, [ :evas_object ], :string ], + [ :elm_fileselector_entry_window_title_get, [ :pointer ], :string ], # EAPI void elm_fileselector_entry_window_size_set(Evas_Object *obj, Evas_Coord width, Evas_Coord height); - [ :elm_fileselector_entry_window_size_set, [ :evas_object, :int, :int ], :void ], + [ :elm_fileselector_entry_window_size_set, [ :pointer, :int, :int ], :void ], # EAPI void elm_fileselector_entry_window_size_get(const Evas_Object *obj, Evas_Coord *width, Evas_Coord *height); - [ :elm_fileselector_entry_window_size_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_fileselector_entry_window_size_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_fileselector_entry_path_set(Evas_Object *obj, const char *path); - [ :elm_fileselector_entry_path_set, [ :evas_object, :string ], :void ], + [ :elm_fileselector_entry_path_set, [ :pointer, :string ], :void ], # EAPI const char *elm_fileselector_entry_path_get(const Evas_Object *obj); - [ :elm_fileselector_entry_path_get, [ :evas_object ], :string ], + [ :elm_fileselector_entry_path_get, [ :pointer ], :string ], # EAPI void elm_fileselector_entry_expandable_set(Evas_Object *obj, Eina_Bool value); - [ :elm_fileselector_entry_expandable_set, [ :evas_object, :bool ], :void ], + [ :elm_fileselector_entry_expandable_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_fileselector_entry_expandable_get(const Evas_Object *obj); - [ :elm_fileselector_entry_expandable_get, [ :evas_object ], :bool ], + [ :elm_fileselector_entry_expandable_get, [ :pointer ], :bool ], # EAPI void elm_fileselector_entry_folder_only_set(Evas_Object *obj, Eina_Bool value); - [ :elm_fileselector_entry_folder_only_set, [ :evas_object, :bool ], :void ], + [ :elm_fileselector_entry_folder_only_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_fileselector_entry_folder_only_get(const Evas_Object *obj); - [ :elm_fileselector_entry_folder_only_get, [ :evas_object ], :bool ], + [ :elm_fileselector_entry_folder_only_get, [ :pointer ], :bool ], # EAPI void elm_fileselector_entry_is_save_set(Evas_Object *obj, Eina_Bool value); - [ :elm_fileselector_entry_is_save_set, [ :evas_object, :bool ], :void ], + [ :elm_fileselector_entry_is_save_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_fileselector_entry_is_save_get(const Evas_Object *obj); - [ :elm_fileselector_entry_is_save_get, [ :evas_object ], :bool ], + [ :elm_fileselector_entry_is_save_get, [ :pointer ], :bool ], # EAPI void elm_fileselector_entry_inwin_mode_set(Evas_Object *obj, Eina_Bool value); - [ :elm_fileselector_entry_inwin_mode_set, [ :evas_object, :bool ], :void ], + [ :elm_fileselector_entry_inwin_mode_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_fileselector_entry_inwin_mode_get(const Evas_Object *obj); - [ :elm_fileselector_entry_inwin_mode_get, [ :evas_object ], :bool ], + [ :elm_fileselector_entry_inwin_mode_get, [ :pointer ], :bool ], # EAPI void elm_fileselector_entry_selected_set(Evas_Object *obj, const char *path); - [ :elm_fileselector_entry_selected_set, [ :evas_object, :string ], :void ], + [ :elm_fileselector_entry_selected_set, [ :pointer, :string ], :void ], # EAPI const char *elm_fileselector_entry_selected_get(const Evas_Object *obj); - [ :elm_fileselector_entry_selected_get, [ :evas_object ], :string ], + [ :elm_fileselector_entry_selected_get, [ :pointer ], :string ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_flip.rb b/lib/efl/native/elm/elm_flip.rb index d4b3ad9..a342366 100644 --- a/lib/efl/native/elm/elm_flip.rb +++ b/lib/efl/native/elm/elm_flip.rb @@ -30,30 +30,33 @@ module Efl enum :elm_flip_interaction, [ :elm_flip_interaction_none, :elm_flip_interaction_rotate, :elm_flip_interaction_cube, :elm_flip_interaction_page ] # typedef enum {...} Elm_Flip_Direction; - enum :elm_flip_direction, [ :elm_flip_direction_up, :elm_flip_direction_down, :elm_flip_direction_left, :elm_flip_direction_right ] + enum :elm_flip_direction, [ :elm_flip_direction_up, 0, :elm_flip_direction_down, 1, :elm_flip_direction_left, 2, :elm_flip_direction_right, 3 + ] # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_flip_add(Evas_Object *parent); - [ :elm_flip_add, [ :evas_object ], :evas_object ], + [ :elm_flip_add, [ :pointer ], :pointer ], + # EAPI Eina_Bool elm_flip_front_visible_get(const Evas_Object *obj); + [ :elm_flip_front_visible_get, [ :pointer ], :bool ], # EAPI void elm_flip_perspective_set(Evas_Object *obj, Evas_Coord foc, Evas_Coord x, Evas_Coord y); - [ :elm_flip_perspective_set, [ :evas_object, :int, :int, :int ], :void ], + [ :elm_flip_perspective_set, [ :pointer, :int, :int, :int ], :void ], # EAPI void elm_flip_go(Evas_Object *obj, Elm_Flip_Mode mode); - [ :elm_flip_go, [ :evas_object, :elm_flip_mode ], :void ], + [ :elm_flip_go, [ :pointer, :elm_flip_mode ], :void ], # EAPI void elm_flip_go_to(Evas_Object *obj, Eina_Bool front, Elm_Flip_Mode mode); - [ :elm_flip_go_to, [ :evas_object, :bool, :elm_flip_mode ], :void ], + [ :elm_flip_go_to, [ :pointer, :bool, :elm_flip_mode ], :void ], # EAPI void elm_flip_interaction_set(Evas_Object *obj, Elm_Flip_Interaction mode); - [ :elm_flip_interaction_set, [ :evas_object, :elm_flip_interaction ], :void ], + [ :elm_flip_interaction_set, [ :pointer, :elm_flip_interaction ], :void ], # EAPI Elm_Flip_Interaction elm_flip_interaction_get(const Evas_Object *obj); - [ :elm_flip_interaction_get, [ :evas_object ], :elm_flip_interaction ], + [ :elm_flip_interaction_get, [ :pointer ], :elm_flip_interaction ], # EAPI void elm_flip_interaction_direction_enabled_set(Evas_Object *obj, Elm_Flip_Direction dir, Eina_Bool enabled); - [ :elm_flip_interaction_direction_enabled_set, [ :evas_object, :elm_flip_direction, :bool ], :void ], + [ :elm_flip_interaction_direction_enabled_set, [ :pointer, :elm_flip_direction, :bool ], :void ], # EAPI Eina_Bool elm_flip_interaction_direction_enabled_get(Evas_Object *obj, Elm_Flip_Direction dir); - [ :elm_flip_interaction_direction_enabled_get, [ :evas_object, :elm_flip_direction ], :bool ], + [ :elm_flip_interaction_direction_enabled_get, [ :pointer, :elm_flip_direction ], :bool ], # EAPI void elm_flip_interaction_direction_hitsize_set(Evas_Object *obj, Elm_Flip_Direction dir, double hitsize); - [ :elm_flip_interaction_direction_hitsize_set, [ :evas_object, :elm_flip_direction, :double ], :void ], + [ :elm_flip_interaction_direction_hitsize_set, [ :pointer, :elm_flip_direction, :double ], :void ], # EAPI double elm_flip_interaction_direction_hitsize_get(Evas_Object *obj, Elm_Flip_Direction dir); - [ :elm_flip_interaction_direction_hitsize_get, [ :evas_object, :elm_flip_direction ], :double ], + [ :elm_flip_interaction_direction_hitsize_get, [ :pointer, :elm_flip_direction ], :double ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_flipselector.rb b/lib/efl/native/elm/elm_flipselector.rb index 895ecf2..b02f969 100644 --- a/lib/efl/native/elm/elm_flipselector.rb +++ b/lib/efl/native/elm/elm_flipselector.rb @@ -23,24 +23,6 @@ module Efl # # FUNCTIONS fcts = [ - # EAPI Evas_Object *elm_flipselector_add(Evas_Object *parent); - [ :elm_flipselector_add, [ :evas_object ], :evas_object ], - # EAPI void elm_flipselector_flip_next(Evas_Object *obj); - [ :elm_flipselector_flip_next, [ :evas_object ], :void ], - # EAPI void elm_flipselector_flip_prev(Evas_Object *obj); - [ :elm_flipselector_flip_prev, [ :evas_object ], :void ], - # EAPI Elm_Object_Item *elm_flipselector_item_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data); - [ :elm_flipselector_item_append, [ :evas_object, :string, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_flipselector_item_prepend(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data); - [ :elm_flipselector_item_prepend, [ :evas_object, :string, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI const Eina_List *elm_flipselector_items_get(const Evas_Object *obj); - [ :elm_flipselector_items_get, [ :evas_object ], :eina_list ], - # EAPI Elm_Object_Item *elm_flipselector_first_item_get(const Evas_Object *obj); - [ :elm_flipselector_first_item_get, [ :evas_object ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_flipselector_last_item_get(const Evas_Object *obj); - [ :elm_flipselector_last_item_get, [ :evas_object ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_flipselector_selected_item_get(const Evas_Object *obj); - [ :elm_flipselector_selected_item_get, [ :evas_object ], :elm_object_item ], # EAPI void elm_flipselector_item_selected_set(Elm_Object_Item *it, Eina_Bool selected); [ :elm_flipselector_item_selected_set, [ :elm_object_item, :bool ], :void ], # EAPI Eina_Bool elm_flipselector_item_selected_get(const Elm_Object_Item *it); @@ -49,10 +31,28 @@ module Efl [ :elm_flipselector_item_prev_get, [ :elm_object_item ], :elm_object_item ], # EAPI Elm_Object_Item *elm_flipselector_item_next_get(const Elm_Object_Item *it); [ :elm_flipselector_item_next_get, [ :elm_object_item ], :elm_object_item ], + # EAPI Evas_Object *elm_flipselector_add(Evas_Object *parent); + [ :elm_flipselector_add, [ :pointer ], :pointer ], + # EAPI void elm_flipselector_flip_next(Evas_Object *obj); + [ :elm_flipselector_flip_next, [ :pointer ], :void ], + # EAPI void elm_flipselector_flip_prev(Evas_Object *obj); + [ :elm_flipselector_flip_prev, [ :pointer ], :void ], + # EAPI Elm_Object_Item *elm_flipselector_item_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, const void *data); + [ :elm_flipselector_item_append, [ :pointer, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_flipselector_item_prepend(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data); + [ :elm_flipselector_item_prepend, [ :pointer, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI const Eina_List *elm_flipselector_items_get(const Evas_Object *obj); + [ :elm_flipselector_items_get, [ :pointer ], :eina_list ], + # EAPI Elm_Object_Item *elm_flipselector_first_item_get(const Evas_Object *obj); + [ :elm_flipselector_first_item_get, [ :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_flipselector_last_item_get(const Evas_Object *obj); + [ :elm_flipselector_last_item_get, [ :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_flipselector_selected_item_get(const Evas_Object *obj); + [ :elm_flipselector_selected_item_get, [ :pointer ], :elm_object_item ], # EAPI void elm_flipselector_first_interval_set(Evas_Object *obj, double interval); - [ :elm_flipselector_first_interval_set, [ :evas_object, :double ], :void ], + [ :elm_flipselector_first_interval_set, [ :pointer, :double ], :void ], # EAPI double elm_flipselector_first_interval_get(const Evas_Object *obj); - [ :elm_flipselector_first_interval_get, [ :evas_object ], :double ], + [ :elm_flipselector_first_interval_get, [ :pointer ], :double ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_focus.rb b/lib/efl/native/elm/elm_focus.rb index 91cb862..3be30d0 100644 --- a/lib/efl/native/elm/elm_focus.rb +++ b/lib/efl/native/elm/elm_focus.rb @@ -21,32 +21,42 @@ module Efl # ffi_lib 'elementary.so.1' # + # ENUMS + # typedef enum {...} Elm_Focus_Direction; + enum :elm_focus_direction, [ :elm_focus_previous, :elm_focus_next, :elm_focus_up, :elm_focus_down, :elm_focus_right, :elm_focus_left ] + # # FUNCTIONS fcts = [ # EAPI Eina_Bool elm_object_focus_get(const Evas_Object *obj); - [ :elm_object_focus_get, [ :evas_object ], :bool ], + [ :elm_object_focus_get, [ :pointer ], :bool ], # EAPI void elm_object_focus_set(Evas_Object *obj, Eina_Bool focus); - [ :elm_object_focus_set, [ :evas_object, :bool ], :void ], + [ :elm_object_focus_set, [ :pointer, :bool ], :void ], # EAPI void elm_object_focus_allow_set(Evas_Object *obj, Eina_Bool enable); - [ :elm_object_focus_allow_set, [ :evas_object, :bool ], :void ], + [ :elm_object_focus_allow_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_object_focus_allow_get(const Evas_Object *obj); - [ :elm_object_focus_allow_get, [ :evas_object ], :bool ], + [ :elm_object_focus_allow_get, [ :pointer ], :bool ], # EAPI void elm_object_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs); - [ :elm_object_focus_custom_chain_set, [ :evas_object, :eina_list ], :void ], + [ :elm_object_focus_custom_chain_set, [ :pointer, :eina_list ], :void ], # EAPI void elm_object_focus_custom_chain_unset(Evas_Object *obj); - [ :elm_object_focus_custom_chain_unset, [ :evas_object ], :void ], + [ :elm_object_focus_custom_chain_unset, [ :pointer ], :void ], # EAPI const Eina_List *elm_object_focus_custom_chain_get(const Evas_Object *obj); - [ :elm_object_focus_custom_chain_get, [ :evas_object ], :eina_list ], + [ :elm_object_focus_custom_chain_get, [ :pointer ], :eina_list ], # EAPI void elm_object_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child); - [ :elm_object_focus_custom_chain_append, [ :evas_object, :evas_object, :evas_object ], :void ], + [ :elm_object_focus_custom_chain_append, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_object_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child); - [ :elm_object_focus_custom_chain_prepend, [ :evas_object, :evas_object, :evas_object ], :void ], + [ :elm_object_focus_custom_chain_prepend, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_object_focus_next(Evas_Object *obj, Elm_Focus_Direction dir); - [ :elm_object_focus_next, [ :evas_object, :elm_focus_direction ], :void ], + [ :elm_object_focus_next, [ :pointer, :elm_focus_direction ], :void ], + # EAPI Evas_Object * elm_object_focus_next_object_get(const Evas_Object *obj, Elm_Focus_Direction dir); + [ :elm_object_focus_next_object_get, [ :pointer, :elm_focus_direction ], :pointer ], + # EAPI void elm_object_focus_next_object_set(Evas_Object *obj, Evas_Object *next, Elm_Focus_Direction dir); + [ :elm_object_focus_next_object_set, [ :pointer, :pointer, :elm_focus_direction ], :void ], + # EAPI Evas_Object *elm_object_focused_object_get(const Evas_Object *obj); + [ :elm_object_focused_object_get, [ :pointer ], :pointer ], # EAPI void elm_object_tree_focus_allow_set(Evas_Object *obj, Eina_Bool focusable); - [ :elm_object_tree_focus_allow_set, [ :evas_object, :bool ], :void ], + [ :elm_object_tree_focus_allow_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_object_tree_focus_allow_get(const Evas_Object *obj); - [ :elm_object_tree_focus_allow_get, [ :evas_object ], :bool ], + [ :elm_object_tree_focus_allow_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_frame.rb b/lib/efl/native/elm/elm_frame.rb index 1f6b4ce..0e40cc7 100644 --- a/lib/efl/native/elm/elm_frame.rb +++ b/lib/efl/native/elm/elm_frame.rb @@ -24,17 +24,17 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_frame_add(Evas_Object *parent); - [ :elm_frame_add, [ :evas_object ], :evas_object ], + [ :elm_frame_add, [ :pointer ], :pointer ], # EAPI void elm_frame_autocollapse_set(Evas_Object *obj, Eina_Bool autocollapse); - [ :elm_frame_autocollapse_set, [ :evas_object, :bool ], :void ], + [ :elm_frame_autocollapse_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_frame_autocollapse_get(const Evas_Object *obj); - [ :elm_frame_autocollapse_get, [ :evas_object ], :bool ], + [ :elm_frame_autocollapse_get, [ :pointer ], :bool ], # EAPI void elm_frame_collapse_set(Evas_Object *obj, Eina_Bool collapse); - [ :elm_frame_collapse_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_frame_collapse_get(const Evas_Object *obj); - [ :elm_frame_collapse_get, [ :evas_object ], :bool ], + [ :elm_frame_collapse_set, [ :pointer, :bool ], :void ], # EAPI void elm_frame_collapse_go(Evas_Object *obj, Eina_Bool collapse); - [ :elm_frame_collapse_go, [ :evas_object, :bool ], :void ], + [ :elm_frame_collapse_go, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_frame_collapse_get(const Evas_Object *obj); + [ :elm_frame_collapse_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_gen.rb b/lib/efl/native/elm/elm_gen.rb index 4038137..155e859 100644 --- a/lib/efl/native/elm/elm_gen.rb +++ b/lib/efl/native/elm/elm_gen.rb @@ -29,13 +29,13 @@ module Efl # # CALLBACKS # typedef char *(*Elm_Gen_Item_Text_Get_Cb) (void *data, Evas_Object *obj, const char *part); - callback :elm_gen_item_text_get_cb, [ :pointer, :evas_object, :string ], :string + callback :elm_gen_item_text_get_cb, [ :pointer, :pointer, :string ], :string # typedef Evas_Object *(*Elm_Gen_Item_Content_Get_Cb) (void *data, Evas_Object *obj, const char *part); - callback :elm_gen_item_content_get_cb, [ :pointer, :evas_object, :string ], :evas_object + callback :elm_gen_item_content_get_cb, [ :pointer, :pointer, :string ], :pointer # typedef Eina_Bool (*Elm_Gen_Item_State_Get_Cb) (void *data, Evas_Object *obj, const char *part); - callback :elm_gen_item_state_get_cb, [ :pointer, :evas_object, :string ], :bool + callback :elm_gen_item_state_get_cb, [ :pointer, :pointer, :string ], :bool # typedef void (*Elm_Gen_Item_Del_Cb) (void *data, Evas_Object *obj); - callback :elm_gen_item_del_cb, [ :pointer, :evas_object ], :void + callback :elm_gen_item_del_cb, [ :pointer, :pointer ], :void # # FUNCTIONS fcts = [ diff --git a/lib/efl/native/elm/elm_general.rb b/lib/efl/native/elm/elm_general.rb index 1fa26bb..f4e734a 100644 --- a/lib/efl/native/elm/elm_general.rb +++ b/lib/efl/native/elm/elm_general.rb @@ -27,24 +27,27 @@ module Efl enum :elm_object_layer, [ :elm_object_layer_background, EVAS_LAYER_MIN+64, :elm_object_layer_default, 0, :elm_object_layer_focus, EVAS_LAYER_MAX-128, :elm_object_layer_tooltip, EVAS_LAYER_MAX-64, :elm_object_layer_cursor, EVAS_LAYER_MAX-32, :elm_object_layer_last, 32736 ] # typedef enum {...} Elm_Policy; - enum :elm_policy, [ :elm_policy_quit, :elm_policy_last ] + enum :elm_policy, [ :elm_policy_quit, :elm_policy_exit, :elm_policy_throttle, :elm_policy_last ] # typedef enum {...} Elm_Policy_Quit; enum :elm_policy_quit, [ :elm_policy_quit_none, 0, :elm_policy_quit_last_window_closed, 1 ] - # typedef enum {...} Elm_Focus_Direction; - enum :elm_focus_direction, [ :elm_focus_previous, :elm_focus_next ] + # typedef enum {...} Elm_Policy_Exit; + enum :elm_policy_exit, [ :elm_policy_exit_none, 0, :elm_policy_exit_windows_del, 1 ] + # typedef enum {...} Elm_Policy_Throttle; + enum :elm_policy_throttle, [ :elm_policy_throttle_config, 0, :elm_policy_throttle_hidden_always, 1, :elm_policy_throttle_never, 2 ] # typedef enum {...} Elm_Object_Select_Mode; enum :elm_object_select_mode, [ :elm_object_select_mode_default, 0, :elm_object_select_mode_always, 1, :elm_object_select_mode_none, 2, :elm_object_select_mode_display_only, 3, :elm_object_select_mode_max, 4 ] + # typedef enum {...} Elm_Object_Multi_Select_Mode; + enum :elm_object_multi_select_mode, [ :elm_object_multi_select_mode_default, 0, :elm_object_multi_select_mode_with_control, 1, + :elm_object_multi_select_mode_max, 2 ] # # TYPEDEFS # typedef struct _Elm_Event_Policy_Changed Elm_Event_Policy_Changed; typedef :pointer, :elm_event_policy_changed - # typedef struct _Elm_Object_Item Elm_Object_Item; - typedef :pointer, :elm_object_item # # CALLBACKS # typedef Eina_Bool (*Elm_Event_Cb) (void *data, Evas_Object *obj, Evas_Object *src, Evas_Callback_Type type, void *event_info); - callback :elm_event_cb, [ :pointer, :evas_object, :evas_object, :evas_callback_type, :pointer ], :bool + callback :elm_event_cb, [ :pointer, :pointer, :pointer, :evas_callback_type, :pointer ], :bool # # VARIABLES # EAPI extern int ELM_ECORE_EVENT_ETHUMB_CONNECT; @@ -78,26 +81,22 @@ module Efl [ :elm_quicklaunch_shutdown, [ ], :int ], # EAPI void elm_quicklaunch_seed(void); [ :elm_quicklaunch_seed, [ ], :void ], - # EAPI Eina_Bool elm_quicklaunch_prepare(int argc, char **argv); - [ :elm_quicklaunch_prepare, [ :int, :pointer ], :bool ], + # EAPI Eina_Bool elm_quicklaunch_prepare(int argc, char **argv, const char *cwd); + [ :elm_quicklaunch_prepare, [ :int, :pointer, :string ], :bool ], # EAPI Eina_Bool elm_quicklaunch_fork(int argc, char **argv, char *cwd, void (postfork_func) (void *data), void *postfork_data); - [ :elm_quicklaunch_fork, [ :int, :pointer, :string, (callback [:pointer], :void), :pointer], :bool ], + # FIXME # EAPI void elm_quicklaunch_cleanup(void); [ :elm_quicklaunch_cleanup, [ ], :void ], # EAPI int elm_quicklaunch_fallback(int argc, char **argv); [ :elm_quicklaunch_fallback, [ :int, :pointer ], :int ], - # EAPI char *elm_quicklaunch_exe_path_get(const char *exe); - [ :elm_quicklaunch_exe_path_get, [ :string ], :string ], + # EAPI char *elm_quicklaunch_exe_path_get(const char *exe, const char *cwd); + [ :elm_quicklaunch_exe_path_get, [ :string, :string ], :string ], # EAPI Eina_Bool elm_policy_set(unsigned int policy, int value); [ :elm_policy_set, [ :uint, :int ], :bool ], # EAPI int elm_policy_get(unsigned int policy); [ :elm_policy_get, [ :uint ], :int ], # EAPI void elm_language_set(const char *lang); [ :elm_language_set, [ :string ], :void ], - # EAPI void elm_object_domain_translatable_text_part_set(Evas_Object *obj, const char *part, const char *domain, const char *text); - [ :elm_object_domain_translatable_text_part_set, [ :evas_object, :string, :string, :string ], :void ], - # EAPI const char *elm_object_translatable_text_part_get(const Evas_Object *obj, const char *part); - [ :elm_object_translatable_text_part_get, [ :evas_object, :string ], :string ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_gengrid.rb b/lib/efl/native/elm/elm_gengrid.rb index 17cf053..7a7e706 100644 --- a/lib/efl/native/elm/elm_gengrid.rb +++ b/lib/efl/native/elm/elm_gengrid.rb @@ -42,40 +42,6 @@ module Efl # # FUNCTIONS fcts = [ - # EAPI Evas_Object *elm_gengrid_add(Evas_Object *parent); - [ :elm_gengrid_add, [ :evas_object ], :evas_object ], - # EAPI void elm_gengrid_clear(Evas_Object *obj); - [ :elm_gengrid_clear, [ :evas_object ], :void ], - # EAPI void elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi); - [ :elm_gengrid_multi_select_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_gengrid_multi_select_get(const Evas_Object *obj); - [ :elm_gengrid_multi_select_get, [ :evas_object ], :bool ], - # EAPI void elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); - [ :elm_gengrid_horizontal_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_gengrid_horizontal_get(const Evas_Object *obj); - [ :elm_gengrid_horizontal_get, [ :evas_object ], :bool ], - # EAPI Elm_Object_Item *elm_gengrid_item_append(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Evas_Smart_Cb func, const void *func_data); - [ :elm_gengrid_item_append, [ :evas_object, :pointer, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_gengrid_item_prepend(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Evas_Smart_Cb func, const void *func_data); - [ :elm_gengrid_item_prepend, [ :evas_object, :pointer, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_gengrid_item_insert_before(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Elm_Object_Item *relative, Evas_Smart_Cb func, const void *func_data); - [ :elm_gengrid_item_insert_before, [ :evas_object, :pointer, :pointer, :elm_object_item, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_gengrid_item_insert_after(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Elm_Object_Item *relative, Evas_Smart_Cb func, const void *func_data); - [ :elm_gengrid_item_insert_after, [ :evas_object, :pointer, :pointer, :elm_object_item, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_gengrid_item_sorted_insert(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data); - [ :elm_gengrid_item_sorted_insert, [ :evas_object, :pointer, :pointer, :eina_compare_cb, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_gengrid_selected_item_get(const Evas_Object *obj); - [ :elm_gengrid_selected_item_get, [ :evas_object ], :elm_object_item ], - # EAPI const Eina_List *elm_gengrid_selected_items_get(const Evas_Object *obj); - [ :elm_gengrid_selected_items_get, [ :evas_object ], :eina_list ], - # EAPI Eina_List *elm_gengrid_realized_items_get(const Evas_Object *obj); - [ :elm_gengrid_realized_items_get, [ :evas_object ], :eina_list ], - # EAPI void elm_gengrid_realized_items_update(Evas_Object *obj); - [ :elm_gengrid_realized_items_update, [ :evas_object ], :void ], - # EAPI Elm_Object_Item *elm_gengrid_first_item_get(const Evas_Object *obj); - [ :elm_gengrid_first_item_get, [ :evas_object ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_gengrid_last_item_get(const Evas_Object *obj); - [ :elm_gengrid_last_item_get, [ :evas_object ], :elm_object_item ], # EAPI Elm_Object_Item *elm_gengrid_item_next_get(const Elm_Object_Item *it); [ :elm_gengrid_item_next_get, [ :elm_object_item ], :elm_object_item ], # EAPI Elm_Object_Item *elm_gengrid_item_prev_get(const Elm_Object_Item *it); @@ -96,8 +62,6 @@ module Efl [ :elm_gengrid_item_item_class_get, [ :elm_object_item ], :pointer ], # EAPI int elm_gengrid_item_index_get(const Elm_Object_Item *it); [ :elm_gengrid_item_index_get, [ :elm_object_item ], :int ], - # EAPI unsigned int elm_gengrid_items_count(const Evas_Object *obj); - [ :elm_gengrid_items_count, [ :evas_object ], :uint ], # EAPI Elm_Gengrid_Item_Class *elm_gengrid_item_class_new(void); [ :elm_gengrid_item_class_new, [ ], :pointer ], # EAPI void elm_gengrid_item_class_free(Elm_Gengrid_Item_Class *itc); @@ -134,42 +98,86 @@ module Efl [ :elm_gengrid_item_cursor_engine_only_set, [ :elm_object_item, :bool ], :void ], # EAPI Eina_Bool elm_gengrid_item_cursor_engine_only_get(const Elm_Object_Item *it); [ :elm_gengrid_item_cursor_engine_only_get, [ :elm_object_item ], :bool ], + # EAPI void elm_gengrid_item_pos_get(const Elm_Object_Item *it, unsigned int *x, unsigned int *y); + [ :elm_gengrid_item_pos_get, [ :elm_object_item, :pointer, :pointer ], :void ], + # EAPI void elm_gengrid_item_select_mode_set(Elm_Object_Item *it, Elm_Object_Select_Mode mode); + [ :elm_gengrid_item_select_mode_set, [ :elm_object_item, :elm_object_select_mode ], :void ], + # EAPI Elm_Object_Select_Mode elm_gengrid_item_select_mode_get(const Elm_Object_Item *it); + [ :elm_gengrid_item_select_mode_get, [ :elm_object_item ], :elm_object_select_mode ], + # EAPI Evas_Object *elm_gengrid_add(Evas_Object *parent); + [ :elm_gengrid_add, [ :pointer ], :pointer ], + # EAPI void elm_gengrid_clear(Evas_Object *obj); + [ :elm_gengrid_clear, [ :pointer ], :void ], + # EAPI void elm_gengrid_multi_select_set(Evas_Object *obj, Eina_Bool multi); + [ :elm_gengrid_multi_select_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_gengrid_multi_select_get(const Evas_Object *obj); + [ :elm_gengrid_multi_select_get, [ :pointer ], :bool ], + # EAPI void elm_gengrid_multi_select_mode_set(Evas_Object *obj, Elm_Object_Multi_Select_Mode mode); + [ :elm_gengrid_multi_select_mode_set, [ :pointer, :elm_object_multi_select_mode ], :void ], + # EAPI Elm_Object_Multi_Select_Mode elm_gengrid_multi_select_mode_get(const Evas_Object *obj); + [ :elm_gengrid_multi_select_mode_get, [ :pointer ], :elm_object_multi_select_mode ], + # EAPI void elm_gengrid_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); + [ :elm_gengrid_horizontal_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_gengrid_horizontal_get(const Evas_Object *obj); + [ :elm_gengrid_horizontal_get, [ :pointer ], :bool ], + # EAPI Elm_Object_Item *elm_gengrid_item_append(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Evas_Smart_Cb func, const void *func_data); + [ :elm_gengrid_item_append, [ :pointer, :pointer, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_gengrid_item_prepend(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Evas_Smart_Cb func, const void *func_data); + [ :elm_gengrid_item_prepend, [ :pointer, :pointer, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_gengrid_item_insert_before(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Elm_Object_Item *relative, Evas_Smart_Cb func, const void *func_data); + [ :elm_gengrid_item_insert_before, [ :pointer, :pointer, :pointer, :elm_object_item, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_gengrid_item_insert_after(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Elm_Object_Item *relative, Evas_Smart_Cb func, const void *func_data); + [ :elm_gengrid_item_insert_after, [ :pointer, :pointer, :pointer, :elm_object_item, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_gengrid_item_sorted_insert(Evas_Object *obj, const Elm_Gengrid_Item_Class *gic, const void *data, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data); + [ :elm_gengrid_item_sorted_insert, [ :pointer, :pointer, :pointer, :eina_compare_cb, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_gengrid_selected_item_get(const Evas_Object *obj); + [ :elm_gengrid_selected_item_get, [ :pointer ], :elm_object_item ], + # EAPI const Eina_List *elm_gengrid_selected_items_get(const Evas_Object *obj); + [ :elm_gengrid_selected_items_get, [ :pointer ], :eina_list ], + # EAPI Eina_List *elm_gengrid_realized_items_get(const Evas_Object *obj); + [ :elm_gengrid_realized_items_get, [ :pointer ], :eina_list ], + # EAPI void elm_gengrid_realized_items_update(Evas_Object *obj); + [ :elm_gengrid_realized_items_update, [ :pointer ], :void ], + # EAPI Elm_Object_Item *elm_gengrid_first_item_get(const Evas_Object *obj); + [ :elm_gengrid_first_item_get, [ :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_gengrid_last_item_get(const Evas_Object *obj); + [ :elm_gengrid_last_item_get, [ :pointer ], :elm_object_item ], + # EAPI unsigned int elm_gengrid_items_count(const Evas_Object *obj); + [ :elm_gengrid_items_count, [ :pointer ], :uint ], # EAPI void elm_gengrid_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); - [ :elm_gengrid_item_size_set, [ :evas_object, :int, :int ], :void ], + [ :elm_gengrid_item_size_set, [ :pointer, :int, :int ], :void ], # EAPI void elm_gengrid_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); - [ :elm_gengrid_item_size_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_gengrid_item_size_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_gengrid_group_item_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); - [ :elm_gengrid_group_item_size_set, [ :evas_object, :int, :int ], :void ], + [ :elm_gengrid_group_item_size_set, [ :pointer, :int, :int ], :void ], # EAPI void elm_gengrid_group_item_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); - [ :elm_gengrid_group_item_size_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_gengrid_group_item_size_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_gengrid_align_set(Evas_Object *obj, double align_x, double align_y); - [ :elm_gengrid_align_set, [ :evas_object, :double, :double ], :void ], + [ :elm_gengrid_align_set, [ :pointer, :double, :double ], :void ], # EAPI void elm_gengrid_align_get(const Evas_Object *obj, double *align_x, double *align_y); - [ :elm_gengrid_align_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_gengrid_align_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_gengrid_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode); - [ :elm_gengrid_reorder_mode_set, [ :evas_object, :bool ], :void ], + [ :elm_gengrid_reorder_mode_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_gengrid_reorder_mode_get(const Evas_Object *obj); - [ :elm_gengrid_reorder_mode_get, [ :evas_object ], :bool ], + [ :elm_gengrid_reorder_mode_get, [ :pointer ], :bool ], # EAPI void elm_gengrid_page_show(const Evas_Object *obj, int h_pagenumber, int v_pagenumber); - [ :elm_gengrid_page_show, [ :evas_object, :int, :int ], :void ], - # EAPI void elm_gengrid_item_pos_get(const Elm_Object_Item *it, unsigned int *x, unsigned int *y); - [ :elm_gengrid_item_pos_get, [ :elm_object_item, :pointer, :pointer ], :void ], + [ :elm_gengrid_page_show, [ :pointer, :int, :int ], :void ], # EAPI void elm_gengrid_filled_set(Evas_Object *obj, Eina_Bool fill); - [ :elm_gengrid_filled_set, [ :evas_object, :bool ], :void ], + [ :elm_gengrid_filled_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_gengrid_filled_get(const Evas_Object *obj); - [ :elm_gengrid_filled_get, [ :evas_object ], :bool ], + [ :elm_gengrid_filled_get, [ :pointer ], :bool ], # EAPI void elm_gengrid_select_mode_set(Evas_Object *obj, Elm_Object_Select_Mode mode); - [ :elm_gengrid_select_mode_set, [ :evas_object, :elm_object_select_mode ], :void ], + [ :elm_gengrid_select_mode_set, [ :pointer, :elm_object_select_mode ], :void ], # EAPI Elm_Object_Select_Mode elm_gengrid_select_mode_get(const Evas_Object *obj); - [ :elm_gengrid_select_mode_get, [ :evas_object ], :elm_object_select_mode ], + [ :elm_gengrid_select_mode_get, [ :pointer ], :elm_object_select_mode ], # EAPI void elm_gengrid_highlight_mode_set(Evas_Object *obj, Eina_Bool highlight); - [ :elm_gengrid_highlight_mode_set, [ :evas_object, :bool ], :void ], + [ :elm_gengrid_highlight_mode_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_gengrid_highlight_mode_get(const Evas_Object *obj); - [ :elm_gengrid_highlight_mode_get, [ :evas_object ], :bool ], - # EAPI void elm_gengrid_item_select_mode_set(Elm_Object_Item *it, Elm_Object_Select_Mode mode); - [ :elm_gengrid_item_select_mode_set, [ :elm_object_item, :elm_object_select_mode ], :void ], - # EAPI Elm_Object_Select_Mode elm_gengrid_item_select_mode_get(const Elm_Object_Item *it); - [ :elm_gengrid_item_select_mode_get, [ :elm_object_item ], :elm_object_select_mode ], + [ :elm_gengrid_highlight_mode_get, [ :pointer ], :bool ], + # EAPI Elm_Object_Item *elm_gengrid_nth_item_get(const Evas_Object *obj, unsigned int nth); + [ :elm_gengrid_nth_item_get, [ :pointer, :uint ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_gengrid_at_xy_item_get(const Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *xposret, int *yposret); + [ :elm_gengrid_at_xy_item_get, [ :pointer, :int, :int, :pointer, :pointer ], :elm_object_item ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_genlist.rb b/lib/efl/native/elm/elm_genlist.rb index d260d3c..1e812ab 100644 --- a/lib/efl/native/elm/elm_genlist.rb +++ b/lib/efl/native/elm/elm_genlist.rb @@ -49,43 +49,6 @@ module Efl # # FUNCTIONS fcts = [ - # EAPI Evas_Object *elm_genlist_add(Evas_Object *parent); - [ :elm_genlist_add, [ :evas_object ], :evas_object ], - # EAPI void elm_genlist_clear(Evas_Object *obj); - [ :elm_genlist_clear, [ :evas_object ], :void ], - # EAPI void elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi); - [ :elm_genlist_multi_select_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_genlist_multi_select_get(const Evas_Object *obj); - [ :elm_genlist_multi_select_get, [ :evas_object ], :bool ], - # EAPI void elm_genlist_mode_set(Evas_Object *obj, Elm_List_Mode mode); - [ :elm_genlist_mode_set, [ :evas_object, :elm_list_mode ], :void ], - # EAPI Elm_List_Mode elm_genlist_mode_get(const Evas_Object *obj); - [ :elm_genlist_mode_get, [ :evas_object ], :elm_list_mode ], - # EAPI Elm_Object_Item *elm_genlist_item_append(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data); - [ :elm_genlist_item_append, [ :evas_object, :pointer, :pointer, :elm_object_item, :elm_genlist_item_type, :evas_smart_cb, :pointer ], - :elm_object_item ], - # EAPI Elm_Object_Item *elm_genlist_item_prepend(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data); - [ :elm_genlist_item_prepend, [ :evas_object, :pointer, :pointer, :elm_object_item, :elm_genlist_item_type, :evas_smart_cb, :pointer ], - :elm_object_item ], - # EAPI Elm_Object_Item *elm_genlist_item_insert_before(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Object_Item *before, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data); - [ :elm_genlist_item_insert_before, [ :evas_object, :pointer, :pointer, :elm_object_item, :elm_object_item, :elm_genlist_item_type, - :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_genlist_item_insert_after(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Object_Item *after, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data); - [ :elm_genlist_item_insert_after, [ :evas_object, :pointer, :pointer, :elm_object_item, :elm_object_item, :elm_genlist_item_type, - :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type type, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data); - [ :elm_genlist_item_sorted_insert, [ :evas_object, :pointer, :pointer, :elm_object_item, :elm_genlist_item_type, :eina_compare_cb, - :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_genlist_selected_item_get(const Evas_Object *obj); - [ :elm_genlist_selected_item_get, [ :evas_object ], :elm_object_item ], - # EAPI const Eina_List *elm_genlist_selected_items_get(const Evas_Object *obj); - [ :elm_genlist_selected_items_get, [ :evas_object ], :eina_list ], - # EAPI Eina_List *elm_genlist_realized_items_get(const Evas_Object *obj); - [ :elm_genlist_realized_items_get, [ :evas_object ], :eina_list ], - # EAPI Elm_Object_Item *elm_genlist_first_item_get(const Evas_Object *obj); - [ :elm_genlist_first_item_get, [ :evas_object ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_genlist_last_item_get(const Evas_Object *obj); - [ :elm_genlist_last_item_get, [ :evas_object ], :elm_object_item ], # EAPI Elm_Object_Item *elm_genlist_item_next_get(const Elm_Object_Item *it); [ :elm_genlist_item_next_get, [ :elm_object_item ], :elm_object_item ], # EAPI Elm_Object_Item *elm_genlist_item_prev_get(const Elm_Object_Item *it); @@ -106,10 +69,6 @@ module Efl [ :elm_genlist_item_item_class_get, [ :elm_object_item ], :pointer ], # EAPI int elm_genlist_item_index_get(const Elm_Object_Item *it); [ :elm_genlist_item_index_get, [ :elm_object_item ], :int ], - # EAPI void elm_genlist_realized_items_update(Evas_Object *obj); - [ :elm_genlist_realized_items_update, [ :evas_object ], :void ], - # EAPI unsigned int elm_genlist_items_count(const Evas_Object *obj); - [ :elm_genlist_items_count, [ :evas_object ], :uint ], # EAPI Elm_Genlist_Item_Class *elm_genlist_item_class_new(void); [ :elm_genlist_item_class_new, [ ], :pointer ], # EAPI void elm_genlist_item_class_free(Elm_Genlist_Item_Class *itc); @@ -146,20 +105,6 @@ module Efl [ :elm_genlist_item_cursor_engine_only_set, [ :elm_object_item, :bool ], :void ], # EAPI Eina_Bool elm_genlist_item_cursor_engine_only_get(const Elm_Object_Item *it); [ :elm_genlist_item_cursor_engine_only_get, [ :elm_object_item ], :bool ], - # EAPI void elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous); - [ :elm_genlist_homogeneous_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_genlist_homogeneous_get(const Evas_Object *obj); - [ :elm_genlist_homogeneous_get, [ :evas_object ], :bool ], - # EAPI void elm_genlist_block_count_set(Evas_Object *obj, int count); - [ :elm_genlist_block_count_set, [ :evas_object, :int ], :void ], - # EAPI int elm_genlist_block_count_get(const Evas_Object *obj); - [ :elm_genlist_block_count_get, [ :evas_object ], :int ], - # EAPI void elm_genlist_longpress_timeout_set(Evas_Object *obj, double timeout); - [ :elm_genlist_longpress_timeout_set, [ :evas_object, :double ], :void ], - # EAPI double elm_genlist_longpress_timeout_get(const Evas_Object *obj); - [ :elm_genlist_longpress_timeout_get, [ :evas_object ], :double ], - # EAPI Elm_Object_Item *elm_genlist_at_xy_item_get(const Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *posret); - [ :elm_genlist_at_xy_item_get, [ :evas_object, :int, :int, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_genlist_item_parent_get(const Elm_Object_Item *it); [ :elm_genlist_item_parent_get, [ :elm_object_item ], :elm_object_item ], # EAPI void elm_genlist_item_subitems_clear(Elm_Object_Item *it); @@ -182,38 +127,103 @@ module Efl [ :elm_genlist_item_decorate_mode_set, [ :elm_object_item, :string, :bool ], :void ], # EAPI const char *elm_genlist_item_decorate_mode_get(const Elm_Object_Item *it); [ :elm_genlist_item_decorate_mode_get, [ :elm_object_item ], :string ], - # EAPI Elm_Object_Item *elm_genlist_decorated_item_get(const Evas_Object *obj); - [ :elm_genlist_decorated_item_get, [ :evas_object ], :elm_object_item ], - # EAPI void elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode); - [ :elm_genlist_reorder_mode_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_genlist_reorder_mode_get(const Evas_Object *obj); - [ :elm_genlist_reorder_mode_get, [ :evas_object ], :bool ], # EAPI Elm_Genlist_Item_Type elm_genlist_item_type_get(const Elm_Object_Item *it); [ :elm_genlist_item_type_get, [ :elm_object_item ], :elm_genlist_item_type ], - # EAPI void elm_genlist_decorate_mode_set(Evas_Object *obj, Eina_Bool decorated); - [ :elm_genlist_decorate_mode_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_genlist_decorate_mode_get(const Evas_Object *obj); - [ :elm_genlist_decorate_mode_get, [ :evas_object ], :bool ], # EAPI void elm_genlist_item_flip_set(Elm_Object_Item *it, Eina_Bool flip); [ :elm_genlist_item_flip_set, [ :elm_object_item, :bool ], :void ], # EAPI Eina_Bool elm_genlist_item_flip_get(const Elm_Object_Item *it); [ :elm_genlist_item_flip_get, [ :elm_object_item ], :bool ], + # EAPI void elm_genlist_item_select_mode_set(Elm_Object_Item *it, Elm_Object_Select_Mode mode); + [ :elm_genlist_item_select_mode_set, [ :elm_object_item, :elm_object_select_mode ], :void ], + # EAPI Elm_Object_Select_Mode elm_genlist_item_select_mode_get(const Elm_Object_Item *it); + [ :elm_genlist_item_select_mode_get, [ :elm_object_item ], :elm_object_select_mode ], + # EAPI Evas_Object *elm_genlist_add(Evas_Object *parent); + [ :elm_genlist_add, [ :pointer ], :pointer ], + # EAPI void elm_genlist_clear(Evas_Object *obj); + [ :elm_genlist_clear, [ :pointer ], :void ], + # EAPI void elm_genlist_multi_select_set(Evas_Object *obj, Eina_Bool multi); + [ :elm_genlist_multi_select_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_genlist_multi_select_get(const Evas_Object *obj); + [ :elm_genlist_multi_select_get, [ :pointer ], :bool ], + # EAPI void elm_genlist_multi_select_mode_set(Evas_Object *obj, Elm_Object_Multi_Select_Mode mode); + [ :elm_genlist_multi_select_mode_set, [ :pointer, :elm_object_multi_select_mode ], :void ], + # EAPI Elm_Object_Multi_Select_Mode elm_genlist_multi_select_mode_get(const Evas_Object *obj); + [ :elm_genlist_multi_select_mode_get, [ :pointer ], :elm_object_multi_select_mode ], + # EAPI void elm_genlist_mode_set(Evas_Object *obj, Elm_List_Mode mode); + [ :elm_genlist_mode_set, [ :pointer, :elm_list_mode ], :void ], + # EAPI Elm_List_Mode elm_genlist_mode_get(const Evas_Object *obj); + [ :elm_genlist_mode_get, [ :pointer ], :elm_list_mode ], + # EAPI Elm_Object_Item *elm_genlist_item_append(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data); + [ :elm_genlist_item_append, [ :pointer, :pointer, :pointer, :elm_object_item, :elm_genlist_item_type, :evas_smart_cb, :pointer ], + :elm_object_item ], + # EAPI Elm_Object_Item *elm_genlist_item_prepend(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data); + [ :elm_genlist_item_prepend, [ :pointer, :pointer, :pointer, :elm_object_item, :elm_genlist_item_type, :evas_smart_cb, :pointer ], + :elm_object_item ], + # EAPI Elm_Object_Item *elm_genlist_item_insert_before(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Object_Item *before, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data); + [ :elm_genlist_item_insert_before, [ :pointer, :pointer, :pointer, :elm_object_item, :elm_object_item, :elm_genlist_item_type, :evas_smart_cb, + :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_genlist_item_insert_after(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Object_Item *after, Elm_Genlist_Item_Type type, Evas_Smart_Cb func, const void *func_data); + [ :elm_genlist_item_insert_after, [ :pointer, :pointer, :pointer, :elm_object_item, :elm_object_item, :elm_genlist_item_type, :evas_smart_cb, + :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const Elm_Genlist_Item_Class *itc, const void *data, Elm_Object_Item *parent, Elm_Genlist_Item_Type type, Eina_Compare_Cb comp, Evas_Smart_Cb func, const void *func_data); + [ :elm_genlist_item_sorted_insert, [ :pointer, :pointer, :pointer, :elm_object_item, :elm_genlist_item_type, :eina_compare_cb, :evas_smart_cb, + :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_genlist_selected_item_get(const Evas_Object *obj); + [ :elm_genlist_selected_item_get, [ :pointer ], :elm_object_item ], + # EAPI const Eina_List *elm_genlist_selected_items_get(const Evas_Object *obj); + [ :elm_genlist_selected_items_get, [ :pointer ], :eina_list ], + # EAPI Eina_List *elm_genlist_realized_items_get(const Evas_Object *obj); + [ :elm_genlist_realized_items_get, [ :pointer ], :eina_list ], + # EAPI Elm_Object_Item *elm_genlist_first_item_get(const Evas_Object *obj); + [ :elm_genlist_first_item_get, [ :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_genlist_last_item_get(const Evas_Object *obj); + [ :elm_genlist_last_item_get, [ :pointer ], :elm_object_item ], + # EAPI void elm_genlist_realized_items_update(Evas_Object *obj); + [ :elm_genlist_realized_items_update, [ :pointer ], :void ], + # EAPI unsigned int elm_genlist_items_count(const Evas_Object *obj); + [ :elm_genlist_items_count, [ :pointer ], :uint ], + # EAPI void elm_genlist_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous); + [ :elm_genlist_homogeneous_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_genlist_homogeneous_get(const Evas_Object *obj); + [ :elm_genlist_homogeneous_get, [ :pointer ], :bool ], + # EAPI void elm_genlist_block_count_set(Evas_Object *obj, int count); + [ :elm_genlist_block_count_set, [ :pointer, :int ], :void ], + # EAPI int elm_genlist_block_count_get(const Evas_Object *obj); + [ :elm_genlist_block_count_get, [ :pointer ], :int ], + # EAPI void elm_genlist_longpress_timeout_set(Evas_Object *obj, double timeout); + [ :elm_genlist_longpress_timeout_set, [ :pointer, :double ], :void ], + # EAPI double elm_genlist_longpress_timeout_get(const Evas_Object *obj); + [ :elm_genlist_longpress_timeout_get, [ :pointer ], :double ], + # EAPI Elm_Object_Item *elm_genlist_at_xy_item_get(const Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *posret); + [ :elm_genlist_at_xy_item_get, [ :pointer, :int, :int, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_genlist_decorated_item_get(const Evas_Object *obj); + [ :elm_genlist_decorated_item_get, [ :pointer ], :elm_object_item ], + # EAPI void elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode); + [ :elm_genlist_reorder_mode_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_genlist_reorder_mode_get(const Evas_Object *obj); + [ :elm_genlist_reorder_mode_get, [ :pointer ], :bool ], + # EAPI void elm_genlist_decorate_mode_set(Evas_Object *obj, Eina_Bool decorated); + [ :elm_genlist_decorate_mode_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_genlist_decorate_mode_get(const Evas_Object *obj); + [ :elm_genlist_decorate_mode_get, [ :pointer ], :bool ], # EAPI void elm_genlist_tree_effect_enabled_set(Evas_Object *obj, Eina_Bool enabled); - [ :elm_genlist_tree_effect_enabled_set, [ :evas_object, :bool ], :void ], + [ :elm_genlist_tree_effect_enabled_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_genlist_tree_effect_enabled_get(const Evas_Object *obj); - [ :elm_genlist_tree_effect_enabled_get, [ :evas_object ], :bool ], + [ :elm_genlist_tree_effect_enabled_get, [ :pointer ], :bool ], # EAPI void elm_genlist_select_mode_set(Evas_Object *obj, Elm_Object_Select_Mode mode); - [ :elm_genlist_select_mode_set, [ :evas_object, :elm_object_select_mode ], :void ], + [ :elm_genlist_select_mode_set, [ :pointer, :elm_object_select_mode ], :void ], # EAPI Elm_Object_Select_Mode elm_genlist_select_mode_get(const Evas_Object *obj); - [ :elm_genlist_select_mode_get, [ :evas_object ], :elm_object_select_mode ], + [ :elm_genlist_select_mode_get, [ :pointer ], :elm_object_select_mode ], # EAPI void elm_genlist_highlight_mode_set(Evas_Object *obj, Eina_Bool highlight); - [ :elm_genlist_highlight_mode_set, [ :evas_object, :bool ], :void ], + [ :elm_genlist_highlight_mode_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_genlist_highlight_mode_get(const Evas_Object *obj); - [ :elm_genlist_highlight_mode_get, [ :evas_object ], :bool ], - # EAPI void elm_genlist_item_select_mode_set(Elm_Object_Item *it, Elm_Object_Select_Mode mode); - [ :elm_genlist_item_select_mode_set, [ :elm_object_item, :elm_object_select_mode ], :void ], - # EAPI Elm_Object_Select_Mode elm_genlist_item_select_mode_get(const Elm_Object_Item *it); - [ :elm_genlist_item_select_mode_get, [ :elm_object_item ], :elm_object_select_mode ], + [ :elm_genlist_highlight_mode_get, [ :pointer ], :bool ], + # EAPI Elm_Object_Item * elm_genlist_nth_item_get(const Evas_Object *obj, unsigned int nth); + [ :elm_genlist_nth_item_get, [ :pointer, :uint ], :elm_object_item ], + # EAPI void elm_genlist_focus_on_selection_set(Evas_Object *obj, Eina_Bool enabled); + [ :elm_genlist_focus_on_selection_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_genlist_focus_on_selection_get(const Evas_Object *obj); + [ :elm_genlist_focus_on_selection_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_gesture_layer.rb b/lib/efl/native/elm/elm_gesture_layer.rb index 2610ee4..18ca6ed 100644 --- a/lib/efl/native/elm/elm_gesture_layer.rb +++ b/lib/efl/native/elm/elm_gesture_layer.rb @@ -48,24 +48,84 @@ module Efl # # FUNCTIONS fcts = [ - # EAPI void elm_gesture_layer_cb_set(Evas_Object *obj, Elm_Gesture_Type idx, Elm_Gesture_State cb_type, Elm_Gesture_Event_Cb cb, void *data); - [ :elm_gesture_layer_cb_set, [ :evas_object, :elm_gesture_type, :elm_gesture_state, :elm_gesture_event_cb, :pointer ], :void ], + # EAPI void elm_gesture_layer_line_min_length_set(Evas_Object *obj, int line_min_length); + [ :elm_gesture_layer_line_min_length_set, [ :pointer, :int ], :void ], + # EAPI int elm_gesture_layer_line_min_length_get(const Evas_Object *obj); + [ :elm_gesture_layer_line_min_length_get, [ :pointer ], :int ], + # EAPI void elm_gesture_layer_zoom_distance_tolerance_set(Evas_Object *obj, Evas_Coord zoom_distance_tolerance); + [ :elm_gesture_layer_zoom_distance_tolerance_set, [ :pointer, :int ], :void ], + # EAPI Evas_Coord elm_gesture_layer_zoom_distance_tolerance_get(const Evas_Object *obj); + [ :elm_gesture_layer_zoom_distance_tolerance_get, [ :pointer ], :int ], + # EAPI void elm_gesture_layer_line_distance_tolerance_set(Evas_Object *obj, Evas_Coord line_distance_tolerance); + [ :elm_gesture_layer_line_distance_tolerance_set, [ :pointer, :int ], :void ], + # EAPI Evas_Coord elm_gesture_layer_line_distance_tolerance_get(const Evas_Object *obj); + [ :elm_gesture_layer_line_distance_tolerance_get, [ :pointer ], :int ], + # EAPI void elm_gesture_layer_line_angular_tolerance_set(Evas_Object *obj, double line_angular_tolerance); + [ :elm_gesture_layer_line_angular_tolerance_set, [ :pointer, :double ], :void ], + # EAPI double elm_gesture_layer_line_angular_tolerance_get(const Evas_Object *obj); + [ :elm_gesture_layer_line_angular_tolerance_get, [ :pointer ], :double ], + # EAPI void elm_gesture_layer_zoom_wheel_factor_set(Evas_Object *obj, double zoom_wheel_factor); + [ :elm_gesture_layer_zoom_wheel_factor_set, [ :pointer, :double ], :void ], + # EAPI double elm_gesture_layer_zoom_wheel_factor_get(const Evas_Object *obj); + [ :elm_gesture_layer_zoom_wheel_factor_get, [ :pointer ], :double ], + # EAPI void elm_gesture_layer_zoom_finger_factor_set(Evas_Object *obj, double zoom_finger_factor); + [ :elm_gesture_layer_zoom_finger_factor_set, [ :pointer, :double ], :void ], + # EAPI double elm_gesture_layer_zoom_finger_factor_get(const Evas_Object *obj); + [ :elm_gesture_layer_zoom_finger_factor_get, [ :pointer ], :double ], + # EAPI void elm_gesture_layer_rotate_angular_tolerance_set(Evas_Object *obj, double rotate_angular_tolerance); + [ :elm_gesture_layer_rotate_angular_tolerance_set, [ :pointer, :double ], :void ], + # EAPI double elm_gesture_layer_rotate_angular_tolerance_get(const Evas_Object *obj); + [ :elm_gesture_layer_rotate_angular_tolerance_get, [ :pointer ], :double ], + # EAPI void elm_gesture_layer_flick_time_limit_ms_set(Evas_Object *obj, unsigned int flick_time_limit_ms); + [ :elm_gesture_layer_flick_time_limit_ms_set, [ :pointer, :uint ], :void ], + # EAPI unsigned int elm_gesture_layer_flick_time_limit_ms_get(const Evas_Object *obj); + [ :elm_gesture_layer_flick_time_limit_ms_get, [ :pointer ], :uint ], + # EAPI void elm_gesture_layer_long_tap_start_timeout_set(Evas_Object *obj, double long_tap_start_timeout); + [ :elm_gesture_layer_long_tap_start_timeout_set, [ :pointer, :double ], :void ], + # EAPI double elm_gesture_layer_long_tap_start_timeout_get(const Evas_Object *obj); + [ :elm_gesture_layer_long_tap_start_timeout_get, [ :pointer ], :double ], + # EAPI void elm_gesture_layer_continues_enable_set(Evas_Object *obj, Eina_Bool continues_enable); + [ :elm_gesture_layer_continues_enable_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_gesture_layer_continues_enable_get(const Evas_Object *obj); + [ :elm_gesture_layer_continues_enable_get, [ :pointer ], :bool ], + # EAPI void elm_gesture_layer_double_tap_timeout_set(Evas_Object *obj, double double_tap_timeout); + [ :elm_gesture_layer_double_tap_timeout_set, [ :pointer, :double ], :void ], + # EAPI double elm_gesture_layer_double_tap_timeout_get(const Evas_Object *obj); + [ :elm_gesture_layer_double_tap_timeout_get, [ :pointer ], :double ], + # EAPI void elm_gesture_layer_tap_finger_size_set(Evas_Object *obj, Evas_Coord sz); + [ :elm_gesture_layer_tap_finger_size_set, [ :pointer, :int ], :void ], + # EAPI Evas_Coord elm_gesture_layer_tap_finger_size_get(const Evas_Object *obj); + [ :elm_gesture_layer_tap_finger_size_get, [ :pointer ], :int ], + # EAPI Evas_Object *elm_gesture_layer_add(Evas_Object *parent); + [ :elm_gesture_layer_add, [ :pointer ], :pointer ], # EAPI Eina_Bool elm_gesture_layer_hold_events_get(const Evas_Object *obj); - [ :elm_gesture_layer_hold_events_get, [ :evas_object ], :bool ], + [ :elm_gesture_layer_hold_events_get, [ :pointer ], :bool ], # EAPI void elm_gesture_layer_hold_events_set(Evas_Object *obj, Eina_Bool hold_events); - [ :elm_gesture_layer_hold_events_set, [ :evas_object, :bool ], :void ], - # EAPI void elm_gesture_layer_zoom_step_set(Evas_Object *obj, double step); - [ :elm_gesture_layer_zoom_step_set, [ :evas_object, :double ], :void ], + [ :elm_gesture_layer_hold_events_set, [ :pointer, :bool ], :void ], # EAPI double elm_gesture_layer_zoom_step_get(const Evas_Object *obj); - [ :elm_gesture_layer_zoom_step_get, [ :evas_object ], :double ], - # EAPI void elm_gesture_layer_rotate_step_set(Evas_Object *obj, double step); - [ :elm_gesture_layer_rotate_step_set, [ :evas_object, :double ], :void ], + [ :elm_gesture_layer_zoom_step_get, [ :pointer ], :double ], + # EAPI void elm_gesture_layer_zoom_step_set(Evas_Object *obj, double step); + [ :elm_gesture_layer_zoom_step_set, [ :pointer, :double ], :void ], # EAPI double elm_gesture_layer_rotate_step_get(const Evas_Object *obj); - [ :elm_gesture_layer_rotate_step_get, [ :evas_object ], :double ], + [ :elm_gesture_layer_rotate_step_get, [ :pointer ], :double ], + # EAPI void elm_gesture_layer_rotate_step_set(Evas_Object *obj, double step); + [ :elm_gesture_layer_rotate_step_set, [ :pointer, :double ], :void ], # EAPI Eina_Bool elm_gesture_layer_attach(Evas_Object *obj, Evas_Object *target); - [ :elm_gesture_layer_attach, [ :evas_object, :evas_object ], :bool ], - # EAPI Evas_Object *elm_gesture_layer_add(Evas_Object *parent); - [ :elm_gesture_layer_add, [ :evas_object ], :evas_object ], + [ :elm_gesture_layer_attach, [ :pointer, :pointer ], :bool ], + # EAPI void elm_gesture_layer_cb_set(Evas_Object *obj, Elm_Gesture_Type idx, Elm_Gesture_State cb_type, Elm_Gesture_Event_Cb cb, void *data); + [ :elm_gesture_layer_cb_set, [ :pointer, :elm_gesture_type, :elm_gesture_state, :elm_gesture_event_cb, :pointer ], :void ], + # EAPI void elm_gesture_layer_cb_add(Evas_Object *obj, Elm_Gesture_Type idx, Elm_Gesture_State cb_type, Elm_Gesture_Event_Cb cb, void *data); + [ :elm_gesture_layer_cb_add, [ :pointer, :elm_gesture_type, :elm_gesture_state, :elm_gesture_event_cb, :pointer ], :void ], + # EAPI void elm_gesture_layer_cb_del(Evas_Object *obj, Elm_Gesture_Type idx, Elm_Gesture_State cb_type, Elm_Gesture_Event_Cb cb, void *data); + [ :elm_gesture_layer_cb_del, [ :pointer, :elm_gesture_type, :elm_gesture_state, :elm_gesture_event_cb, :pointer ], :void ], + # EAPI void elm_gesture_layer_tap_finger_size_set(Evas_Object *obj, Evas_Coord sz); + [ :elm_gesture_layer_tap_finger_size_set, [ :pointer, :int ], :void ], + # EAPI Evas_Coord elm_gesture_layer_tap_finger_size_get(const Evas_Object *obj); + [ :elm_gesture_layer_tap_finger_size_get, [ :pointer ], :int ], + # EAPI void elm_gesture_layer_tap_longpress_cb_add(Evas_Object *obj, Elm_Gesture_State state, Elm_Gesture_Event_Cb cb, void *data); + [ :elm_gesture_layer_tap_longpress_cb_add, [ :pointer, :elm_gesture_state, :elm_gesture_event_cb, :pointer ], :void ], + # EAPI void elm_gesture_layer_tap_longpress_cb_del(Evas_Object *obj, Elm_Gesture_State state, Elm_Gesture_Event_Cb cb, void *data); + [ :elm_gesture_layer_tap_longpress_cb_del, [ :pointer, :elm_gesture_state, :elm_gesture_event_cb, :pointer ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_glview.rb b/lib/efl/native/elm/elm_glview.rb index 6f1d2a6..0ade2f8 100644 --- a/lib/efl/native/elm/elm_glview.rb +++ b/lib/efl/native/elm/elm_glview.rb @@ -32,34 +32,34 @@ module Efl # # CALLBACKS # typedef void (*Elm_GLView_Func_Cb) (Evas_Object *obj); - callback :elm_glview_func_cb, [ :evas_object ], :void + callback :elm_glview_func_cb, [ :pointer ], :void # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_glview_add(Evas_Object *parent); - [ :elm_glview_add, [ :evas_object ], :evas_object ], - # EAPI void elm_glview_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); - [ :elm_glview_size_set, [ :evas_object, :int, :int ], :void ], - # EAPI void elm_glview_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); - [ :elm_glview_size_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_glview_add, [ :pointer ], :pointer ], # EAPI Evas_GL_API *elm_glview_gl_api_get(const Evas_Object *obj); - [ :elm_glview_gl_api_get, [ :evas_object ], :pointer ], + [ :elm_glview_gl_api_get, [ :pointer ], :pointer ], # EAPI Eina_Bool elm_glview_mode_set(Evas_Object *obj, Elm_GLView_Mode mode); - [ :elm_glview_mode_set, [ :evas_object, :elm_glview_mode ], :bool ], + [ :elm_glview_mode_set, [ :pointer, :elm_glview_mode ], :bool ], # EAPI Eina_Bool elm_glview_resize_policy_set(Evas_Object *obj, Elm_GLView_Resize_Policy policy); - [ :elm_glview_resize_policy_set, [ :evas_object, :elm_glview_resize_policy ], :bool ], + [ :elm_glview_resize_policy_set, [ :pointer, :elm_glview_resize_policy ], :bool ], # EAPI Eina_Bool elm_glview_render_policy_set(Evas_Object *obj, Elm_GLView_Render_Policy policy); - [ :elm_glview_render_policy_set, [ :evas_object, :elm_glview_render_policy ], :bool ], + [ :elm_glview_render_policy_set, [ :pointer, :elm_glview_render_policy ], :bool ], + # EAPI void elm_glview_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); + [ :elm_glview_size_set, [ :pointer, :int, :int ], :void ], + # EAPI void elm_glview_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); + [ :elm_glview_size_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_glview_init_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func); - [ :elm_glview_init_func_set, [ :evas_object, :elm_glview_func_cb ], :void ], + [ :elm_glview_init_func_set, [ :pointer, :elm_glview_func_cb ], :void ], # EAPI void elm_glview_del_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func); - [ :elm_glview_del_func_set, [ :evas_object, :elm_glview_func_cb ], :void ], + [ :elm_glview_del_func_set, [ :pointer, :elm_glview_func_cb ], :void ], # EAPI void elm_glview_resize_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func); - [ :elm_glview_resize_func_set, [ :evas_object, :elm_glview_func_cb ], :void ], + [ :elm_glview_resize_func_set, [ :pointer, :elm_glview_func_cb ], :void ], # EAPI void elm_glview_render_func_set(Evas_Object *obj, Elm_GLView_Func_Cb func); - [ :elm_glview_render_func_set, [ :evas_object, :elm_glview_func_cb ], :void ], + [ :elm_glview_render_func_set, [ :pointer, :elm_glview_func_cb ], :void ], # EAPI void elm_glview_changed_set(Evas_Object *obj); - [ :elm_glview_changed_set, [ :evas_object ], :void ], + [ :elm_glview_changed_set, [ :pointer ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_grid.rb b/lib/efl/native/elm/elm_grid.rb index 1807fb6..43990ac 100644 --- a/lib/efl/native/elm/elm_grid.rb +++ b/lib/efl/native/elm/elm_grid.rb @@ -24,23 +24,23 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_grid_add(Evas_Object *parent); - [ :elm_grid_add, [ :evas_object ], :evas_object ], + [ :elm_grid_add, [ :pointer ], :pointer ], # EAPI void elm_grid_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h); - [ :elm_grid_size_set, [ :evas_object, :int, :int ], :void ], + [ :elm_grid_size_set, [ :pointer, :int, :int ], :void ], # EAPI void elm_grid_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); - [ :elm_grid_size_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_grid_size_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_grid_pack(Evas_Object *obj, Evas_Object *subobj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); - [ :elm_grid_pack, [ :evas_object, :evas_object, :int, :int, :int, :int ], :void ], + [ :elm_grid_pack, [ :pointer, :pointer, :int, :int, :int, :int ], :void ], # EAPI void elm_grid_unpack(Evas_Object *obj, Evas_Object *subobj); - [ :elm_grid_unpack, [ :evas_object, :evas_object ], :void ], + [ :elm_grid_unpack, [ :pointer, :pointer ], :void ], # EAPI void elm_grid_clear(Evas_Object *obj, Eina_Bool clear); - [ :elm_grid_clear, [ :evas_object, :bool ], :void ], + [ :elm_grid_clear, [ :pointer, :bool ], :void ], # EAPI void elm_grid_pack_set(Evas_Object *subobj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); - [ :elm_grid_pack_set, [ :evas_object, :int, :int, :int, :int ], :void ], + [ :elm_grid_pack_set, [ :pointer, :int, :int, :int, :int ], :void ], # EAPI void elm_grid_pack_get(Evas_Object *subobj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); - [ :elm_grid_pack_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ], + [ :elm_grid_pack_get, [ :pointer, :pointer, :pointer, :pointer, :pointer ], :void ], # EAPI Eina_List *elm_grid_children_get(const Evas_Object *obj); - [ :elm_grid_children_get, [ :evas_object ], :eina_list ], + [ :elm_grid_children_get, [ :pointer ], :eina_list ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_hover.rb b/lib/efl/native/elm/elm_hover.rb index 65294c4..6f650c3 100644 --- a/lib/efl/native/elm/elm_hover.rb +++ b/lib/efl/native/elm/elm_hover.rb @@ -28,19 +28,19 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_hover_add(Evas_Object *parent); - [ :elm_hover_add, [ :evas_object ], :evas_object ], - # EAPI void elm_hover_target_set(Evas_Object *obj, Evas_Object *target); - [ :elm_hover_target_set, [ :evas_object, :evas_object ], :void ], - # EAPI Evas_Object *elm_hover_target_get(const Evas_Object *obj); - [ :elm_hover_target_get, [ :evas_object ], :evas_object ], + [ :elm_hover_add, [ :pointer ], :pointer ], # EAPI void elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent); - [ :elm_hover_parent_set, [ :evas_object, :evas_object ], :void ], + [ :elm_hover_parent_set, [ :pointer, :pointer ], :void ], # EAPI Evas_Object *elm_hover_parent_get(const Evas_Object *obj); - [ :elm_hover_parent_get, [ :evas_object ], :evas_object ], + [ :elm_hover_parent_get, [ :pointer ], :pointer ], + # EAPI void elm_hover_target_set(Evas_Object *obj, Evas_Object *target); + [ :elm_hover_target_set, [ :pointer, :pointer ], :void ], + # EAPI Evas_Object *elm_hover_target_get(const Evas_Object *obj); + [ :elm_hover_target_get, [ :pointer ], :pointer ], # EAPI const char *elm_hover_best_content_location_get(const Evas_Object *obj, Elm_Hover_Axis pref_axis); - [ :elm_hover_best_content_location_get, [ :evas_object, :elm_hover_axis ], :string ], + [ :elm_hover_best_content_location_get, [ :pointer, :elm_hover_axis ], :string ], # EAPI void elm_hover_dismiss(Evas_Object *obj); - [ :elm_hover_dismiss, [ :evas_object ], :void ], + [ :elm_hover_dismiss, [ :pointer ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_hoversel.rb b/lib/efl/native/elm/elm_hoversel.rb index 72d2275..e2e9f15 100644 --- a/lib/efl/native/elm/elm_hoversel.rb +++ b/lib/efl/native/elm/elm_hoversel.rb @@ -25,27 +25,27 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_hoversel_add(Evas_Object *parent); - [ :elm_hoversel_add, [ :evas_object ], :evas_object ], + [ :elm_hoversel_add, [ :pointer ], :pointer ], # EAPI void elm_hoversel_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); - [ :elm_hoversel_horizontal_set, [ :evas_object, :bool ], :void ], + [ :elm_hoversel_horizontal_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_hoversel_horizontal_get(const Evas_Object *obj); - [ :elm_hoversel_horizontal_get, [ :evas_object ], :bool ], + [ :elm_hoversel_horizontal_get, [ :pointer ], :bool ], # EAPI void elm_hoversel_hover_parent_set(Evas_Object *obj, Evas_Object *parent); - [ :elm_hoversel_hover_parent_set, [ :evas_object, :evas_object ], :void ], + [ :elm_hoversel_hover_parent_set, [ :pointer, :pointer ], :void ], # EAPI Evas_Object *elm_hoversel_hover_parent_get(const Evas_Object *obj); - [ :elm_hoversel_hover_parent_get, [ :evas_object ], :evas_object ], + [ :elm_hoversel_hover_parent_get, [ :pointer ], :pointer ], # EAPI void elm_hoversel_hover_begin(Evas_Object *obj); - [ :elm_hoversel_hover_begin, [ :evas_object ], :void ], + [ :elm_hoversel_hover_begin, [ :pointer ], :void ], # EAPI void elm_hoversel_hover_end(Evas_Object *obj); - [ :elm_hoversel_hover_end, [ :evas_object ], :void ], + [ :elm_hoversel_hover_end, [ :pointer ], :void ], # EAPI Eina_Bool elm_hoversel_expanded_get(const Evas_Object *obj); - [ :elm_hoversel_expanded_get, [ :evas_object ], :bool ], + [ :elm_hoversel_expanded_get, [ :pointer ], :bool ], # EAPI void elm_hoversel_clear(Evas_Object *obj); - [ :elm_hoversel_clear, [ :evas_object ], :void ], + [ :elm_hoversel_clear, [ :pointer ], :void ], # EAPI const Eina_List *elm_hoversel_items_get(const Evas_Object *obj); - [ :elm_hoversel_items_get, [ :evas_object ], :eina_list ], + [ :elm_hoversel_items_get, [ :pointer ], :eina_list ], # EAPI Elm_Object_Item *elm_hoversel_item_add(Evas_Object *obj, const char *label, const char *icon_file, Elm_Icon_Type icon_type, Evas_Smart_Cb func, const void *data); - [ :elm_hoversel_item_add, [ :evas_object, :string, :string, :elm_icon_type, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_hoversel_item_add, [ :pointer, :string, :string, :elm_icon_type, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI void elm_hoversel_item_icon_set(Elm_Object_Item *it, const char *icon_file, const char *icon_group, Elm_Icon_Type icon_type); [ :elm_hoversel_item_icon_set, [ :elm_object_item, :string, :string, :elm_icon_type ], :void ], # EAPI void elm_hoversel_item_icon_get(const Elm_Object_Item *it, const char **icon_file, const char **icon_group, Elm_Icon_Type *icon_type); diff --git a/lib/efl/native/elm/elm_icon.rb b/lib/efl/native/elm/elm_icon.rb index d5fd491..7e78b37 100644 --- a/lib/efl/native/elm/elm_icon.rb +++ b/lib/efl/native/elm/elm_icon.rb @@ -30,17 +30,17 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_icon_add(Evas_Object *parent); - [ :elm_icon_add, [ :evas_object ], :evas_object ], + [ :elm_icon_add, [ :pointer ], :pointer ], # EAPI void elm_icon_thumb_set(Evas_Object *obj, const char *file, const char *group); - [ :elm_icon_thumb_set, [ :evas_object, :string, :string ], :void ], + [ :elm_icon_thumb_set, [ :pointer, :string, :string ], :void ], # EAPI Eina_Bool elm_icon_standard_set(Evas_Object *obj, const char *name); - [ :elm_icon_standard_set, [ :evas_object, :string ], :bool ], + [ :elm_icon_standard_set, [ :pointer, :string ], :bool ], # EAPI const char *elm_icon_standard_get(const Evas_Object *obj); - [ :elm_icon_standard_get, [ :evas_object ], :string ], + [ :elm_icon_standard_get, [ :pointer ], :string ], # EAPI void elm_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order); - [ :elm_icon_order_lookup_set, [ :evas_object, :elm_icon_lookup_order ], :void ], + [ :elm_icon_order_lookup_set, [ :pointer, :elm_icon_lookup_order ], :void ], # EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj); - [ :elm_icon_order_lookup_get, [ :evas_object ], :elm_icon_lookup_order ], + [ :elm_icon_order_lookup_get, [ :pointer ], :elm_icon_lookup_order ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_image.rb b/lib/efl/native/elm/elm_image.rb index 2f660c3..87d3051 100644 --- a/lib/efl/native/elm/elm_image.rb +++ b/lib/efl/native/elm/elm_image.rb @@ -26,64 +26,72 @@ module Efl enum :elm_image_orient, [ :elm_image_orient_none, 0, :elm_image_orient_0, 0, :elm_image_rotate_90, 1, :elm_image_rotate_180, 2, :elm_image_rotate_270, 3, :elm_image_flip_horizontal, 4, :elm_image_flip_vertical, 5, :elm_image_flip_transpose, 6, :elm_image_flip_transverse, 7 ] # + # TYPEDEFS + # typedef struct _Elm_Image_Progress Elm_Image_Progress; + typedef :pointer, :elm_image_progress + # typedef struct _Elm_Image_Error Elm_Image_Error; + typedef :pointer, :elm_image_error + # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_image_add(Evas_Object *parent); - [ :elm_image_add, [ :evas_object ], :evas_object ], + [ :elm_image_add, [ :pointer ], :pointer ], # EAPI Eina_Bool elm_image_memfile_set(Evas_Object *obj, const void *img, size_t size, const char *format, const char *key); - [ :elm_image_memfile_set, [ :evas_object, :pointer, :ulong, :string, :string ], :bool ], + [ :elm_image_memfile_set, [ :pointer, :pointer, :ulong, :string, :string ], :bool ], + # EAPI Eina_Bool elm_image_mmap_set(Evas_Object *obj, const Eina_File *file, const char *group); + [ :elm_image_mmap_set, [ :pointer, :eina_file, :string ], :bool ], # EAPI Eina_Bool elm_image_file_set(Evas_Object *obj, const char *file, const char *group); - [ :elm_image_file_set, [ :evas_object, :string, :string ], :bool ], + [ :elm_image_file_set, [ :pointer, :string, :string ], :bool ], # EAPI void elm_image_file_get(const Evas_Object *obj, const char **file, const char **group); - [ :elm_image_file_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_image_file_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_image_smooth_set(Evas_Object *obj, Eina_Bool smooth); - [ :elm_image_smooth_set, [ :evas_object, :bool ], :void ], + [ :elm_image_smooth_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_image_smooth_get(const Evas_Object *obj); - [ :elm_image_smooth_get, [ :evas_object ], :bool ], + [ :elm_image_smooth_get, [ :pointer ], :bool ], # EAPI void elm_image_object_size_get(const Evas_Object *obj, int *w, int *h); - [ :elm_image_object_size_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_image_object_size_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_image_no_scale_set(Evas_Object *obj, Eina_Bool no_scale); - [ :elm_image_no_scale_set, [ :evas_object, :bool ], :void ], + [ :elm_image_no_scale_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_image_no_scale_get(const Evas_Object *obj); - [ :elm_image_no_scale_get, [ :evas_object ], :bool ], + [ :elm_image_no_scale_get, [ :pointer ], :bool ], # EAPI void elm_image_resizable_set(Evas_Object *obj, Eina_Bool size_up, Eina_Bool size_down); - [ :elm_image_resizable_set, [ :evas_object, :bool, :bool ], :void ], + [ :elm_image_resizable_set, [ :pointer, :bool, :bool ], :void ], # EAPI void elm_image_resizable_get(const Evas_Object *obj, Eina_Bool *size_up, Eina_Bool *size_down); - [ :elm_image_resizable_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_image_resizable_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_image_fill_outside_set(Evas_Object *obj, Eina_Bool fill_outside); - [ :elm_image_fill_outside_set, [ :evas_object, :bool ], :void ], + [ :elm_image_fill_outside_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_image_fill_outside_get(const Evas_Object *obj); - [ :elm_image_fill_outside_get, [ :evas_object ], :bool ], + [ :elm_image_fill_outside_get, [ :pointer ], :bool ], # EAPI void elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled); - [ :elm_image_preload_disabled_set, [ :evas_object, :bool ], :void ], + [ :elm_image_preload_disabled_set, [ :pointer, :bool ], :void ], # EAPI void elm_image_prescale_set(Evas_Object *obj, int size); - [ :elm_image_prescale_set, [ :evas_object, :int ], :void ], + [ :elm_image_prescale_set, [ :pointer, :int ], :void ], # EAPI int elm_image_prescale_get(const Evas_Object *obj); - [ :elm_image_prescale_get, [ :evas_object ], :int ], + [ :elm_image_prescale_get, [ :pointer ], :int ], # EAPI void elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient); - [ :elm_image_orient_set, [ :evas_object, :elm_image_orient ], :void ], + [ :elm_image_orient_set, [ :pointer, :elm_image_orient ], :void ], # EAPI Elm_Image_Orient elm_image_orient_get(const Evas_Object *obj); - [ :elm_image_orient_get, [ :evas_object ], :elm_image_orient ], + [ :elm_image_orient_get, [ :pointer ], :elm_image_orient ], # EAPI void elm_image_editable_set(Evas_Object *obj, Eina_Bool set); - [ :elm_image_editable_set, [ :evas_object, :bool ], :void ], + [ :elm_image_editable_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_image_editable_get(const Evas_Object *obj); - [ :elm_image_editable_get, [ :evas_object ], :bool ], + [ :elm_image_editable_get, [ :pointer ], :bool ], # EAPI Evas_Object *elm_image_object_get(const Evas_Object *obj); - [ :elm_image_object_get, [ :evas_object ], :evas_object ], + [ :elm_image_object_get, [ :pointer ], :pointer ], # EAPI void elm_image_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed); - [ :elm_image_aspect_fixed_set, [ :evas_object, :bool ], :void ], + [ :elm_image_aspect_fixed_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_image_aspect_fixed_get(const Evas_Object *obj); - [ :elm_image_aspect_fixed_get, [ :evas_object ], :bool ], + [ :elm_image_aspect_fixed_get, [ :pointer ], :bool ], # EAPI Eina_Bool elm_image_animated_available_get(const Evas_Object *obj); - [ :elm_image_animated_available_get, [ :evas_object ], :bool ], + [ :elm_image_animated_available_get, [ :pointer ], :bool ], # EAPI void elm_image_animated_set(Evas_Object *obj, Eina_Bool animated); - [ :elm_image_animated_set, [ :evas_object, :bool ], :void ], + [ :elm_image_animated_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_image_animated_get(const Evas_Object *obj); - [ :elm_image_animated_get, [ :evas_object ], :bool ], + [ :elm_image_animated_get, [ :pointer ], :bool ], # EAPI void elm_image_animated_play_set(Evas_Object *obj, Eina_Bool play); - [ :elm_image_animated_play_set, [ :evas_object, :bool ], :void ], + [ :elm_image_animated_play_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_image_animated_play_get(const Evas_Object *obj); - [ :elm_image_animated_play_get, [ :evas_object ], :bool ], + [ :elm_image_animated_play_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_index.rb b/lib/efl/native/elm/elm_index.rb index e5fb579..5f581e8 100644 --- a/lib/efl/native/elm/elm_index.rb +++ b/lib/efl/native/elm/elm_index.rb @@ -23,46 +23,54 @@ module Efl # # FUNCTIONS fcts = [ + # EAPI void elm_index_item_selected_set(Elm_Object_Item *it, Eina_Bool selected); + [ :elm_index_item_selected_set, [ :elm_object_item, :bool ], :void ], # EAPI Evas_Object *elm_index_add(Evas_Object *parent); - [ :elm_index_add, [ :evas_object ], :evas_object ], + [ :elm_index_add, [ :pointer ], :pointer ], # EAPI void elm_index_autohide_disabled_set(Evas_Object *obj, Eina_Bool disabled); - [ :elm_index_autohide_disabled_set, [ :evas_object, :bool ], :void ], + [ :elm_index_autohide_disabled_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_index_autohide_disabled_get(const Evas_Object *obj); - [ :elm_index_autohide_disabled_get, [ :evas_object ], :bool ], + [ :elm_index_autohide_disabled_get, [ :pointer ], :bool ], # EAPI void elm_index_item_level_set(Evas_Object *obj, int level); - [ :elm_index_item_level_set, [ :evas_object, :int ], :void ], + [ :elm_index_item_level_set, [ :pointer, :int ], :void ], # EAPI int elm_index_item_level_get(const Evas_Object *obj); - [ :elm_index_item_level_get, [ :evas_object ], :int ], - # EAPI void elm_index_item_selected_set(Elm_Object_Item *it, Eina_Bool selected); - [ :elm_index_item_selected_set, [ :elm_object_item, :bool ], :void ], + [ :elm_index_item_level_get, [ :pointer ], :int ], # EAPI Elm_Object_Item *elm_index_selected_item_get(const Evas_Object *obj, int level); - [ :elm_index_selected_item_get, [ :evas_object, :int ], :elm_object_item ], + [ :elm_index_selected_item_get, [ :pointer, :int ], :elm_object_item ], # EAPI Elm_Object_Item *elm_index_item_append(Evas_Object *obj, const char *letter, Evas_Smart_Cb func, const void *data); - [ :elm_index_item_append, [ :evas_object, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_index_item_append, [ :pointer, :string, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_index_item_prepend(Evas_Object *obj, const char *letter, Evas_Smart_Cb func, const void *data); - [ :elm_index_item_prepend, [ :evas_object, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_index_item_prepend, [ :pointer, :string, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_index_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *letter, Evas_Smart_Cb func, const void *data); - [ :elm_index_item_insert_after, [ :evas_object, :elm_object_item, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_index_item_insert_after, [ :pointer, :elm_object_item, :string, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_index_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *letter, Evas_Smart_Cb func, const void *data); - [ :elm_index_item_insert_before, [ :evas_object, :elm_object_item, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_index_item_insert_before, [ :pointer, :elm_object_item, :string, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_index_item_sorted_insert(Evas_Object *obj, const char *letter, Evas_Smart_Cb func, const void *data, Eina_Compare_Cb cmp_func, Eina_Compare_Cb cmp_data_func); - [ :elm_index_item_sorted_insert, [ :evas_object, :string, :evas_smart_cb, :pointer, :eina_compare_cb, :eina_compare_cb ], :elm_object_item ], + [ :elm_index_item_sorted_insert, [ :pointer, :string, :evas_smart_cb, :pointer, :eina_compare_cb, :eina_compare_cb ], :elm_object_item ], # EAPI Elm_Object_Item *elm_index_item_find(Evas_Object *obj, const void *data); - [ :elm_index_item_find, [ :evas_object, :pointer ], :elm_object_item ], + [ :elm_index_item_find, [ :pointer, :pointer ], :elm_object_item ], # EAPI void elm_index_item_clear(Evas_Object *obj); - [ :elm_index_item_clear, [ :evas_object ], :void ], + [ :elm_index_item_clear, [ :pointer ], :void ], # EAPI void elm_index_level_go(Evas_Object *obj, int level); - [ :elm_index_level_go, [ :evas_object, :int ], :void ], + [ :elm_index_level_go, [ :pointer, :int ], :void ], # EAPI const char *elm_index_item_letter_get(const Elm_Object_Item *item); [ :elm_index_item_letter_get, [ :elm_object_item ], :string ], # EAPI void elm_index_indicator_disabled_set(Evas_Object *obj, Eina_Bool disabled); - [ :elm_index_indicator_disabled_set, [ :evas_object, :bool ], :void ], + [ :elm_index_indicator_disabled_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_index_indicator_disabled_get(const Evas_Object *obj); - [ :elm_index_indicator_disabled_get, [ :evas_object ], :bool ], + [ :elm_index_indicator_disabled_get, [ :pointer ], :bool ], # EAPI void elm_index_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); - [ :elm_index_horizontal_set, [ :evas_object, :bool ], :void ], + [ :elm_index_horizontal_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_index_horizontal_get(const Evas_Object *obj); - [ :elm_index_horizontal_get, [ :evas_object ], :bool ], + [ :elm_index_horizontal_get, [ :pointer ], :bool ], + # EAPI void elm_index_delay_change_time_set(Evas_Object *obj, double delay_change_time); + [ :elm_index_delay_change_time_set, [ :pointer, :double ], :void ], + # EAPI double elm_index_delay_change_time_get(const Evas_Object *obj); + [ :elm_index_delay_change_time_get, [ :pointer ], :double ], + # EAPI void elm_index_omit_enabled_set(Evas_Object *obj, Eina_Bool enabled); + [ :elm_index_omit_enabled_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_index_omit_enabled_get(const Evas_Object *obj); + [ :elm_index_omit_enabled_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_inwin.rb b/lib/efl/native/elm/elm_inwin.rb index 39cab20..0008e71 100644 --- a/lib/efl/native/elm/elm_inwin.rb +++ b/lib/efl/native/elm/elm_inwin.rb @@ -24,15 +24,15 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_win_inwin_add(Evas_Object *parent); - [ :elm_win_inwin_add, [ :evas_object ], :evas_object ], + [ :elm_win_inwin_add, [ :pointer ], :pointer ], # EAPI void elm_win_inwin_activate(Evas_Object *obj); - [ :elm_win_inwin_activate, [ :evas_object ], :void ], + [ :elm_win_inwin_activate, [ :pointer ], :void ], # EAPI void elm_win_inwin_content_set(Evas_Object *obj, Evas_Object *content); - [ :elm_win_inwin_content_set, [ :evas_object, :evas_object ], :void ], + [ :elm_win_inwin_content_set, [ :pointer, :pointer ], :void ], # EAPI Evas_Object *elm_win_inwin_content_get(const Evas_Object *obj); - [ :elm_win_inwin_content_get, [ :evas_object ], :evas_object ], + [ :elm_win_inwin_content_get, [ :pointer ], :pointer ], # EAPI Evas_Object *elm_win_inwin_content_unset(Evas_Object *obj); - [ :elm_win_inwin_content_unset, [ :evas_object ], :evas_object ], + [ :elm_win_inwin_content_unset, [ :pointer ], :pointer ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_label.rb b/lib/efl/native/elm/elm_label.rb index 37e0d8d..21b8a9e 100644 --- a/lib/efl/native/elm/elm_label.rb +++ b/lib/efl/native/elm/elm_label.rb @@ -22,30 +22,38 @@ module Efl # ffi_lib 'elementary.so.1' # + # ENUMS + # typedef enum {...} Elm_Label_Slide_Mode; + enum :elm_label_slide_mode, [ :elm_label_slide_mode_none, 0, :elm_label_slide_mode_auto, 1, :elm_label_slide_mode_always, 2 ] + # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_label_add(Evas_Object *parent); - [ :elm_label_add, [ :evas_object ], :evas_object ], + [ :elm_label_add, [ :pointer ], :pointer ], + # EAPI void elm_label_slide_area_limit_set(Evas_Object *obj, Eina_Bool limit); + [ :elm_label_slide_area_limit_set, [ :pointer, :bool ], :void ], # EAPI void elm_label_line_wrap_set(Evas_Object *obj, Elm_Wrap_Type wrap); - [ :elm_label_line_wrap_set, [ :evas_object, :elm_wrap_type ], :void ], + [ :elm_label_line_wrap_set, [ :pointer, :elm_wrap_type ], :void ], # EAPI Elm_Wrap_Type elm_label_line_wrap_get(const Evas_Object *obj); - [ :elm_label_line_wrap_get, [ :evas_object ], :elm_wrap_type ], + [ :elm_label_line_wrap_get, [ :pointer ], :elm_wrap_type ], # EAPI void elm_label_wrap_width_set(Evas_Object *obj, Evas_Coord w); - [ :elm_label_wrap_width_set, [ :evas_object, :int ], :void ], + [ :elm_label_wrap_width_set, [ :pointer, :int ], :void ], # EAPI Evas_Coord elm_label_wrap_width_get(const Evas_Object *obj); - [ :elm_label_wrap_width_get, [ :evas_object ], :int ], + [ :elm_label_wrap_width_get, [ :pointer ], :int ], # EAPI void elm_label_ellipsis_set(Evas_Object *obj, Eina_Bool ellipsis); - [ :elm_label_ellipsis_set, [ :evas_object, :bool ], :void ], + [ :elm_label_ellipsis_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_label_ellipsis_get(const Evas_Object *obj); - [ :elm_label_ellipsis_get, [ :evas_object ], :bool ], - # EAPI void elm_label_slide_set(Evas_Object *obj, Eina_Bool slide); - [ :elm_label_slide_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_label_slide_get(const Evas_Object *obj); - [ :elm_label_slide_get, [ :evas_object ], :bool ], + [ :elm_label_ellipsis_get, [ :pointer ], :bool ], + # EAPI void elm_label_slide_mode_set(Evas_Object *obj, Elm_Label_Slide_Mode mode); + [ :elm_label_slide_mode_set, [ :pointer, :elm_label_slide_mode ], :void ], + # EAPI Elm_Label_Slide_Mode elm_label_slide_mode_get(const Evas_Object *obj); + [ :elm_label_slide_mode_get, [ :pointer ], :elm_label_slide_mode ], # EAPI void elm_label_slide_duration_set(Evas_Object *obj, double duration); - [ :elm_label_slide_duration_set, [ :evas_object, :double ], :void ], + [ :elm_label_slide_duration_set, [ :pointer, :double ], :void ], # EAPI double elm_label_slide_duration_get(const Evas_Object *obj); - [ :elm_label_slide_duration_get, [ :evas_object ], :double ], + [ :elm_label_slide_duration_get, [ :pointer ], :double ], + # EAPI void elm_label_slide_go(Evas_Object *obj); + [ :elm_label_slide_go, [ :pointer ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_layout.rb b/lib/efl/native/elm/elm_layout.rb index 1db4072..d90f5c1 100644 --- a/lib/efl/native/elm/elm_layout.rb +++ b/lib/efl/native/elm/elm_layout.rb @@ -25,73 +25,75 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_layout_add(Evas_Object *parent); - [ :elm_layout_add, [ :evas_object ], :evas_object ], + [ :elm_layout_add, [ :pointer ], :pointer ], # EAPI Eina_Bool elm_layout_file_set(Evas_Object *obj, const char *file, const char *group); - [ :elm_layout_file_set, [ :evas_object, :string, :string ], :bool ], + [ :elm_layout_file_set, [ :pointer, :string, :string ], :bool ], # EAPI int elm_layout_freeze(Evas_Object *obj); - [ :elm_layout_freeze, [ :evas_object ], :int ], + [ :elm_layout_freeze, [ :pointer ], :int ], # EAPI int elm_layout_thaw(Evas_Object *obj); - [ :elm_layout_thaw, [ :evas_object ], :int ], + [ :elm_layout_thaw, [ :pointer ], :int ], # EAPI Eina_Bool elm_layout_theme_set(Evas_Object *obj, const char *clas, const char *group, const char *style); - [ :elm_layout_theme_set, [ :evas_object, :string, :string, :string ], :bool ], + [ :elm_layout_theme_set, [ :pointer, :string, :string, :string ], :bool ], # EAPI void elm_layout_signal_emit(Evas_Object *obj, const char *emission, const char *source); - [ :elm_layout_signal_emit, [ :evas_object, :string, :string ], :void ], + [ :elm_layout_signal_emit, [ :pointer, :string, :string ], :void ], # EAPI void elm_layout_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data); - [ :elm_layout_signal_callback_add, [ :evas_object, :string, :string, :edje_signal_cb, :pointer ], :void ], + [ :elm_layout_signal_callback_add, [ :pointer, :string, :string, :edje_signal_cb, :pointer ], :void ], # EAPI void *elm_layout_signal_callback_del(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func); - [ :elm_layout_signal_callback_del, [ :evas_object, :string, :string, :edje_signal_cb ], :pointer ], + [ :elm_layout_signal_callback_del, [ :pointer, :string, :string, :edje_signal_cb ], :pointer ], # EAPI Eina_Bool elm_layout_box_append(Evas_Object *obj, const char *part, Evas_Object *child); - [ :elm_layout_box_append, [ :evas_object, :string, :evas_object ], :bool ], + [ :elm_layout_box_append, [ :pointer, :string, :pointer ], :bool ], # EAPI Eina_Bool elm_layout_box_prepend(Evas_Object *obj, const char *part, Evas_Object *child); - [ :elm_layout_box_prepend, [ :evas_object, :string, :evas_object ], :bool ], + [ :elm_layout_box_prepend, [ :pointer, :string, :pointer ], :bool ], # EAPI Eina_Bool elm_layout_box_insert_before(Evas_Object *obj, const char *part, Evas_Object *child, const Evas_Object *reference); - [ :elm_layout_box_insert_before, [ :evas_object, :string, :evas_object, :evas_object ], :bool ], + [ :elm_layout_box_insert_before, [ :pointer, :string, :pointer, :pointer ], :bool ], # EAPI Eina_Bool elm_layout_box_insert_at(Evas_Object *obj, const char *part, Evas_Object *child, unsigned int pos); - [ :elm_layout_box_insert_at, [ :evas_object, :string, :evas_object, :uint ], :bool ], + [ :elm_layout_box_insert_at, [ :pointer, :string, :pointer, :uint ], :bool ], # EAPI Evas_Object *elm_layout_box_remove(Evas_Object *obj, const char *part, Evas_Object *child); - [ :elm_layout_box_remove, [ :evas_object, :string, :evas_object ], :evas_object ], + [ :elm_layout_box_remove, [ :pointer, :string, :pointer ], :pointer ], # EAPI Eina_Bool elm_layout_box_remove_all(Evas_Object *obj, const char *part, Eina_Bool clear); - [ :elm_layout_box_remove_all, [ :evas_object, :string, :bool ], :bool ], + [ :elm_layout_box_remove_all, [ :pointer, :string, :bool ], :bool ], # EAPI Eina_Bool elm_layout_table_pack(Evas_Object *obj, const char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan); - [ :elm_layout_table_pack, [ :evas_object, :string, :evas_object, :ushort, :ushort, :ushort, :ushort ], :bool ], + [ :elm_layout_table_pack, [ :pointer, :string, :pointer, :ushort, :ushort, :ushort, :ushort ], :bool ], # EAPI Evas_Object *elm_layout_table_unpack(Evas_Object *obj, const char *part, Evas_Object *child_obj); - [ :elm_layout_table_unpack, [ :evas_object, :string, :evas_object ], :evas_object ], + [ :elm_layout_table_unpack, [ :pointer, :string, :pointer ], :pointer ], # EAPI Eina_Bool elm_layout_table_clear(Evas_Object *obj, const char *part, Eina_Bool clear); - [ :elm_layout_table_clear, [ :evas_object, :string, :bool ], :bool ], + [ :elm_layout_table_clear, [ :pointer, :string, :bool ], :bool ], # EAPI Evas_Object *elm_layout_edje_get(const Evas_Object *obj); - [ :elm_layout_edje_get, [ :evas_object ], :evas_object ], + [ :elm_layout_edje_get, [ :pointer ], :pointer ], # EAPI const char *elm_layout_data_get(const Evas_Object *obj, const char *key); - [ :elm_layout_data_get, [ :evas_object, :string ], :string ], + [ :elm_layout_data_get, [ :pointer, :string ], :string ], # EAPI void elm_layout_sizing_eval(Evas_Object *obj); - [ :elm_layout_sizing_eval, [ :evas_object ], :void ], + [ :elm_layout_sizing_eval, [ :pointer ], :void ], + # EAPI void elm_layout_sizing_restricted_eval(Evas_Object *obj, Eina_Bool w, Eina_Bool h); + [ :elm_layout_sizing_restricted_eval, [ :pointer, :bool, :bool ], :void ], # EAPI Eina_Bool elm_layout_part_cursor_set(Evas_Object *obj, const char *part_name, const char *cursor); - [ :elm_layout_part_cursor_set, [ :evas_object, :string, :string ], :bool ], + [ :elm_layout_part_cursor_set, [ :pointer, :string, :string ], :bool ], # EAPI const char *elm_layout_part_cursor_get(const Evas_Object *obj, const char *part_name); - [ :elm_layout_part_cursor_get, [ :evas_object, :string ], :string ], + [ :elm_layout_part_cursor_get, [ :pointer, :string ], :string ], # EAPI Eina_Bool elm_layout_part_cursor_unset(Evas_Object *obj, const char *part_name); - [ :elm_layout_part_cursor_unset, [ :evas_object, :string ], :bool ], + [ :elm_layout_part_cursor_unset, [ :pointer, :string ], :bool ], # EAPI Eina_Bool elm_layout_part_cursor_style_set(Evas_Object *obj, const char *part_name, const char *style); - [ :elm_layout_part_cursor_style_set, [ :evas_object, :string, :string ], :bool ], + [ :elm_layout_part_cursor_style_set, [ :pointer, :string, :string ], :bool ], # EAPI const char *elm_layout_part_cursor_style_get(const Evas_Object *obj, const char *part_name); - [ :elm_layout_part_cursor_style_get, [ :evas_object, :string ], :string ], + [ :elm_layout_part_cursor_style_get, [ :pointer, :string ], :string ], # EAPI Eina_Bool elm_layout_part_cursor_engine_only_set(Evas_Object *obj, const char *part_name, Eina_Bool engine_only); - [ :elm_layout_part_cursor_engine_only_set, [ :evas_object, :string, :bool ], :bool ], + [ :elm_layout_part_cursor_engine_only_set, [ :pointer, :string, :bool ], :bool ], # EAPI Eina_Bool elm_layout_edje_object_can_access_set(Evas_Object *obj, Eina_Bool can_access); - [ :elm_layout_edje_object_can_access_set, [ :evas_object, :bool ], :bool ], + [ :elm_layout_edje_object_can_access_set, [ :pointer, :bool ], :bool ], # EAPI Eina_Bool elm_layout_edje_object_can_access_get(Evas_Object *obj); - [ :elm_layout_edje_object_can_access_get, [ :evas_object ], :bool ], + [ :elm_layout_edje_object_can_access_get, [ :pointer ], :bool ], # EAPI Eina_Bool elm_layout_part_cursor_engine_only_get(const Evas_Object *obj, const char *part_name); - [ :elm_layout_part_cursor_engine_only_get, [ :evas_object, :string ], :bool ], + [ :elm_layout_part_cursor_engine_only_get, [ :pointer, :string ], :bool ], # EAPI Eina_Bool elm_layout_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content); - [ :elm_layout_content_set, [ :evas_object, :string, :evas_object ], :bool ], + [ :elm_layout_content_set, [ :pointer, :string, :pointer ], :bool ], # EAPI Evas_Object *elm_layout_content_get(const Evas_Object *obj, const char *swallow); - [ :elm_layout_content_get, [ :evas_object, :string ], :evas_object ], + [ :elm_layout_content_get, [ :pointer, :string ], :pointer ], # EAPI Evas_Object *elm_layout_content_unset(Evas_Object *obj, const char *swallow); - [ :elm_layout_content_unset, [ :evas_object, :string ], :evas_object ], + [ :elm_layout_content_unset, [ :pointer, :string ], :pointer ], # EAPI Eina_Bool elm_layout_text_set(Evas_Object *obj, const char *part, const char *text); - [ :elm_layout_text_set, [ :evas_object, :string, :string ], :bool ], + [ :elm_layout_text_set, [ :pointer, :string, :string ], :bool ], # EAPI const char *elm_layout_text_get(const Evas_Object *obj, const char *part); - [ :elm_layout_text_get, [ :evas_object, :string ], :string ], + [ :elm_layout_text_get, [ :pointer, :string ], :string ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_list.rb b/lib/efl/native/elm/elm_list.rb index 2d23a47..e035051 100644 --- a/lib/efl/native/elm/elm_list.rb +++ b/lib/efl/native/elm/elm_list.rb @@ -28,69 +28,76 @@ module Efl # # FUNCTIONS fcts = [ + # EAPI void elm_list_item_selected_set(Elm_Object_Item *it, Eina_Bool selected); + [ :elm_list_item_selected_set, [ :elm_object_item, :bool ], :void ], + # EAPI Eina_Bool elm_list_item_selected_get(const Elm_Object_Item *it); + [ :elm_list_item_selected_get, [ :elm_object_item ], :bool ], + # EAPI void elm_list_item_separator_set(Elm_Object_Item *it, Eina_Bool setting); + [ :elm_list_item_separator_set, [ :elm_object_item, :bool ], :void ], + # EAPI Eina_Bool elm_list_item_separator_get(const Elm_Object_Item *it); + [ :elm_list_item_separator_get, [ :elm_object_item ], :bool ], + # EAPI void elm_list_item_show(Elm_Object_Item *it); + [ :elm_list_item_show, [ :elm_object_item ], :void ], + # EAPI void elm_list_item_bring_in(Elm_Object_Item *it); + [ :elm_list_item_bring_in, [ :elm_object_item ], :void ], + # EAPI Evas_Object *elm_list_item_object_get(const Elm_Object_Item *it); + [ :elm_list_item_object_get, [ :elm_object_item ], :pointer ], + # EAPI Elm_Object_Item *elm_list_item_prev(const Elm_Object_Item *it); + [ :elm_list_item_prev, [ :elm_object_item ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_list_item_next(const Elm_Object_Item *it); + [ :elm_list_item_next, [ :elm_object_item ], :elm_object_item ], # EAPI Evas_Object *elm_list_add(Evas_Object *parent); - [ :elm_list_add, [ :evas_object ], :evas_object ], + [ :elm_list_add, [ :pointer ], :pointer ], # EAPI void elm_list_go(Evas_Object *obj); - [ :elm_list_go, [ :evas_object ], :void ], + [ :elm_list_go, [ :pointer ], :void ], # EAPI void elm_list_multi_select_set(Evas_Object *obj, Eina_Bool multi); - [ :elm_list_multi_select_set, [ :evas_object, :bool ], :void ], + [ :elm_list_multi_select_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_list_multi_select_get(const Evas_Object *obj); - [ :elm_list_multi_select_get, [ :evas_object ], :bool ], + [ :elm_list_multi_select_get, [ :pointer ], :bool ], + # EAPI void elm_list_multi_select_mode_set(Evas_Object *obj, Elm_Object_Multi_Select_Mode mode); + [ :elm_list_multi_select_mode_set, [ :pointer, :elm_object_multi_select_mode ], :void ], + # EAPI Elm_Object_Multi_Select_Mode elm_list_multi_select_mode_get(const Evas_Object *obj); + [ :elm_list_multi_select_mode_get, [ :pointer ], :elm_object_multi_select_mode ], # EAPI void elm_list_mode_set(Evas_Object *obj, Elm_List_Mode mode); - [ :elm_list_mode_set, [ :evas_object, :elm_list_mode ], :void ], + [ :elm_list_mode_set, [ :pointer, :elm_list_mode ], :void ], # EAPI Elm_List_Mode elm_list_mode_get(const Evas_Object *obj); - [ :elm_list_mode_get, [ :evas_object ], :elm_list_mode ], + [ :elm_list_mode_get, [ :pointer ], :elm_list_mode ], # EAPI void elm_list_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); - [ :elm_list_horizontal_set, [ :evas_object, :bool ], :void ], + [ :elm_list_horizontal_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_list_horizontal_get(const Evas_Object *obj); - [ :elm_list_horizontal_get, [ :evas_object ], :bool ], + [ :elm_list_horizontal_get, [ :pointer ], :bool ], # EAPI void elm_list_select_mode_set(Evas_Object *obj, Elm_Object_Select_Mode mode); - [ :elm_list_select_mode_set, [ :evas_object, :elm_object_select_mode ], :void ], + [ :elm_list_select_mode_set, [ :pointer, :elm_object_select_mode ], :void ], # EAPI Elm_Object_Select_Mode elm_list_select_mode_get(const Evas_Object *obj); - [ :elm_list_select_mode_get, [ :evas_object ], :elm_object_select_mode ], + [ :elm_list_select_mode_get, [ :pointer ], :elm_object_select_mode ], # EAPI Elm_Object_Item *elm_list_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data); - [ :elm_list_item_append, [ :evas_object, :string, :evas_object, :evas_object, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_list_item_append, [ :pointer, :string, :pointer, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_list_item_prepend(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data); - [ :elm_list_item_prepend, [ :evas_object, :string, :evas_object, :evas_object, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_list_item_prepend, [ :pointer, :string, :pointer, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_list_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data); - [ :elm_list_item_insert_before, [ :evas_object, :elm_object_item, :string, :evas_object, :evas_object, :evas_smart_cb, :pointer ], - :elm_object_item ], + [ :elm_list_item_insert_before, [ :pointer, :elm_object_item, :string, :pointer, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_list_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data); - [ :elm_list_item_insert_after, [ :evas_object, :elm_object_item, :string, :evas_object, :evas_object, :evas_smart_cb, :pointer ], - :elm_object_item ], + [ :elm_list_item_insert_after, [ :pointer, :elm_object_item, :string, :pointer, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_list_item_sorted_insert(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Object *end, Evas_Smart_Cb func, const void *data, Eina_Compare_Cb cmp_func); - [ :elm_list_item_sorted_insert, [ :evas_object, :string, :evas_object, :evas_object, :evas_smart_cb, :pointer, :eina_compare_cb ], - :elm_object_item ], + [ :elm_list_item_sorted_insert, [ :pointer, :string, :pointer, :pointer, :evas_smart_cb, :pointer, :eina_compare_cb ], :elm_object_item ], # EAPI void elm_list_clear(Evas_Object *obj); - [ :elm_list_clear, [ :evas_object ], :void ], + [ :elm_list_clear, [ :pointer ], :void ], # EAPI const Eina_List *elm_list_items_get(const Evas_Object *obj); - [ :elm_list_items_get, [ :evas_object ], :eina_list ], + [ :elm_list_items_get, [ :pointer ], :eina_list ], # EAPI Elm_Object_Item *elm_list_selected_item_get(const Evas_Object *obj); - [ :elm_list_selected_item_get, [ :evas_object ], :elm_object_item ], + [ :elm_list_selected_item_get, [ :pointer ], :elm_object_item ], # EAPI const Eina_List *elm_list_selected_items_get(const Evas_Object *obj); - [ :elm_list_selected_items_get, [ :evas_object ], :eina_list ], - # EAPI void elm_list_item_selected_set(Elm_Object_Item *it, Eina_Bool selected); - [ :elm_list_item_selected_set, [ :elm_object_item, :bool ], :void ], - # EAPI Eina_Bool elm_list_item_selected_get(const Elm_Object_Item *it); - [ :elm_list_item_selected_get, [ :elm_object_item ], :bool ], - # EAPI void elm_list_item_separator_set(Elm_Object_Item *it, Eina_Bool setting); - [ :elm_list_item_separator_set, [ :elm_object_item, :bool ], :void ], - # EAPI Eina_Bool elm_list_item_separator_get(const Elm_Object_Item *it); - [ :elm_list_item_separator_get, [ :elm_object_item ], :bool ], - # EAPI void elm_list_item_show(Elm_Object_Item *it); - [ :elm_list_item_show, [ :elm_object_item ], :void ], - # EAPI void elm_list_item_bring_in(Elm_Object_Item *it); - [ :elm_list_item_bring_in, [ :elm_object_item ], :void ], - # EAPI Evas_Object *elm_list_item_object_get(const Elm_Object_Item *it); - [ :elm_list_item_object_get, [ :elm_object_item ], :evas_object ], - # EAPI Elm_Object_Item *elm_list_item_prev(const Elm_Object_Item *it); - [ :elm_list_item_prev, [ :elm_object_item ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_list_item_next(const Elm_Object_Item *it); - [ :elm_list_item_next, [ :elm_object_item ], :elm_object_item ], + [ :elm_list_selected_items_get, [ :pointer ], :eina_list ], # EAPI Elm_Object_Item *elm_list_first_item_get(const Evas_Object *obj); - [ :elm_list_first_item_get, [ :evas_object ], :elm_object_item ], + [ :elm_list_first_item_get, [ :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_list_last_item_get(const Evas_Object *obj); - [ :elm_list_last_item_get, [ :evas_object ], :elm_object_item ], + [ :elm_list_last_item_get, [ :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_list_at_xy_item_get(const Evas_Object *obj, Evas_Coord x, Evas_Coord y, int *posret); + [ :elm_list_at_xy_item_get, [ :pointer, :int, :int, :pointer ], :elm_object_item ], + # EAPI void elm_list_focus_on_selection_set(Evas_Object *obj, Eina_Bool enabled); + [ :elm_list_focus_on_selection_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_list_focus_on_selection_get(const Evas_Object *obj); + [ :elm_list_focus_on_selection_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_mapbuf.rb b/lib/efl/native/elm/elm_mapbuf.rb index ff06681..b1e6646 100644 --- a/lib/efl/native/elm/elm_mapbuf.rb +++ b/lib/efl/native/elm/elm_mapbuf.rb @@ -24,19 +24,23 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_mapbuf_add(Evas_Object *parent); - [ :elm_mapbuf_add, [ :evas_object ], :evas_object ], + [ :elm_mapbuf_add, [ :pointer ], :pointer ], # EAPI void elm_mapbuf_enabled_set(Evas_Object *obj, Eina_Bool enabled); - [ :elm_mapbuf_enabled_set, [ :evas_object, :bool ], :void ], + [ :elm_mapbuf_enabled_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_mapbuf_enabled_get(const Evas_Object *obj); - [ :elm_mapbuf_enabled_get, [ :evas_object ], :bool ], + [ :elm_mapbuf_enabled_get, [ :pointer ], :bool ], # EAPI void elm_mapbuf_smooth_set(Evas_Object *obj, Eina_Bool smooth); - [ :elm_mapbuf_smooth_set, [ :evas_object, :bool ], :void ], + [ :elm_mapbuf_smooth_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_mapbuf_smooth_get(const Evas_Object *obj); - [ :elm_mapbuf_smooth_get, [ :evas_object ], :bool ], + [ :elm_mapbuf_smooth_get, [ :pointer ], :bool ], # EAPI void elm_mapbuf_alpha_set(Evas_Object *obj, Eina_Bool alpha); - [ :elm_mapbuf_alpha_set, [ :evas_object, :bool ], :void ], + [ :elm_mapbuf_alpha_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_mapbuf_alpha_get(const Evas_Object *obj); - [ :elm_mapbuf_alpha_get, [ :evas_object ], :bool ], + [ :elm_mapbuf_alpha_get, [ :pointer ], :bool ], + # EAPI void elm_mapbuf_auto_set(Evas_Object *obj, Eina_Bool on); + [ :elm_mapbuf_auto_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_mapbuf_auto_get(const Evas_Object *obj); + [ :elm_mapbuf_auto_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_menu.rb b/lib/efl/native/elm/elm_menu.rb index 1574aa4..3b7e08b 100644 --- a/lib/efl/native/elm/elm_menu.rb +++ b/lib/efl/native/elm/elm_menu.rb @@ -23,22 +23,8 @@ module Efl # # FUNCTIONS fcts = [ - # EAPI Evas_Object *elm_menu_add(Evas_Object *parent); - [ :elm_menu_add, [ :evas_object ], :evas_object ], - # EAPI void elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent); - [ :elm_menu_parent_set, [ :evas_object, :evas_object ], :void ], - # EAPI Evas_Object *elm_menu_parent_get(const Evas_Object *obj); - [ :elm_menu_parent_get, [ :evas_object ], :evas_object ], - # EAPI void elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y); - [ :elm_menu_move, [ :evas_object, :int, :int ], :void ], - # EAPI void elm_menu_close(Evas_Object *obj); - [ :elm_menu_close, [ :evas_object ], :void ], - # EAPI const Eina_List *elm_menu_items_get(const Evas_Object *obj); - [ :elm_menu_items_get, [ :evas_object ], :eina_list ], # EAPI Evas_Object *elm_menu_item_object_get(const Elm_Object_Item *it); - [ :elm_menu_item_object_get, [ :elm_object_item ], :evas_object ], - # EAPI Elm_Object_Item *elm_menu_item_add(Evas_Object *obj, Elm_Object_Item *parent, const char *icon, const char *label, Evas_Smart_Cb func, const void *data); - [ :elm_menu_item_add, [ :evas_object, :elm_object_item, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_menu_item_object_get, [ :elm_object_item ], :pointer ], # EAPI void elm_menu_item_icon_name_set(Elm_Object_Item *it, const char *icon); [ :elm_menu_item_icon_name_set, [ :elm_object_item, :string ], :void ], # EAPI const char *elm_menu_item_icon_name_get(const Elm_Object_Item *it); @@ -47,24 +33,40 @@ module Efl [ :elm_menu_item_selected_set, [ :elm_object_item, :bool ], :void ], # EAPI Eina_Bool elm_menu_item_selected_get(const Elm_Object_Item *it); [ :elm_menu_item_selected_get, [ :elm_object_item ], :bool ], - # EAPI Elm_Object_Item *elm_menu_item_separator_add(Evas_Object *obj, Elm_Object_Item *parent); - [ :elm_menu_item_separator_add, [ :evas_object, :elm_object_item ], :elm_object_item ], # EAPI Eina_Bool elm_menu_item_is_separator(Elm_Object_Item *it); [ :elm_menu_item_is_separator, [ :elm_object_item ], :bool ], # EAPI const Eina_List *elm_menu_item_subitems_get(const Elm_Object_Item *it); [ :elm_menu_item_subitems_get, [ :elm_object_item ], :eina_list ], + # EAPI void elm_menu_item_subitems_clear(Elm_Object_Item *it); + [ :elm_menu_item_subitems_clear, [ :elm_object_item ], :void ], # EAPI unsigned int elm_menu_item_index_get(const Elm_Object_Item *it); [ :elm_menu_item_index_get, [ :elm_object_item ], :uint ], - # EAPI Elm_Object_Item *elm_menu_selected_item_get(const Evas_Object *obj); - [ :elm_menu_selected_item_get, [ :evas_object ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_menu_last_item_get(const Evas_Object *obj); - [ :elm_menu_last_item_get, [ :evas_object ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_menu_first_item_get(const Evas_Object *obj); - [ :elm_menu_first_item_get, [ :evas_object ], :elm_object_item ], # EAPI Elm_Object_Item *elm_menu_item_next_get(const Elm_Object_Item *it); [ :elm_menu_item_next_get, [ :elm_object_item ], :elm_object_item ], # EAPI Elm_Object_Item *elm_menu_item_prev_get(const Elm_Object_Item *it); [ :elm_menu_item_prev_get, [ :elm_object_item ], :elm_object_item ], + # EAPI Evas_Object *elm_menu_add(Evas_Object *parent); + [ :elm_menu_add, [ :pointer ], :pointer ], + # EAPI void elm_menu_parent_set(Evas_Object *obj, Evas_Object *parent); + [ :elm_menu_parent_set, [ :pointer, :pointer ], :void ], + # EAPI Evas_Object *elm_menu_parent_get(const Evas_Object *obj); + [ :elm_menu_parent_get, [ :pointer ], :pointer ], + # EAPI void elm_menu_move(Evas_Object *obj, Evas_Coord x, Evas_Coord y); + [ :elm_menu_move, [ :pointer, :int, :int ], :void ], + # EAPI void elm_menu_close(Evas_Object *obj); + [ :elm_menu_close, [ :pointer ], :void ], + # EAPI Elm_Object_Item *elm_menu_item_add(Evas_Object *obj, Elm_Object_Item *parent, const char *icon, const char *label, Evas_Smart_Cb func, const void *data); + [ :elm_menu_item_add, [ :pointer, :elm_object_item, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_menu_item_separator_add(Evas_Object *obj, Elm_Object_Item *parent); + [ :elm_menu_item_separator_add, [ :pointer, :elm_object_item ], :elm_object_item ], + # EAPI const Eina_List *elm_menu_items_get(const Evas_Object *obj); + [ :elm_menu_items_get, [ :pointer ], :eina_list ], + # EAPI Elm_Object_Item *elm_menu_first_item_get(const Evas_Object *obj); + [ :elm_menu_first_item_get, [ :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_menu_last_item_get(const Evas_Object *obj); + [ :elm_menu_last_item_get, [ :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_menu_selected_item_get(const Evas_Object *obj); + [ :elm_menu_selected_item_get, [ :pointer ], :elm_object_item ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_mirroring.rb b/lib/efl/native/elm/elm_mirroring.rb index f77dbed..6e658ef 100644 --- a/lib/efl/native/elm/elm_mirroring.rb +++ b/lib/efl/native/elm/elm_mirroring.rb @@ -24,13 +24,13 @@ module Efl # FUNCTIONS fcts = [ # EAPI Eina_Bool elm_object_mirrored_get(const Evas_Object *obj); - [ :elm_object_mirrored_get, [ :evas_object ], :bool ], + [ :elm_object_mirrored_get, [ :pointer ], :bool ], # EAPI void elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored); - [ :elm_object_mirrored_set, [ :evas_object, :bool ], :void ], + [ :elm_object_mirrored_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_object_mirrored_automatic_get(const Evas_Object *obj); - [ :elm_object_mirrored_automatic_get, [ :evas_object ], :bool ], + [ :elm_object_mirrored_automatic_get, [ :pointer ], :bool ], # EAPI void elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic); - [ :elm_object_mirrored_automatic_set, [ :evas_object, :bool ], :void ], + [ :elm_object_mirrored_automatic_set, [ :pointer, :bool ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_multibuttonentry.rb b/lib/efl/native/elm/elm_multibuttonentry.rb index b86e5a5..76f7599 100644 --- a/lib/efl/native/elm/elm_multibuttonentry.rb +++ b/lib/efl/native/elm/elm_multibuttonentry.rb @@ -23,54 +23,54 @@ module Efl # # CALLBACKS # typedef Eina_Bool (*Elm_Multibuttonentry_Item_Filter_Cb) (Evas_Object *obj, const char *item_label, void *item_data, void *data); - callback :elm_multibuttonentry_item_filter_cb, [ :evas_object, :string, :pointer, :pointer ], :bool + callback :elm_multibuttonentry_item_filter_cb, [ :pointer, :string, :pointer, :pointer ], :bool # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_multibuttonentry_add(Evas_Object *parent); - [ :elm_multibuttonentry_add, [ :evas_object ], :evas_object ], + [ :elm_multibuttonentry_add, [ :pointer ], :pointer ], # EAPI Evas_Object *elm_multibuttonentry_entry_get(const Evas_Object *obj); - [ :elm_multibuttonentry_entry_get, [ :evas_object ], :evas_object ], + [ :elm_multibuttonentry_entry_get, [ :pointer ], :pointer ], # EAPI Eina_Bool elm_multibuttonentry_expanded_get(const Evas_Object *obj); - [ :elm_multibuttonentry_expanded_get, [ :evas_object ], :bool ], + [ :elm_multibuttonentry_expanded_get, [ :pointer ], :bool ], # EAPI void elm_multibuttonentry_expanded_set(Evas_Object *obj, Eina_Bool expanded); - [ :elm_multibuttonentry_expanded_set, [ :evas_object, :bool ], :void ], + [ :elm_multibuttonentry_expanded_set, [ :pointer, :bool ], :void ], # EAPI Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data); - [ :elm_multibuttonentry_item_prepend, [ :evas_object, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_multibuttonentry_item_prepend, [ :pointer, :string, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, Evas_Smart_Cb func, void *data); - [ :elm_multibuttonentry_item_append, [ :evas_object, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_multibuttonentry_item_append, [ :pointer, :string, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *label, Evas_Smart_Cb func, void *data); - [ :elm_multibuttonentry_item_insert_before, [ :evas_object, :elm_object_item, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_multibuttonentry_item_insert_before, [ :pointer, :elm_object_item, :string, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *label, Evas_Smart_Cb func, void *data); - [ :elm_multibuttonentry_item_insert_after, [ :evas_object, :elm_object_item, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_multibuttonentry_item_insert_after, [ :pointer, :elm_object_item, :string, :evas_smart_cb, :pointer ], :elm_object_item ], # EAPI const Eina_List *elm_multibuttonentry_items_get(const Evas_Object *obj); - [ :elm_multibuttonentry_items_get, [ :evas_object ], :eina_list ], + [ :elm_multibuttonentry_items_get, [ :pointer ], :eina_list ], # EAPI Elm_Object_Item *elm_multibuttonentry_first_item_get(const Evas_Object *obj); - [ :elm_multibuttonentry_first_item_get, [ :evas_object ], :elm_object_item ], + [ :elm_multibuttonentry_first_item_get, [ :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_multibuttonentry_last_item_get(const Evas_Object *obj); - [ :elm_multibuttonentry_last_item_get, [ :evas_object ], :elm_object_item ], + [ :elm_multibuttonentry_last_item_get, [ :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_multibuttonentry_selected_item_get(const Evas_Object *obj); - [ :elm_multibuttonentry_selected_item_get, [ :evas_object ], :elm_object_item ], + [ :elm_multibuttonentry_selected_item_get, [ :pointer ], :elm_object_item ], # EAPI void elm_multibuttonentry_item_selected_set(Elm_Object_Item *it, Eina_Bool selected); [ :elm_multibuttonentry_item_selected_set, [ :elm_object_item, :bool ], :void ], # EAPI Eina_Bool elm_multibuttonentry_item_selected_get(const Elm_Object_Item *it); [ :elm_multibuttonentry_item_selected_get, [ :elm_object_item ], :bool ], # EAPI void elm_multibuttonentry_clear(Evas_Object *obj); - [ :elm_multibuttonentry_clear, [ :evas_object ], :void ], + [ :elm_multibuttonentry_clear, [ :pointer ], :void ], # EAPI Elm_Object_Item *elm_multibuttonentry_item_prev_get(const Elm_Object_Item *it); [ :elm_multibuttonentry_item_prev_get, [ :elm_object_item ], :elm_object_item ], # EAPI Elm_Object_Item *elm_multibuttonentry_item_next_get(const Elm_Object_Item *it); [ :elm_multibuttonentry_item_next_get, [ :elm_object_item ], :elm_object_item ], # EAPI void elm_multibuttonentry_item_filter_append(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data); - [ :elm_multibuttonentry_item_filter_append, [ :evas_object, :elm_multibuttonentry_item_filter_cb, :pointer ], :void ], + [ :elm_multibuttonentry_item_filter_append, [ :pointer, :elm_multibuttonentry_item_filter_cb, :pointer ], :void ], # EAPI void elm_multibuttonentry_item_filter_prepend(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data); - [ :elm_multibuttonentry_item_filter_prepend, [ :evas_object, :elm_multibuttonentry_item_filter_cb, :pointer ], :void ], + [ :elm_multibuttonentry_item_filter_prepend, [ :pointer, :elm_multibuttonentry_item_filter_cb, :pointer ], :void ], # EAPI void elm_multibuttonentry_item_filter_remove(Evas_Object *obj, Elm_Multibuttonentry_Item_Filter_Cb func, void *data); - [ :elm_multibuttonentry_item_filter_remove, [ :evas_object, :elm_multibuttonentry_item_filter_cb, :pointer ], :void ], + [ :elm_multibuttonentry_item_filter_remove, [ :pointer, :elm_multibuttonentry_item_filter_cb, :pointer ], :void ], # EAPI void elm_multibuttonentry_editable_set(Evas_Object *obj, Eina_Bool editable); - [ :elm_multibuttonentry_editable_set, [ :evas_object, :bool ], :void ], + [ :elm_multibuttonentry_editable_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_multibuttonentry_editable_get(const Evas_Object *obj); - [ :elm_multibuttonentry_editable_get, [ :evas_object ], :bool ], + [ :elm_multibuttonentry_editable_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_naviframe.rb b/lib/efl/native/elm/elm_naviframe.rb index 7b400a0..0c45038 100644 --- a/lib/efl/native/elm/elm_naviframe.rb +++ b/lib/efl/native/elm/elm_naviframe.rb @@ -21,32 +21,18 @@ module Efl # ffi_lib 'elementary.so.1' # + # CALLBACKS + # typedef Eina_Bool (*Elm_Naviframe_Item_Pop_Cb) (void *data, Elm_Object_Item *it); + callback :elm_naviframe_item_pop_cb, [ :pointer, :elm_object_item ], :bool + # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_naviframe_add(Evas_Object *parent); - [ :elm_naviframe_add, [ :evas_object ], :evas_object ], - # EAPI Elm_Object_Item *elm_naviframe_item_push(Evas_Object *obj, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style); - [ :elm_naviframe_item_push, [ :evas_object, :string, :evas_object, :evas_object, :evas_object, :string ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_naviframe_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style); - [ :elm_naviframe_item_insert_before, [ :evas_object, :elm_object_item, :string, :evas_object, :evas_object, :evas_object, :string ], - :elm_object_item ], - # EAPI Elm_Object_Item *elm_naviframe_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style); - [ :elm_naviframe_item_insert_after, [ :evas_object, :elm_object_item, :string, :evas_object, :evas_object, :evas_object, :string ], - :elm_object_item ], - # EAPI Evas_Object *elm_naviframe_item_pop(Evas_Object *obj); - [ :elm_naviframe_item_pop, [ :evas_object ], :evas_object ], + [ :elm_naviframe_add, [ :pointer ], :pointer ], # EAPI void elm_naviframe_item_pop_to(Elm_Object_Item *it); [ :elm_naviframe_item_pop_to, [ :elm_object_item ], :void ], # EAPI void elm_naviframe_item_promote(Elm_Object_Item *it); [ :elm_naviframe_item_promote, [ :elm_object_item ], :void ], - # EAPI void elm_naviframe_content_preserve_on_pop_set(Evas_Object *obj, Eina_Bool preserve); - [ :elm_naviframe_content_preserve_on_pop_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_naviframe_content_preserve_on_pop_get(const Evas_Object *obj); - [ :elm_naviframe_content_preserve_on_pop_get, [ :evas_object ], :bool ], - # EAPI Elm_Object_Item *elm_naviframe_top_item_get(const Evas_Object *obj); - [ :elm_naviframe_top_item_get, [ :evas_object ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_naviframe_bottom_item_get(const Evas_Object *obj); - [ :elm_naviframe_bottom_item_get, [ :evas_object ], :elm_object_item ], # EAPI void elm_naviframe_item_style_set(Elm_Object_Item *it, const char *item_style); [ :elm_naviframe_item_style_set, [ :elm_object_item, :string ], :void ], # EAPI const char *elm_naviframe_item_style_get(const Elm_Object_Item *it); @@ -55,18 +41,36 @@ module Efl [ :elm_naviframe_item_title_visible_set, [ :elm_object_item, :bool ], :void ], # EAPI Eina_Bool elm_naviframe_item_title_visible_get(const Elm_Object_Item *it); [ :elm_naviframe_item_title_visible_get, [ :elm_object_item ], :bool ], + # EAPI void elm_naviframe_item_pop_cb_set(Elm_Object_Item *it, Elm_Naviframe_Item_Pop_Cb func, void *data); + [ :elm_naviframe_item_pop_cb_set, [ :elm_object_item, :elm_naviframe_item_pop_cb, :pointer ], :void ], + # EAPI Elm_Object_Item *elm_naviframe_item_push(Evas_Object *obj, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style); + [ :elm_naviframe_item_push, [ :pointer, :string, :pointer, :pointer, :pointer, :string ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_naviframe_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style); + [ :elm_naviframe_item_insert_before, [ :pointer, :elm_object_item, :string, :pointer, :pointer, :pointer, :string ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_naviframe_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *title_label, Evas_Object *prev_btn, Evas_Object *next_btn, Evas_Object *content, const char *item_style); + [ :elm_naviframe_item_insert_after, [ :pointer, :elm_object_item, :string, :pointer, :pointer, :pointer, :string ], :elm_object_item ], + # EAPI Evas_Object *elm_naviframe_item_pop(Evas_Object *obj); + [ :elm_naviframe_item_pop, [ :pointer ], :pointer ], + # EAPI void elm_naviframe_item_simple_promote(Evas_Object *obj, Evas_Object *content); + [ :elm_naviframe_item_simple_promote, [ :pointer, :pointer ], :void ], + # EAPI void elm_naviframe_content_preserve_on_pop_set(Evas_Object *obj, Eina_Bool preserve); + [ :elm_naviframe_content_preserve_on_pop_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_naviframe_content_preserve_on_pop_get(const Evas_Object *obj); + [ :elm_naviframe_content_preserve_on_pop_get, [ :pointer ], :bool ], + # EAPI Elm_Object_Item *elm_naviframe_top_item_get(const Evas_Object *obj); + [ :elm_naviframe_top_item_get, [ :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_naviframe_bottom_item_get(const Evas_Object *obj); + [ :elm_naviframe_bottom_item_get, [ :pointer ], :elm_object_item ], # EAPI void elm_naviframe_prev_btn_auto_pushed_set(Evas_Object *obj, Eina_Bool auto_pushed); - [ :elm_naviframe_prev_btn_auto_pushed_set, [ :evas_object, :bool ], :void ], + [ :elm_naviframe_prev_btn_auto_pushed_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_naviframe_prev_btn_auto_pushed_get(const Evas_Object *obj); - [ :elm_naviframe_prev_btn_auto_pushed_get, [ :evas_object ], :bool ], + [ :elm_naviframe_prev_btn_auto_pushed_get, [ :pointer ], :bool ], # EAPI Eina_List *elm_naviframe_items_get(const Evas_Object *obj); - [ :elm_naviframe_items_get, [ :evas_object ], :eina_list ], + [ :elm_naviframe_items_get, [ :pointer ], :eina_list ], # EAPI void elm_naviframe_event_enabled_set(Evas_Object *obj, Eina_Bool enabled); - [ :elm_naviframe_event_enabled_set, [ :evas_object, :bool ], :void ], + [ :elm_naviframe_event_enabled_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_naviframe_event_enabled_get(const Evas_Object *obj); - [ :elm_naviframe_event_enabled_get, [ :evas_object ], :bool ], - # EAPI void elm_naviframe_item_simple_promote(Evas_Object *obj, Evas_Object *content); - [ :elm_naviframe_item_simple_promote, [ :evas_object, :evas_object ], :void ], + [ :elm_naviframe_event_enabled_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_need.rb b/lib/efl/native/elm/elm_need.rb index 74de0e4..8b80d25 100644 --- a/lib/efl/native/elm/elm_need.rb +++ b/lib/efl/native/elm/elm_need.rb @@ -25,8 +25,16 @@ module Efl fcts = [ # EAPI Eina_Bool elm_need_efreet(void); [ :elm_need_efreet, [ ], :bool ], + # EAPI Eina_Bool elm_need_systray(void); + [ :elm_need_systray, [ ], :bool ], + # EAPI Eina_Bool elm_need_sys_notify(void); + [ :elm_need_sys_notify, [ ], :bool ], # EAPI Eina_Bool elm_need_e_dbus(void); [ :elm_need_e_dbus, [ ], :bool ], + # EAPI Eina_Bool elm_need_eldbus(void); + [ :elm_need_eldbus, [ ], :bool ], + # EAPI Eina_Bool elm_need_elocation(void); + [ :elm_need_elocation, [ ], :bool ], # EAPI Eina_Bool elm_need_ethumb(void); [ :elm_need_ethumb, [ ], :bool ], # EAPI Eina_Bool elm_need_web(void); diff --git a/lib/efl/native/elm/elm_notify.rb b/lib/efl/native/elm/elm_notify.rb index 0bf4f9f..7cfc8c4 100644 --- a/lib/efl/native/elm/elm_notify.rb +++ b/lib/efl/native/elm/elm_notify.rb @@ -21,32 +21,26 @@ module Efl # ffi_lib 'elementary.so.1' # - # ENUMS - # typedef enum {...} Elm_Notify_Orient; - enum :elm_notify_orient, [ :elm_notify_orient_top, :elm_notify_orient_center, :elm_notify_orient_bottom, :elm_notify_orient_left, - :elm_notify_orient_right, :elm_notify_orient_top_left, :elm_notify_orient_top_right, :elm_notify_orient_bottom_left, :elm_notify_orient_bottom_right, - :elm_notify_orient_last ] - # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_notify_add(Evas_Object *parent); - [ :elm_notify_add, [ :evas_object ], :evas_object ], + [ :elm_notify_add, [ :pointer ], :pointer ], # EAPI void elm_notify_parent_set(Evas_Object *obj, Evas_Object *parent); - [ :elm_notify_parent_set, [ :evas_object, :evas_object ], :void ], + [ :elm_notify_parent_set, [ :pointer, :pointer ], :void ], # EAPI Evas_Object *elm_notify_parent_get(const Evas_Object *obj); - [ :elm_notify_parent_get, [ :evas_object ], :evas_object ], - # EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient); - [ :elm_notify_orient_set, [ :evas_object, :elm_notify_orient ], :void ], - # EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj); - [ :elm_notify_orient_get, [ :evas_object ], :elm_notify_orient ], + [ :elm_notify_parent_get, [ :pointer ], :pointer ], # EAPI void elm_notify_timeout_set(Evas_Object *obj, double timeout); - [ :elm_notify_timeout_set, [ :evas_object, :double ], :void ], + [ :elm_notify_timeout_set, [ :pointer, :double ], :void ], # EAPI double elm_notify_timeout_get(const Evas_Object *obj); - [ :elm_notify_timeout_get, [ :evas_object ], :double ], + [ :elm_notify_timeout_get, [ :pointer ], :double ], # EAPI void elm_notify_allow_events_set(Evas_Object *obj, Eina_Bool allow); - [ :elm_notify_allow_events_set, [ :evas_object, :bool ], :void ], + [ :elm_notify_allow_events_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_notify_allow_events_get(const Evas_Object *obj); - [ :elm_notify_allow_events_get, [ :evas_object ], :bool ], + [ :elm_notify_allow_events_get, [ :pointer ], :bool ], + # EAPI void elm_notify_align_set(Evas_Object *obj, double horizontal, double vertical); + [ :elm_notify_align_set, [ :pointer, :double, :double ], :void ], + # EAPI void elm_notify_align_get(const Evas_Object *obj, double *horizontal, double *vertical); + [ :elm_notify_align_get, [ :pointer, :pointer, :pointer ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_object.rb b/lib/efl/native/elm/elm_object.rb index 38d4a74..8e636ed 100644 --- a/lib/efl/native/elm/elm_object.rb +++ b/lib/efl/native/elm/elm_object.rb @@ -25,45 +25,55 @@ module Efl # FUNCTIONS fcts = [ # EAPI void elm_object_part_text_set(Evas_Object *obj, const char *part, const char *text); - [ :elm_object_part_text_set, [ :evas_object, :string, :string ], :void ], + [ :elm_object_part_text_set, [ :pointer, :string, :string ], :void ], # EAPI const char *elm_object_part_text_get(const Evas_Object *obj, const char *part); - [ :elm_object_part_text_get, [ :evas_object, :string ], :string ], + [ :elm_object_part_text_get, [ :pointer, :string ], :string ], + # EAPI void elm_object_domain_translatable_part_text_set(Evas_Object *obj, const char *part, const char *domain, const char *text); + [ :elm_object_domain_translatable_part_text_set, [ :pointer, :string, :string, :string ], :void ], + # EAPI const char *elm_object_translatable_part_text_get(const Evas_Object *obj, const char *part); + [ :elm_object_translatable_part_text_get, [ :pointer, :string ], :string ], + # EAPI void elm_object_domain_part_text_translatable_set(Evas_Object *obj, const char *part, const char *domain, Eina_Bool translatable); + [ :elm_object_domain_part_text_translatable_set, [ :pointer, :string, :string, :bool ], :void ], # EAPI void elm_object_part_content_set(Evas_Object *obj, const char *part, Evas_Object *content); - [ :elm_object_part_content_set, [ :evas_object, :string, :evas_object ], :void ], + [ :elm_object_part_content_set, [ :pointer, :string, :pointer ], :void ], # EAPI Evas_Object *elm_object_part_content_get(const Evas_Object *obj, const char *part); - [ :elm_object_part_content_get, [ :evas_object, :string ], :evas_object ], + [ :elm_object_part_content_get, [ :pointer, :string ], :pointer ], # EAPI Evas_Object *elm_object_part_content_unset(Evas_Object *obj, const char *part); - [ :elm_object_part_content_unset, [ :evas_object, :string ], :evas_object ], + [ :elm_object_part_content_unset, [ :pointer, :string ], :pointer ], # EAPI void elm_object_access_info_set(Evas_Object *obj, const char *txt); - [ :elm_object_access_info_set, [ :evas_object, :string ], :void ], + [ :elm_object_access_info_set, [ :pointer, :string ], :void ], # EAPI Evas_Object *elm_object_name_find(const Evas_Object *obj, const char *name, int recurse); - [ :elm_object_name_find, [ :evas_object, :string, :int ], :evas_object ], + [ :elm_object_name_find, [ :pointer, :string, :int ], :pointer ], # EAPI Eina_Bool elm_object_style_set(Evas_Object *obj, const char *style); - [ :elm_object_style_set, [ :evas_object, :string ], :bool ], + [ :elm_object_style_set, [ :pointer, :string ], :bool ], # EAPI const char *elm_object_style_get(const Evas_Object *obj); - [ :elm_object_style_get, [ :evas_object ], :string ], + [ :elm_object_style_get, [ :pointer ], :string ], # EAPI void elm_object_disabled_set(Evas_Object *obj, Eina_Bool disabled); - [ :elm_object_disabled_set, [ :evas_object, :bool ], :void ], + [ :elm_object_disabled_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_object_disabled_get(const Evas_Object *obj); - [ :elm_object_disabled_get, [ :evas_object ], :bool ], + [ :elm_object_disabled_get, [ :pointer ], :bool ], # EAPI Eina_Bool elm_object_widget_check(const Evas_Object *obj); - [ :elm_object_widget_check, [ :evas_object ], :bool ], + [ :elm_object_widget_check, [ :pointer ], :bool ], # EAPI Evas_Object *elm_object_parent_widget_get(const Evas_Object *obj); - [ :elm_object_parent_widget_get, [ :evas_object ], :evas_object ], + [ :elm_object_parent_widget_get, [ :pointer ], :pointer ], # EAPI Evas_Object *elm_object_top_widget_get(const Evas_Object *obj); - [ :elm_object_top_widget_get, [ :evas_object ], :evas_object ], + [ :elm_object_top_widget_get, [ :pointer ], :pointer ], # EAPI const char *elm_object_widget_type_get(const Evas_Object *obj); - [ :elm_object_widget_type_get, [ :evas_object ], :string ], + [ :elm_object_widget_type_get, [ :pointer ], :string ], # EAPI void elm_object_signal_emit(Evas_Object *obj, const char *emission, const char *source); - [ :elm_object_signal_emit, [ :evas_object, :string, :string ], :void ], + [ :elm_object_signal_emit, [ :pointer, :string, :string ], :void ], # EAPI void elm_object_signal_callback_add(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data); - [ :elm_object_signal_callback_add, [ :evas_object, :string, :string, :edje_signal_cb, :pointer ], :void ], + [ :elm_object_signal_callback_add, [ :pointer, :string, :string, :edje_signal_cb, :pointer ], :void ], # EAPI void *elm_object_signal_callback_del(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func); - [ :elm_object_signal_callback_del, [ :evas_object, :string, :string, :edje_signal_cb ], :pointer ], + [ :elm_object_signal_callback_del, [ :pointer, :string, :string, :edje_signal_cb ], :pointer ], # EAPI void elm_object_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data); - [ :elm_object_event_callback_add, [ :evas_object, :elm_event_cb, :pointer ], :void ], + [ :elm_object_event_callback_add, [ :pointer, :elm_event_cb, :pointer ], :void ], # EAPI void *elm_object_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data); - [ :elm_object_event_callback_del, [ :evas_object, :elm_event_cb, :pointer ], :pointer ], + [ :elm_object_event_callback_del, [ :pointer, :elm_event_cb, :pointer ], :pointer ], + # EAPI void elm_object_orientation_mode_disabled_set(Evas_Object *obj, Eina_Bool disabled); + [ :elm_object_orientation_mode_disabled_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_object_orientation_mode_disabled_get(const Evas_Object *obj); + [ :elm_object_orientation_mode_disabled_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_object_item.rb b/lib/efl/native/elm/elm_object_item.rb index 4df32bf..10d6869 100644 --- a/lib/efl/native/elm/elm_object_item.rb +++ b/lib/efl/native/elm/elm_object_item.rb @@ -21,28 +21,58 @@ module Efl # ffi_lib 'elementary.so.1' # + # TYPEDEFS + # typedef struct _Elm_Object_Item Elm_Object_Item; + typedef :pointer, :elm_object_item + # + # CALLBACKS + # typedef void (*Elm_Object_Item_Signal_Cb) (void *data, Elm_Object_Item *it, const char *emission, const char *source); + callback :elm_object_item_signal_cb, [ :pointer, :elm_object_item, :string, :string ], :void + # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_object_item_widget_get(const Elm_Object_Item *it); - [ :elm_object_item_widget_get, [ :elm_object_item ], :evas_object ], + [ :elm_object_item_widget_get, [ :elm_object_item ], :pointer ], # EAPI void elm_object_item_part_content_set(Elm_Object_Item *it, const char *part, Evas_Object *content); - [ :elm_object_item_part_content_set, [ :elm_object_item, :string, :evas_object ], :void ], + [ :elm_object_item_part_content_set, [ :elm_object_item, :string, :pointer ], :void ], # EAPI Evas_Object *elm_object_item_part_content_get(const Elm_Object_Item *it, const char *part); - [ :elm_object_item_part_content_get, [ :elm_object_item, :string ], :evas_object ], + [ :elm_object_item_part_content_get, [ :elm_object_item, :string ], :pointer ], # EAPI Evas_Object *elm_object_item_part_content_unset(Elm_Object_Item *it, const char *part); - [ :elm_object_item_part_content_unset, [ :elm_object_item, :string ], :evas_object ], + [ :elm_object_item_part_content_unset, [ :elm_object_item, :string ], :pointer ], # EAPI void elm_object_item_part_text_set(Elm_Object_Item *it, const char *part, const char *label); [ :elm_object_item_part_text_set, [ :elm_object_item, :string, :string ], :void ], # EAPI const char *elm_object_item_part_text_get(const Elm_Object_Item *it, const char *part); [ :elm_object_item_part_text_get, [ :elm_object_item, :string ], :string ], + # EAPI void elm_object_item_domain_translatable_part_text_set(Elm_Object_Item *it, const char *part, const char *domain, const char *text); + [ :elm_object_item_domain_translatable_part_text_set, [ :elm_object_item, :string, :string, :string ], :void ], + # EAPI const char *elm_object_item_translatable_part_text_get(const Elm_Object_Item *it, const char *part); + [ :elm_object_item_translatable_part_text_get, [ :elm_object_item, :string ], :string ], + # EAPI void elm_object_item_domain_part_text_translatable_set(Elm_Object_Item *it, const char *part, const char *domain, Eina_Bool translatable); + [ :elm_object_item_domain_part_text_translatable_set, [ :elm_object_item, :string, :string, :bool ], :void ], # EAPI void elm_object_item_access_info_set(Elm_Object_Item *it, const char *txt); [ :elm_object_item_access_info_set, [ :elm_object_item, :string ], :void ], + # EAPI Evas_Object *elm_object_item_access_register(Elm_Object_Item *item); + [ :elm_object_item_access_register, [ :elm_object_item ], :pointer ], + # EAPI void elm_object_item_access_unregister(Elm_Object_Item *item); + [ :elm_object_item_access_unregister, [ :elm_object_item ], :void ], + # EAPI Evas_Object *elm_object_item_access_object_get(const Elm_Object_Item *item); + [ :elm_object_item_access_object_get, [ :elm_object_item ], :pointer ], + # EAPI void elm_object_item_access_order_set(Elm_Object_Item *item, Eina_List *objs); + [ :elm_object_item_access_order_set, [ :elm_object_item, :eina_list ], :void ], + # EAPI const Eina_List *elm_object_item_access_order_get(const Elm_Object_Item *item); + [ :elm_object_item_access_order_get, [ :elm_object_item ], :eina_list ], + # EAPI void elm_object_item_access_order_unset(Elm_Object_Item *item); + [ :elm_object_item_access_order_unset, [ :elm_object_item ], :void ], # EAPI void *elm_object_item_data_get(const Elm_Object_Item *it); [ :elm_object_item_data_get, [ :elm_object_item ], :pointer ], # EAPI void elm_object_item_data_set(Elm_Object_Item *it, void *data); [ :elm_object_item_data_set, [ :elm_object_item, :pointer ], :void ], # EAPI void elm_object_item_signal_emit(Elm_Object_Item *it, const char *emission, const char *source); [ :elm_object_item_signal_emit, [ :elm_object_item, :string, :string ], :void ], + # EAPI void elm_object_item_signal_callback_add(Elm_Object_Item *it, const char *emission, const char *source, Elm_Object_Item_Signal_Cb func, void *data); + [ :elm_object_item_signal_callback_add, [ :elm_object_item, :string, :string, :elm_object_item_signal_cb, :pointer ], :void ], + # EAPI void *elm_object_item_signal_callback_del(Elm_Object_Item *it, const char *emission, const char *source, Elm_Object_Item_Signal_Cb func); + [ :elm_object_item_signal_callback_del, [ :elm_object_item, :string, :string, :elm_object_item_signal_cb ], :pointer ], # EAPI void elm_object_item_disabled_set(Elm_Object_Item *it, Eina_Bool disabled); [ :elm_object_item_disabled_set, [ :elm_object_item, :bool ], :void ], # EAPI Eina_Bool elm_object_item_disabled_get(const Elm_Object_Item *it); @@ -79,6 +109,12 @@ module Efl [ :elm_object_item_cursor_engine_only_set, [ :elm_object_item, :bool ], :void ], # EAPI Eina_Bool elm_object_item_cursor_engine_only_get(const Elm_Object_Item *it); [ :elm_object_item_cursor_engine_only_get, [ :elm_object_item ], :bool ], + # EAPI Evas_Object *elm_object_item_track(Elm_Object_Item *it); + [ :elm_object_item_track, [ :elm_object_item ], :pointer ], + # EAPI void elm_object_item_untrack(Elm_Object_Item *it); + [ :elm_object_item_untrack, [ :elm_object_item ], :void ], + # EAPI int elm_object_item_track_get(const Elm_Object_Item *it); + [ :elm_object_item_track_get, [ :elm_object_item ], :int ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_panel.rb b/lib/efl/native/elm/elm_panel.rb index 4e12d28..989734e 100644 --- a/lib/efl/native/elm/elm_panel.rb +++ b/lib/efl/native/elm/elm_panel.rb @@ -28,17 +28,17 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_panel_add(Evas_Object *parent); - [ :elm_panel_add, [ :evas_object ], :evas_object ], + [ :elm_panel_add, [ :pointer ], :pointer ], # EAPI void elm_panel_orient_set(Evas_Object *obj, Elm_Panel_Orient orient); - [ :elm_panel_orient_set, [ :evas_object, :elm_panel_orient ], :void ], + [ :elm_panel_orient_set, [ :pointer, :elm_panel_orient ], :void ], # EAPI Elm_Panel_Orient elm_panel_orient_get(const Evas_Object *obj); - [ :elm_panel_orient_get, [ :evas_object ], :elm_panel_orient ], + [ :elm_panel_orient_get, [ :pointer ], :elm_panel_orient ], # EAPI void elm_panel_hidden_set(Evas_Object *obj, Eina_Bool hidden); - [ :elm_panel_hidden_set, [ :evas_object, :bool ], :void ], + [ :elm_panel_hidden_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_panel_hidden_get(const Evas_Object *obj); - [ :elm_panel_hidden_get, [ :evas_object ], :bool ], + [ :elm_panel_hidden_get, [ :pointer ], :bool ], # EAPI void elm_panel_toggle(Evas_Object *obj); - [ :elm_panel_toggle, [ :evas_object ], :void ], + [ :elm_panel_toggle, [ :pointer ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_panes.rb b/lib/efl/native/elm/elm_panes.rb index db62db5..13d5d78 100644 --- a/lib/efl/native/elm/elm_panes.rb +++ b/lib/efl/native/elm/elm_panes.rb @@ -24,23 +24,23 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_panes_add(Evas_Object *parent); - [ :elm_panes_add, [ :evas_object ], :evas_object ], - # EAPI void elm_panes_fixed_set(Evas_Object *obj, Eina_Bool fixed); - [ :elm_panes_fixed_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_panes_fixed_get(const Evas_Object *obj); - [ :elm_panes_fixed_get, [ :evas_object ], :bool ], + [ :elm_panes_add, [ :pointer ], :pointer ], # EAPI double elm_panes_content_left_size_get(const Evas_Object *obj); - [ :elm_panes_content_left_size_get, [ :evas_object ], :double ], + [ :elm_panes_content_left_size_get, [ :pointer ], :double ], # EAPI void elm_panes_content_left_size_set(Evas_Object *obj, double size); - [ :elm_panes_content_left_size_set, [ :evas_object, :double ], :void ], + [ :elm_panes_content_left_size_set, [ :pointer, :double ], :void ], # EAPI double elm_panes_content_right_size_get(const Evas_Object *obj); - [ :elm_panes_content_right_size_get, [ :evas_object ], :double ], + [ :elm_panes_content_right_size_get, [ :pointer ], :double ], # EAPI void elm_panes_content_right_size_set(Evas_Object *obj, double size); - [ :elm_panes_content_right_size_set, [ :evas_object, :double ], :void ], + [ :elm_panes_content_right_size_set, [ :pointer, :double ], :void ], # EAPI void elm_panes_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); - [ :elm_panes_horizontal_set, [ :evas_object, :bool ], :void ], + [ :elm_panes_horizontal_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_panes_horizontal_get(const Evas_Object *obj); - [ :elm_panes_horizontal_get, [ :evas_object ], :bool ], + [ :elm_panes_horizontal_get, [ :pointer ], :bool ], + # EAPI void elm_panes_fixed_set(Evas_Object *obj, Eina_Bool fixed); + [ :elm_panes_fixed_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_panes_fixed_get(const Evas_Object *obj); + [ :elm_panes_fixed_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_photo.rb b/lib/efl/native/elm/elm_photo.rb index b837d14..571b8c0 100644 --- a/lib/efl/native/elm/elm_photo.rb +++ b/lib/efl/native/elm/elm_photo.rb @@ -24,21 +24,21 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_photo_add(Evas_Object *parent); - [ :elm_photo_add, [ :evas_object ], :evas_object ], + [ :elm_photo_add, [ :pointer ], :pointer ], # EAPI Eina_Bool elm_photo_file_set(Evas_Object *obj, const char *file); - [ :elm_photo_file_set, [ :evas_object, :string ], :bool ], + [ :elm_photo_file_set, [ :pointer, :string ], :bool ], # EAPI void elm_photo_thumb_set(const Evas_Object *obj, const char *file, const char *group); - [ :elm_photo_thumb_set, [ :evas_object, :string, :string ], :void ], + [ :elm_photo_thumb_set, [ :pointer, :string, :string ], :void ], # EAPI void elm_photo_size_set(Evas_Object *obj, int size); - [ :elm_photo_size_set, [ :evas_object, :int ], :void ], + [ :elm_photo_size_set, [ :pointer, :int ], :void ], # EAPI void elm_photo_fill_inside_set(Evas_Object *obj, Eina_Bool fill); - [ :elm_photo_fill_inside_set, [ :evas_object, :bool ], :void ], + [ :elm_photo_fill_inside_set, [ :pointer, :bool ], :void ], # EAPI void elm_photo_editable_set(Evas_Object *obj, Eina_Bool set); - [ :elm_photo_editable_set, [ :evas_object, :bool ], :void ], + [ :elm_photo_editable_set, [ :pointer, :bool ], :void ], # EAPI void elm_photo_aspect_fixed_set(Evas_Object *obj, Eina_Bool fixed); - [ :elm_photo_aspect_fixed_set, [ :evas_object, :bool ], :void ], + [ :elm_photo_aspect_fixed_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_photo_aspect_fixed_get(const Evas_Object *obj); - [ :elm_photo_aspect_fixed_get, [ :evas_object ], :bool ], + [ :elm_photo_aspect_fixed_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_photocam.rb b/lib/efl/native/elm/elm_photocam.rb index def4676..a537a06 100644 --- a/lib/efl/native/elm/elm_photocam.rb +++ b/lib/efl/native/elm/elm_photocam.rb @@ -26,40 +26,46 @@ module Efl enum :elm_photocam_zoom_mode, [ :elm_photocam_zoom_mode_manual, 0, :elm_photocam_zoom_mode_auto_fit, 1, :elm_photocam_zoom_mode_auto_fill, 2, :elm_photocam_zoom_mode_auto_fit_in, 3, :elm_photocam_zoom_mode_last, 4 ] # + # TYPEDEFS + # typedef struct _Elm_Photocam_Progress Elm_Photocam_Progress; + typedef :pointer, :elm_photocam_progress + # typedef struct _Elm_Photocam_Error Elm_Photocam_Error; + typedef :pointer, :elm_photocam_error + # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_photocam_add(Evas_Object *parent); - [ :elm_photocam_add, [ :evas_object ], :evas_object ], + [ :elm_photocam_add, [ :pointer ], :pointer ], # EAPI Evas_Load_Error elm_photocam_file_set(Evas_Object *obj, const char *file); - [ :elm_photocam_file_set, [ :evas_object, :string ], :evas_load_error ], + [ :elm_photocam_file_set, [ :pointer, :string ], :evas_load_error ], # EAPI const char *elm_photocam_file_get(const Evas_Object *obj); - [ :elm_photocam_file_get, [ :evas_object ], :string ], + [ :elm_photocam_file_get, [ :pointer ], :string ], # EAPI void elm_photocam_zoom_set(Evas_Object *obj, double zoom); - [ :elm_photocam_zoom_set, [ :evas_object, :double ], :void ], + [ :elm_photocam_zoom_set, [ :pointer, :double ], :void ], # EAPI double elm_photocam_zoom_get(const Evas_Object *obj); - [ :elm_photocam_zoom_get, [ :evas_object ], :double ], + [ :elm_photocam_zoom_get, [ :pointer ], :double ], # EAPI void elm_photocam_zoom_mode_set(Evas_Object *obj, Elm_Photocam_Zoom_Mode mode); - [ :elm_photocam_zoom_mode_set, [ :evas_object, :elm_photocam_zoom_mode ], :void ], + [ :elm_photocam_zoom_mode_set, [ :pointer, :elm_photocam_zoom_mode ], :void ], # EAPI Elm_Photocam_Zoom_Mode elm_photocam_zoom_mode_get(const Evas_Object *obj); - [ :elm_photocam_zoom_mode_get, [ :evas_object ], :elm_photocam_zoom_mode ], + [ :elm_photocam_zoom_mode_get, [ :pointer ], :elm_photocam_zoom_mode ], # EAPI void elm_photocam_image_size_get(const Evas_Object *obj, int *w, int *h); - [ :elm_photocam_image_size_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_photocam_image_size_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_photocam_image_region_get(const Evas_Object *obj, int *x, int *y, int *w, int *h); - [ :elm_photocam_image_region_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ], + [ :elm_photocam_image_region_get, [ :pointer, :pointer, :pointer, :pointer, :pointer ], :void ], # EAPI void elm_photocam_image_region_show(Evas_Object *obj, int x, int y, int w, int h); - [ :elm_photocam_image_region_show, [ :evas_object, :int, :int, :int, :int ], :void ], + [ :elm_photocam_image_region_show, [ :pointer, :int, :int, :int, :int ], :void ], # EAPI void elm_photocam_image_region_bring_in(Evas_Object *obj, int x, int y, int w, int h); - [ :elm_photocam_image_region_bring_in, [ :evas_object, :int, :int, :int, :int ], :void ], + [ :elm_photocam_image_region_bring_in, [ :pointer, :int, :int, :int, :int ], :void ], # EAPI void elm_photocam_paused_set(Evas_Object *obj, Eina_Bool paused); - [ :elm_photocam_paused_set, [ :evas_object, :bool ], :void ], + [ :elm_photocam_paused_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_photocam_paused_get(const Evas_Object *obj); - [ :elm_photocam_paused_get, [ :evas_object ], :bool ], + [ :elm_photocam_paused_get, [ :pointer ], :bool ], # EAPI Evas_Object *elm_photocam_internal_image_get(const Evas_Object *obj); - [ :elm_photocam_internal_image_get, [ :evas_object ], :evas_object ], + [ :elm_photocam_internal_image_get, [ :pointer ], :pointer ], # EAPI void elm_photocam_gesture_enabled_set(Evas_Object *obj, Eina_Bool gesture); - [ :elm_photocam_gesture_enabled_set, [ :evas_object, :bool ], :void ], + [ :elm_photocam_gesture_enabled_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_photocam_gesture_enabled_get(const Evas_Object *obj); - [ :elm_photocam_gesture_enabled_get, [ :evas_object ], :bool ], + [ :elm_photocam_gesture_enabled_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_plug.rb b/lib/efl/native/elm/elm_plug.rb index 780f29a..5511fda 100644 --- a/lib/efl/native/elm/elm_plug.rb +++ b/lib/efl/native/elm/elm_plug.rb @@ -24,11 +24,11 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_plug_add(Evas_Object *parent); - [ :elm_plug_add, [ :evas_object ], :evas_object ], - # EAPI Eina_Bool elm_plug_connect(Evas_Object *obj, const char *svcname, int svcnum, Eina_Bool svcsys); - [ :elm_plug_connect, [ :evas_object, :string, :int, :bool ], :bool ], + [ :elm_plug_add, [ :pointer ], :pointer ], # EAPI Evas_Object *elm_plug_image_object_get(const Evas_Object *obj); - [ :elm_plug_image_object_get, [ :evas_object ], :evas_object ], + [ :elm_plug_image_object_get, [ :pointer ], :pointer ], + # EAPI Eina_Bool elm_plug_connect(Evas_Object *obj, const char *svcname, int svcnum, Eina_Bool svcsys); + [ :elm_plug_connect, [ :pointer, :string, :int, :bool ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_popup.rb b/lib/efl/native/elm/elm_popup.rb index fa2f174..f62f97d 100644 --- a/lib/efl/native/elm/elm_popup.rb +++ b/lib/efl/native/elm/elm_popup.rb @@ -31,25 +31,29 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_popup_add(Evas_Object *parent); - [ :elm_popup_add, [ :evas_object ], :evas_object ], - # EAPI Elm_Object_Item *elm_popup_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data); - [ :elm_popup_item_append, [ :evas_object, :string, :evas_object, :evas_smart_cb, :pointer ], :elm_object_item ], + [ :elm_popup_add, [ :pointer ], :pointer ], # EAPI void elm_popup_content_text_wrap_type_set(Evas_Object *obj, Elm_Wrap_Type wrap); - [ :elm_popup_content_text_wrap_type_set, [ :evas_object, :elm_wrap_type ], :void ], + [ :elm_popup_content_text_wrap_type_set, [ :pointer, :elm_wrap_type ], :void ], # EAPI Elm_Wrap_Type elm_popup_content_text_wrap_type_get(const Evas_Object *obj); - [ :elm_popup_content_text_wrap_type_get, [ :evas_object ], :elm_wrap_type ], + [ :elm_popup_content_text_wrap_type_get, [ :pointer ], :elm_wrap_type ], # EAPI void elm_popup_orient_set(Evas_Object *obj, Elm_Popup_Orient orient); - [ :elm_popup_orient_set, [ :evas_object, :elm_popup_orient ], :void ], + [ :elm_popup_orient_set, [ :pointer, :elm_popup_orient ], :void ], # EAPI Elm_Popup_Orient elm_popup_orient_get(const Evas_Object *obj); - [ :elm_popup_orient_get, [ :evas_object ], :elm_popup_orient ], + [ :elm_popup_orient_get, [ :pointer ], :elm_popup_orient ], # EAPI void elm_popup_timeout_set(Evas_Object *obj, double timeout); - [ :elm_popup_timeout_set, [ :evas_object, :double ], :void ], + [ :elm_popup_timeout_set, [ :pointer, :double ], :void ], # EAPI double elm_popup_timeout_get(const Evas_Object *obj); - [ :elm_popup_timeout_get, [ :evas_object ], :double ], + [ :elm_popup_timeout_get, [ :pointer ], :double ], # EAPI void elm_popup_allow_events_set(Evas_Object *obj, Eina_Bool allow); - [ :elm_popup_allow_events_set, [ :evas_object, :bool ], :void ], + [ :elm_popup_allow_events_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_popup_allow_events_get(const Evas_Object *obj); - [ :elm_popup_allow_events_get, [ :evas_object ], :bool ], + [ :elm_popup_allow_events_get, [ :pointer ], :bool ], + # EAPI Elm_Object_Item *elm_popup_item_append(Evas_Object *obj, const char *label, Evas_Object *icon, Evas_Smart_Cb func, const void *data); + [ :elm_popup_item_append, [ :pointer, :string, :pointer, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI void elm_popup_align_set(Evas_Object *obj, double horizontal, double vertical); + [ :elm_popup_align_set, [ :pointer, :double, :double ], :void ], + # EAPI void elm_popup_align_get(const Evas_Object *obj, double *horizontal, double *vertical); + [ :elm_popup_align_get, [ :pointer, :pointer, :pointer ], :void ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_progressbar.rb b/lib/efl/native/elm/elm_progressbar.rb index b44d7d0..32dd44a 100644 --- a/lib/efl/native/elm/elm_progressbar.rb +++ b/lib/efl/native/elm/elm_progressbar.rb @@ -24,35 +24,39 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_progressbar_add(Evas_Object *parent); - [ :elm_progressbar_add, [ :evas_object ], :evas_object ], + [ :elm_progressbar_add, [ :pointer ], :pointer ], # EAPI void elm_progressbar_pulse_set(Evas_Object *obj, Eina_Bool pulse); - [ :elm_progressbar_pulse_set, [ :evas_object, :bool ], :void ], + [ :elm_progressbar_pulse_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_progressbar_pulse_get(const Evas_Object *obj); - [ :elm_progressbar_pulse_get, [ :evas_object ], :bool ], + [ :elm_progressbar_pulse_get, [ :pointer ], :bool ], # EAPI void elm_progressbar_pulse(Evas_Object *obj, Eina_Bool state); - [ :elm_progressbar_pulse, [ :evas_object, :bool ], :void ], + [ :elm_progressbar_pulse, [ :pointer, :bool ], :void ], # EAPI void elm_progressbar_value_set(Evas_Object *obj, double val); - [ :elm_progressbar_value_set, [ :evas_object, :double ], :void ], + [ :elm_progressbar_value_set, [ :pointer, :double ], :void ], # EAPI double elm_progressbar_value_get(const Evas_Object *obj); - [ :elm_progressbar_value_get, [ :evas_object ], :double ], + [ :elm_progressbar_value_get, [ :pointer ], :double ], # EAPI void elm_progressbar_span_size_set(Evas_Object *obj, Evas_Coord size); - [ :elm_progressbar_span_size_set, [ :evas_object, :int ], :void ], + [ :elm_progressbar_span_size_set, [ :pointer, :int ], :void ], # EAPI Evas_Coord elm_progressbar_span_size_get(const Evas_Object *obj); - [ :elm_progressbar_span_size_get, [ :evas_object ], :int ], + [ :elm_progressbar_span_size_get, [ :pointer ], :int ], # EAPI void elm_progressbar_unit_format_set(Evas_Object *obj, const char *format); - [ :elm_progressbar_unit_format_set, [ :evas_object, :string ], :void ], + [ :elm_progressbar_unit_format_set, [ :pointer, :string ], :void ], # EAPI const char *elm_progressbar_unit_format_get(const Evas_Object *obj); - [ :elm_progressbar_unit_format_get, [ :evas_object ], :string ], + [ :elm_progressbar_unit_format_get, [ :pointer ], :string ], # EAPI void elm_progressbar_unit_format_function_set(Evas_Object *obj, char *(func)(double), void (*free_func) (char *)); - [ :elm_progressbar_unit_format_function_set, [ :evas_object, ( callback [:double], :string ), (callback [:string], :void) ], :void ], + # FIXME # EAPI void elm_progressbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); - [ :elm_progressbar_horizontal_set, [ :evas_object, :bool ], :void ], + [ :elm_progressbar_horizontal_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_progressbar_horizontal_get(const Evas_Object *obj); - [ :elm_progressbar_horizontal_get, [ :evas_object ], :bool ], + [ :elm_progressbar_horizontal_get, [ :pointer ], :bool ], # EAPI void elm_progressbar_inverted_set(Evas_Object *obj, Eina_Bool inverted); - [ :elm_progressbar_inverted_set, [ :evas_object, :bool ], :void ], + [ :elm_progressbar_inverted_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_progressbar_inverted_get(const Evas_Object *obj); - [ :elm_progressbar_inverted_get, [ :evas_object ], :bool ], + [ :elm_progressbar_inverted_get, [ :pointer ], :bool ], + # EAPI void elm_progressbar_part_value_set(Evas_Object *obj, const char *part, double val); + [ :elm_progressbar_part_value_set, [ :pointer, :string, :double ], :void ], + # EAPI double elm_progressbar_part_value_get(const Evas_Object *obj, const char *part); + [ :elm_progressbar_part_value_get, [ :pointer, :string ], :double ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_radio.rb b/lib/efl/native/elm/elm_radio.rb index 9e85084..5f47966 100644 --- a/lib/efl/native/elm/elm_radio.rb +++ b/lib/efl/native/elm/elm_radio.rb @@ -24,21 +24,21 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_radio_add(Evas_Object *parent); - [ :elm_radio_add, [ :evas_object ], :evas_object ], + [ :elm_radio_add, [ :pointer ], :pointer ], # EAPI void elm_radio_group_add(Evas_Object *obj, Evas_Object *group); - [ :elm_radio_group_add, [ :evas_object, :evas_object ], :void ], + [ :elm_radio_group_add, [ :pointer, :pointer ], :void ], # EAPI void elm_radio_state_value_set(Evas_Object *obj, int value); - [ :elm_radio_state_value_set, [ :evas_object, :int ], :void ], + [ :elm_radio_state_value_set, [ :pointer, :int ], :void ], # EAPI int elm_radio_state_value_get(const Evas_Object *obj); - [ :elm_radio_state_value_get, [ :evas_object ], :int ], + [ :elm_radio_state_value_get, [ :pointer ], :int ], # EAPI void elm_radio_value_set(Evas_Object *obj, int value); - [ :elm_radio_value_set, [ :evas_object, :int ], :void ], + [ :elm_radio_value_set, [ :pointer, :int ], :void ], # EAPI int elm_radio_value_get(const Evas_Object *obj); - [ :elm_radio_value_get, [ :evas_object ], :int ], + [ :elm_radio_value_get, [ :pointer ], :int ], # EAPI void elm_radio_value_pointer_set(Evas_Object *obj, int *valuep); - [ :elm_radio_value_pointer_set, [ :evas_object, :pointer ], :void ], + [ :elm_radio_value_pointer_set, [ :pointer, :pointer ], :void ], # EAPI Evas_Object *elm_radio_selected_object_get(Evas_Object *obj); - [ :elm_radio_selected_object_get, [ :evas_object ], :evas_object ], + [ :elm_radio_selected_object_get, [ :pointer ], :pointer ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_scale.rb b/lib/efl/native/elm/elm_scale.rb index dd9f86f..f299d1f 100644 --- a/lib/efl/native/elm/elm_scale.rb +++ b/lib/efl/native/elm/elm_scale.rb @@ -24,9 +24,9 @@ module Efl # FUNCTIONS fcts = [ # EAPI void elm_object_scale_set(Evas_Object *obj, double scale); - [ :elm_object_scale_set, [ :evas_object, :double ], :void ], + [ :elm_object_scale_set, [ :pointer, :double ], :void ], # EAPI double elm_object_scale_get(const Evas_Object *obj); - [ :elm_object_scale_get, [ :evas_object ], :double ], + [ :elm_object_scale_get, [ :pointer ], :double ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_scroll.rb b/lib/efl/native/elm/elm_scroll.rb index fd12c41..ed4f689 100644 --- a/lib/efl/native/elm/elm_scroll.rb +++ b/lib/efl/native/elm/elm_scroll.rb @@ -24,25 +24,25 @@ module Efl # FUNCTIONS fcts = [ # EAPI void elm_object_scroll_hold_push(Evas_Object *obj); - [ :elm_object_scroll_hold_push, [ :evas_object ], :void ], + [ :elm_object_scroll_hold_push, [ :pointer ], :void ], # EAPI void elm_object_scroll_hold_pop(Evas_Object *obj); - [ :elm_object_scroll_hold_pop, [ :evas_object ], :void ], + [ :elm_object_scroll_hold_pop, [ :pointer ], :void ], # EAPI int elm_object_scroll_hold_get(const Evas_Object *obj); - [ :elm_object_scroll_hold_get, [ :evas_object ], :int ], + [ :elm_object_scroll_hold_get, [ :pointer ], :int ], # EAPI void elm_object_scroll_freeze_push(Evas_Object *obj); - [ :elm_object_scroll_freeze_push, [ :evas_object ], :void ], + [ :elm_object_scroll_freeze_push, [ :pointer ], :void ], # EAPI void elm_object_scroll_freeze_pop(Evas_Object *obj); - [ :elm_object_scroll_freeze_pop, [ :evas_object ], :void ], + [ :elm_object_scroll_freeze_pop, [ :pointer ], :void ], # EAPI int elm_object_scroll_freeze_get(const Evas_Object *obj); - [ :elm_object_scroll_freeze_get, [ :evas_object ], :int ], + [ :elm_object_scroll_freeze_get, [ :pointer ], :int ], # EAPI void elm_object_scroll_lock_x_set(Evas_Object *obj, Eina_Bool lock); - [ :elm_object_scroll_lock_x_set, [ :evas_object, :bool ], :void ], + [ :elm_object_scroll_lock_x_set, [ :pointer, :bool ], :void ], # EAPI void elm_object_scroll_lock_y_set(Evas_Object *obj, Eina_Bool lock); - [ :elm_object_scroll_lock_y_set, [ :evas_object, :bool ], :void ], + [ :elm_object_scroll_lock_y_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_object_scroll_lock_x_get(const Evas_Object *obj); - [ :elm_object_scroll_lock_x_get, [ :evas_object ], :bool ], + [ :elm_object_scroll_lock_x_get, [ :pointer ], :bool ], # EAPI Eina_Bool elm_object_scroll_lock_y_get(const Evas_Object *obj); - [ :elm_object_scroll_lock_y_get, [ :evas_object ], :bool ], + [ :elm_object_scroll_lock_y_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_scroller.rb b/lib/efl/native/elm/elm_scroller.rb index 18550a8..c5d0911 100644 --- a/lib/efl/native/elm/elm_scroller.rb +++ b/lib/efl/native/elm/elm_scroller.rb @@ -25,53 +25,75 @@ module Efl # typedef enum {...} Elm_Scroller_Policy; enum :elm_scroller_policy, [ :elm_scroller_policy_auto, 0, :elm_scroller_policy_on, 1, :elm_scroller_policy_off, 2, :elm_scroller_policy_last, 3 ] + # typedef enum {...} Elm_Scroller_Single_Direction; + enum :elm_scroller_single_direction, [ :elm_scroller_single_direction_none, 0, :elm_scroller_single_direction_soft, 1, + :elm_scroller_single_direction_hard, 2, :elm_scroller_single_direction_last, 3 ] + # typedef enum {...} Elm_Scroller_Movement_Block; + enum :elm_scroller_movement_block, [ :elm_scroller_movement_no_block, 1<<0, :elm_scroller_movement_block_vertical, 1<<1, + :elm_scroller_movement_block_horizontal, 1<<2 ] # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_scroller_add(Evas_Object *parent); - [ :elm_scroller_add, [ :evas_object ], :evas_object ], + [ :elm_scroller_add, [ :pointer ], :pointer ], # EAPI void elm_scroller_content_min_limit(Evas_Object *obj, Eina_Bool w, Eina_Bool h); - [ :elm_scroller_content_min_limit, [ :evas_object, :bool, :bool ], :void ], + [ :elm_scroller_content_min_limit, [ :pointer, :bool, :bool ], :void ], # EAPI void elm_scroller_region_show(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); - [ :elm_scroller_region_show, [ :evas_object, :int, :int, :int, :int ], :void ], + [ :elm_scroller_region_show, [ :pointer, :int, :int, :int, :int ], :void ], # EAPI void elm_scroller_policy_set(Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v); - [ :elm_scroller_policy_set, [ :evas_object, :elm_scroller_policy, :elm_scroller_policy ], :void ], + [ :elm_scroller_policy_set, [ :pointer, :elm_scroller_policy, :elm_scroller_policy ], :void ], # EAPI void elm_scroller_policy_get(const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v); - [ :elm_scroller_policy_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_scroller_policy_get, [ :pointer, :pointer, :pointer ], :void ], + # EAPI void elm_scroller_single_direction_set(Evas_Object *obj, Elm_Scroller_Single_Direction single_dir); + [ :elm_scroller_single_direction_set, [ :pointer, :elm_scroller_single_direction ], :void ], + # EAPI Elm_Scroller_Single_Direction elm_scroller_single_direction_get(const Evas_Object *obj); + [ :elm_scroller_single_direction_get, [ :pointer ], :elm_scroller_single_direction ], # EAPI void elm_scroller_region_get(const Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); - [ :elm_scroller_region_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ], + [ :elm_scroller_region_get, [ :pointer, :pointer, :pointer, :pointer, :pointer ], :void ], # EAPI void elm_scroller_child_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); - [ :elm_scroller_child_size_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_scroller_child_size_get, [ :pointer, :pointer, :pointer ], :void ], + # EAPI void elm_scroller_page_snap_set(Evas_Object *obj, Eina_Bool page_h_snap, Eina_Bool page_v_snap); + [ :elm_scroller_page_snap_set, [ :pointer, :bool, :bool ], :void ], + # EAPI void elm_scroller_page_snap_get(const Evas_Object *obj, Eina_Bool *page_h_snap, Eina_Bool *page_v_snap); + [ :elm_scroller_page_snap_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_scroller_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce); - [ :elm_scroller_bounce_set, [ :evas_object, :bool, :bool ], :void ], + [ :elm_scroller_bounce_set, [ :pointer, :bool, :bool ], :void ], # EAPI void elm_scroller_bounce_get(const Evas_Object *obj, Eina_Bool *h_bounce, Eina_Bool *v_bounce); - [ :elm_scroller_bounce_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_scroller_bounce_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_scroller_page_relative_set(Evas_Object *obj, double h_pagerel, double v_pagerel); - [ :elm_scroller_page_relative_set, [ :evas_object, :double, :double ], :void ], + [ :elm_scroller_page_relative_set, [ :pointer, :double, :double ], :void ], # EAPI void elm_scroller_page_relative_get(const Evas_Object *obj, double *h_pagerel, double *v_pagerel); - [ :elm_scroller_page_relative_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_scroller_page_relative_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_scroller_page_size_set(Evas_Object *obj, Evas_Coord h_pagesize, Evas_Coord v_pagesize); - [ :elm_scroller_page_size_set, [ :evas_object, :int, :int ], :void ], + [ :elm_scroller_page_size_set, [ :pointer, :int, :int ], :void ], # EAPI void elm_scroller_page_size_get(const Evas_Object *obj, Evas_Coord *h_pagesize, Evas_Coord *v_pagesize); - [ :elm_scroller_page_size_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_scroller_page_size_get, [ :pointer, :pointer, :pointer ], :void ], + # EAPI void elm_scroller_page_scroll_limit_set(const Evas_Object *obj, Evas_Coord page_limit_h, Evas_Coord page_limit_v); + [ :elm_scroller_page_scroll_limit_set, [ :pointer, :int, :int ], :void ], + # EAPI void elm_scroller_page_scroll_limit_get(const Evas_Object *obj, Evas_Coord *page_limit_h, Evas_Coord *page_limit_v); + [ :elm_scroller_page_scroll_limit_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_scroller_current_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber); - [ :elm_scroller_current_page_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_scroller_current_page_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_scroller_last_page_get(const Evas_Object *obj, int *h_pagenumber, int *v_pagenumber); - [ :elm_scroller_last_page_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_scroller_last_page_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_scroller_page_show(Evas_Object *obj, int h_pagenumber, int v_pagenumber); - [ :elm_scroller_page_show, [ :evas_object, :int, :int ], :void ], + [ :elm_scroller_page_show, [ :pointer, :int, :int ], :void ], # EAPI void elm_scroller_page_bring_in(Evas_Object *obj, int h_pagenumber, int v_pagenumber); - [ :elm_scroller_page_bring_in, [ :evas_object, :int, :int ], :void ], + [ :elm_scroller_page_bring_in, [ :pointer, :int, :int ], :void ], # EAPI void elm_scroller_region_bring_in(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); - [ :elm_scroller_region_bring_in, [ :evas_object, :int, :int, :int, :int ], :void ], + [ :elm_scroller_region_bring_in, [ :pointer, :int, :int, :int, :int ], :void ], # EAPI void elm_scroller_propagate_events_set(Evas_Object *obj, Eina_Bool propagation); - [ :elm_scroller_propagate_events_set, [ :evas_object, :bool ], :void ], + [ :elm_scroller_propagate_events_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_scroller_propagate_events_get(const Evas_Object *obj); - [ :elm_scroller_propagate_events_get, [ :evas_object ], :bool ], + [ :elm_scroller_propagate_events_get, [ :pointer ], :bool ], # EAPI void elm_scroller_gravity_set(Evas_Object *obj, double x, double y); - [ :elm_scroller_gravity_set, [ :evas_object, :double, :double ], :void ], + [ :elm_scroller_gravity_set, [ :pointer, :double, :double ], :void ], # EAPI void elm_scroller_gravity_get(const Evas_Object *obj, double *x, double *y); - [ :elm_scroller_gravity_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_scroller_gravity_get, [ :pointer, :pointer, :pointer ], :void ], + # EAPI void elm_scroller_movement_block_set(Evas_Object *obj, Elm_Scroller_Movement_Block block); + [ :elm_scroller_movement_block_set, [ :pointer, :elm_scroller_movement_block ], :void ], + # EAPI Elm_Scroller_Movement_Block elm_scroller_movement_block_get(const Evas_Object *obj); + [ :elm_scroller_movement_block_get, [ :pointer ], :elm_scroller_movement_block ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_segment_control.rb b/lib/efl/native/elm/elm_segment_control.rb index ce6c301..56e584d 100644 --- a/lib/efl/native/elm/elm_segment_control.rb +++ b/lib/efl/native/elm/elm_segment_control.rb @@ -23,30 +23,30 @@ module Efl # # FUNCTIONS fcts = [ + # EAPI int elm_segment_control_item_index_get(const Elm_Object_Item *it); + [ :elm_segment_control_item_index_get, [ :elm_object_item ], :int ], + # EAPI Evas_Object *elm_segment_control_item_object_get(const Elm_Object_Item *it); + [ :elm_segment_control_item_object_get, [ :elm_object_item ], :pointer ], + # EAPI void elm_segment_control_item_selected_set(Elm_Object_Item *it, Eina_Bool select); + [ :elm_segment_control_item_selected_set, [ :elm_object_item, :bool ], :void ], # EAPI Evas_Object *elm_segment_control_add(Evas_Object *parent); - [ :elm_segment_control_add, [ :evas_object ], :evas_object ], + [ :elm_segment_control_add, [ :pointer ], :pointer ], # EAPI Elm_Object_Item *elm_segment_control_item_add(Evas_Object *obj, Evas_Object *icon, const char *label); - [ :elm_segment_control_item_add, [ :evas_object, :evas_object, :string ], :elm_object_item ], + [ :elm_segment_control_item_add, [ :pointer, :pointer, :string ], :elm_object_item ], # EAPI Elm_Object_Item *elm_segment_control_item_insert_at(Evas_Object *obj, Evas_Object *icon, const char *label, int index); - [ :elm_segment_control_item_insert_at, [ :evas_object, :evas_object, :string, :int ], :elm_object_item ], + [ :elm_segment_control_item_insert_at, [ :pointer, :pointer, :string, :int ], :elm_object_item ], # EAPI void elm_segment_control_item_del_at(Evas_Object *obj, int index); - [ :elm_segment_control_item_del_at, [ :evas_object, :int ], :void ], - # EAPI int elm_segment_control_item_count_get(const Evas_Object *obj); - [ :elm_segment_control_item_count_get, [ :evas_object ], :int ], - # EAPI Elm_Object_Item *elm_segment_control_item_get(const Evas_Object *obj, int index); - [ :elm_segment_control_item_get, [ :evas_object, :int ], :elm_object_item ], + [ :elm_segment_control_item_del_at, [ :pointer, :int ], :void ], # EAPI const char *elm_segment_control_item_label_get(const Evas_Object *obj, int index); - [ :elm_segment_control_item_label_get, [ :evas_object, :int ], :string ], + [ :elm_segment_control_item_label_get, [ :pointer, :int ], :string ], # EAPI Evas_Object *elm_segment_control_item_icon_get(const Evas_Object *obj, int index); - [ :elm_segment_control_item_icon_get, [ :evas_object, :int ], :evas_object ], - # EAPI int elm_segment_control_item_index_get(const Elm_Object_Item *it); - [ :elm_segment_control_item_index_get, [ :elm_object_item ], :int ], - # EAPI Evas_Object *elm_segment_control_item_object_get(const Elm_Object_Item *it); - [ :elm_segment_control_item_object_get, [ :elm_object_item ], :evas_object ], + [ :elm_segment_control_item_icon_get, [ :pointer, :int ], :pointer ], + # EAPI int elm_segment_control_item_count_get(const Evas_Object *obj); + [ :elm_segment_control_item_count_get, [ :pointer ], :int ], # EAPI Elm_Object_Item *elm_segment_control_item_selected_get(const Evas_Object *obj); - [ :elm_segment_control_item_selected_get, [ :evas_object ], :elm_object_item ], - # EAPI void elm_segment_control_item_selected_set(Elm_Object_Item *it, Eina_Bool select); - [ :elm_segment_control_item_selected_set, [ :elm_object_item, :bool ], :void ], + [ :elm_segment_control_item_selected_get, [ :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_segment_control_item_get(const Evas_Object *obj, int index); + [ :elm_segment_control_item_get, [ :pointer, :int ], :elm_object_item ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_separator.rb b/lib/efl/native/elm/elm_separator.rb index a22ecdd..bde2ce8 100644 --- a/lib/efl/native/elm/elm_separator.rb +++ b/lib/efl/native/elm/elm_separator.rb @@ -24,11 +24,11 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_separator_add(Evas_Object *parent); - [ :elm_separator_add, [ :evas_object ], :evas_object ], + [ :elm_separator_add, [ :pointer ], :pointer ], # EAPI void elm_separator_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); - [ :elm_separator_horizontal_set, [ :evas_object, :bool ], :void ], + [ :elm_separator_horizontal_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_separator_horizontal_get(const Evas_Object *obj); - [ :elm_separator_horizontal_get, [ :evas_object ], :bool ], + [ :elm_separator_horizontal_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_slider.rb b/lib/efl/native/elm/elm_slider.rb index 1dfa22c..2fda64a 100644 --- a/lib/efl/native/elm/elm_slider.rb +++ b/lib/efl/native/elm/elm_slider.rb @@ -24,43 +24,51 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_slider_add(Evas_Object *parent); - [ :elm_slider_add, [ :evas_object ], :evas_object ], + [ :elm_slider_add, [ :pointer ], :pointer ], # EAPI void elm_slider_span_size_set(Evas_Object *obj, Evas_Coord size); - [ :elm_slider_span_size_set, [ :evas_object, :int ], :void ], + [ :elm_slider_span_size_set, [ :pointer, :int ], :void ], # EAPI Evas_Coord elm_slider_span_size_get(const Evas_Object *obj); - [ :elm_slider_span_size_get, [ :evas_object ], :int ], + [ :elm_slider_span_size_get, [ :pointer ], :int ], # EAPI void elm_slider_unit_format_set(Evas_Object *obj, const char *format); - [ :elm_slider_unit_format_set, [ :evas_object, :string ], :void ], + [ :elm_slider_unit_format_set, [ :pointer, :string ], :void ], # EAPI const char *elm_slider_unit_format_get(const Evas_Object *obj); - [ :elm_slider_unit_format_get, [ :evas_object ], :string ], + [ :elm_slider_unit_format_get, [ :pointer ], :string ], # EAPI void elm_slider_indicator_format_set(Evas_Object *obj, const char *indicator); - [ :elm_slider_indicator_format_set, [ :evas_object, :string ], :void ], + [ :elm_slider_indicator_format_set, [ :pointer, :string ], :void ], # EAPI const char *elm_slider_indicator_format_get(const Evas_Object *obj); - [ :elm_slider_indicator_format_get, [ :evas_object ], :string ], - # EAPI void elm_slider_indicator_format_function_set(Evas_Object *obj, char *(*func)(double val), void (*free_func)(char *str)); - [ :elm_slider_indicator_format_function_set, [ :evas_object, ( callback [:double], :string ), (callback [:string], :void) ], :void ], - # EAPI void elm_slider_units_format_function_set(Evas_Object *obj, char *(*func)(double val), void (*free_func)(char *str)); - [ :elm_slider_units_format_function_set, [ :evas_object, (callback [:double], :string), (callback [:string], :void) ], :void ], + [ :elm_slider_indicator_format_get, [ :pointer ], :string ], # EAPI void elm_slider_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); - [ :elm_slider_horizontal_set, [ :evas_object, :bool ], :void ], + [ :elm_slider_horizontal_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_slider_horizontal_get(const Evas_Object *obj); - [ :elm_slider_horizontal_get, [ :evas_object ], :bool ], + [ :elm_slider_horizontal_get, [ :pointer ], :bool ], # EAPI void elm_slider_min_max_set(Evas_Object *obj, double min, double max); - [ :elm_slider_min_max_set, [ :evas_object, :double, :double ], :void ], + [ :elm_slider_min_max_set, [ :pointer, :double, :double ], :void ], # EAPI void elm_slider_min_max_get(const Evas_Object *obj, double *min, double *max); - [ :elm_slider_min_max_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_slider_min_max_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_slider_value_set(Evas_Object *obj, double val); - [ :elm_slider_value_set, [ :evas_object, :double ], :void ], + [ :elm_slider_value_set, [ :pointer, :double ], :void ], # EAPI double elm_slider_value_get(const Evas_Object *obj); - [ :elm_slider_value_get, [ :evas_object ], :double ], + [ :elm_slider_value_get, [ :pointer ], :double ], # EAPI void elm_slider_inverted_set(Evas_Object *obj, Eina_Bool inverted); - [ :elm_slider_inverted_set, [ :evas_object, :bool ], :void ], + [ :elm_slider_inverted_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_slider_inverted_get(const Evas_Object *obj); - [ :elm_slider_inverted_get, [ :evas_object ], :bool ], + [ :elm_slider_inverted_get, [ :pointer ], :bool ], + # EAPI void elm_slider_indicator_format_function_set(Evas_Object *obj, char *(*func)(double val), void (*free_func)(char *str)); + # FIXME + # EAPI void elm_slider_units_format_function_set(Evas_Object *obj, char *(*func)(double val), void (*free_func)(char *str)); + # FIXME # EAPI void elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show); - [ :elm_slider_indicator_show_set, [ :evas_object, :bool ], :void ], + [ :elm_slider_indicator_show_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_slider_indicator_show_get(const Evas_Object *obj); - [ :elm_slider_indicator_show_get, [ :evas_object ], :bool ], + [ :elm_slider_indicator_show_get, [ :pointer ], :bool ], + # EAPI void elm_slider_step_set(Evas_Object *obj, double step); + [ :elm_slider_step_set, [ :pointer, :double ], :void ], + # EAPI double elm_slider_step_get(const Evas_Object *obj); + [ :elm_slider_step_get, [ :pointer ], :double ], + # EAPI void elm_slider_indicator_show_on_focus_set(Evas_Object *obj, Eina_Bool flag); + [ :elm_slider_indicator_show_on_focus_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_slider_indicator_show_on_focus_get(const Evas_Object *obj); + [ :elm_slider_indicator_show_on_focus_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_slideshow.rb b/lib/efl/native/elm/elm_slideshow.rb index 62261d6..1fc0f5d 100644 --- a/lib/efl/native/elm/elm_slideshow.rb +++ b/lib/efl/native/elm/elm_slideshow.rb @@ -29,64 +29,64 @@ module Efl # # CALLBACKS # typedef Evas_Object *(*SlideshowItemGetFunc) (void *data, Evas_Object *obj); - callback :slideshowitemgetfunc_cb, [ :pointer, :evas_object ], :evas_object + callback :slideshowitemgetfunc_cb, [ :pointer, :pointer ], :pointer # typedef void (*SlideshowItemDelFunc) (void *data, Evas_Object *obj); - callback :slideshowitemdelfunc_cb, [ :pointer, :evas_object ], :void + callback :slideshowitemdelfunc_cb, [ :pointer, :pointer ], :void # # FUNCTIONS fcts = [ + # EAPI void elm_slideshow_item_show(Elm_Object_Item *it); + [ :elm_slideshow_item_show, [ :elm_object_item ], :void ], + # EAPI Evas_Object *elm_slideshow_item_object_get(const Elm_Object_Item *it); + [ :elm_slideshow_item_object_get, [ :elm_object_item ], :pointer ], # EAPI Evas_Object *elm_slideshow_add(Evas_Object *parent); - [ :elm_slideshow_add, [ :evas_object ], :evas_object ], + [ :elm_slideshow_add, [ :pointer ], :pointer ], # EAPI Elm_Object_Item *elm_slideshow_item_add(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data); - [ :elm_slideshow_item_add, [ :evas_object, :elm_slideshow_item_class, :pointer ], :elm_object_item ], + [ :elm_slideshow_item_add, [ :pointer, :elm_slideshow_item_class, :pointer ], :elm_object_item ], # EAPI Elm_Object_Item *elm_slideshow_item_sorted_insert(Evas_Object *obj, const Elm_Slideshow_Item_Class *itc, const void *data, Eina_Compare_Cb func); - [ :elm_slideshow_item_sorted_insert, [ :evas_object, :elm_slideshow_item_class, :pointer, :eina_compare_cb ], :elm_object_item ], - # EAPI void elm_slideshow_item_show(Elm_Object_Item *it); - [ :elm_slideshow_item_show, [ :elm_object_item ], :void ], + [ :elm_slideshow_item_sorted_insert, [ :pointer, :elm_slideshow_item_class, :pointer, :eina_compare_cb ], :elm_object_item ], # EAPI void elm_slideshow_next(Evas_Object *obj); - [ :elm_slideshow_next, [ :evas_object ], :void ], + [ :elm_slideshow_next, [ :pointer ], :void ], # EAPI void elm_slideshow_previous(Evas_Object *obj); - [ :elm_slideshow_previous, [ :evas_object ], :void ], + [ :elm_slideshow_previous, [ :pointer ], :void ], # EAPI const Eina_List *elm_slideshow_transitions_get(const Evas_Object *obj); - [ :elm_slideshow_transitions_get, [ :evas_object ], :eina_list ], + [ :elm_slideshow_transitions_get, [ :pointer ], :eina_list ], + # EAPI const Eina_List *elm_slideshow_layouts_get(const Evas_Object *obj); + [ :elm_slideshow_layouts_get, [ :pointer ], :eina_list ], # EAPI void elm_slideshow_transition_set(Evas_Object *obj, const char *transition); - [ :elm_slideshow_transition_set, [ :evas_object, :string ], :void ], + [ :elm_slideshow_transition_set, [ :pointer, :string ], :void ], # EAPI const char *elm_slideshow_transition_get(const Evas_Object *obj); - [ :elm_slideshow_transition_get, [ :evas_object ], :string ], + [ :elm_slideshow_transition_get, [ :pointer ], :string ], # EAPI void elm_slideshow_timeout_set(Evas_Object *obj, double timeout); - [ :elm_slideshow_timeout_set, [ :evas_object, :double ], :void ], + [ :elm_slideshow_timeout_set, [ :pointer, :double ], :void ], # EAPI double elm_slideshow_timeout_get(const Evas_Object *obj); - [ :elm_slideshow_timeout_get, [ :evas_object ], :double ], + [ :elm_slideshow_timeout_get, [ :pointer ], :double ], # EAPI void elm_slideshow_loop_set(Evas_Object *obj, Eina_Bool loop); - [ :elm_slideshow_loop_set, [ :evas_object, :bool ], :void ], + [ :elm_slideshow_loop_set, [ :pointer, :bool ], :void ], + # EAPI const char *elm_slideshow_layout_get(const Evas_Object *obj); + [ :elm_slideshow_layout_get, [ :pointer ], :string ], + # EAPI void elm_slideshow_layout_set(Evas_Object *obj, const char *layout); + [ :elm_slideshow_layout_set, [ :pointer, :string ], :void ], # EAPI Eina_Bool elm_slideshow_loop_get(const Evas_Object *obj); - [ :elm_slideshow_loop_get, [ :evas_object ], :bool ], + [ :elm_slideshow_loop_get, [ :pointer ], :bool ], # EAPI void elm_slideshow_clear(Evas_Object *obj); - [ :elm_slideshow_clear, [ :evas_object ], :void ], + [ :elm_slideshow_clear, [ :pointer ], :void ], # EAPI const Eina_List *elm_slideshow_items_get(const Evas_Object *obj); - [ :elm_slideshow_items_get, [ :evas_object ], :eina_list ], + [ :elm_slideshow_items_get, [ :pointer ], :eina_list ], # EAPI Elm_Object_Item *elm_slideshow_item_current_get(const Evas_Object *obj); - [ :elm_slideshow_item_current_get, [ :evas_object ], :elm_object_item ], - # EAPI Evas_Object *elm_slideshow_item_object_get(const Elm_Object_Item *it); - [ :elm_slideshow_item_object_get, [ :elm_object_item ], :evas_object ], - # EAPI Elm_Object_Item *elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth); - [ :elm_slideshow_item_nth_get, [ :evas_object, :uint ], :elm_object_item ], - # EAPI void elm_slideshow_layout_set(Evas_Object *obj, const char *layout); - [ :elm_slideshow_layout_set, [ :evas_object, :string ], :void ], - # EAPI const char *elm_slideshow_layout_get(const Evas_Object *obj); - [ :elm_slideshow_layout_get, [ :evas_object ], :string ], - # EAPI const Eina_List *elm_slideshow_layouts_get(const Evas_Object *obj); - [ :elm_slideshow_layouts_get, [ :evas_object ], :eina_list ], - # EAPI void elm_slideshow_cache_before_set(Evas_Object *obj, int count); - [ :elm_slideshow_cache_before_set, [ :evas_object, :int ], :void ], + [ :elm_slideshow_item_current_get, [ :pointer ], :elm_object_item ], # EAPI int elm_slideshow_cache_before_get(const Evas_Object *obj); - [ :elm_slideshow_cache_before_get, [ :evas_object ], :int ], - # EAPI void elm_slideshow_cache_after_set(Evas_Object *obj, int count); - [ :elm_slideshow_cache_after_set, [ :evas_object, :int ], :void ], + [ :elm_slideshow_cache_before_get, [ :pointer ], :int ], + # EAPI void elm_slideshow_cache_before_set(Evas_Object *obj, int count); + [ :elm_slideshow_cache_before_set, [ :pointer, :int ], :void ], # EAPI int elm_slideshow_cache_after_get(const Evas_Object *obj); - [ :elm_slideshow_cache_after_get, [ :evas_object ], :int ], + [ :elm_slideshow_cache_after_get, [ :pointer ], :int ], + # EAPI void elm_slideshow_cache_after_set(Evas_Object *obj, int count); + [ :elm_slideshow_cache_after_set, [ :pointer, :int ], :void ], + # EAPI Elm_Object_Item *elm_slideshow_item_nth_get(const Evas_Object *obj, unsigned int nth); + [ :elm_slideshow_item_nth_get, [ :pointer, :uint ], :elm_object_item ], # EAPI unsigned int elm_slideshow_count_get(const Evas_Object *obj); - [ :elm_slideshow_count_get, [ :evas_object ], :uint ], + [ :elm_slideshow_count_get, [ :pointer ], :uint ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_spinner.rb b/lib/efl/native/elm/elm_spinner.rb index 9877f01..08b0502 100644 --- a/lib/efl/native/elm/elm_spinner.rb +++ b/lib/efl/native/elm/elm_spinner.rb @@ -24,45 +24,49 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_spinner_add(Evas_Object *parent); - [ :elm_spinner_add, [ :evas_object ], :evas_object ], + [ :elm_spinner_add, [ :pointer ], :pointer ], + # EAPI void elm_spinner_special_value_del(Evas_Object *obj, double value); + [ :elm_spinner_special_value_del, [ :pointer, :double ], :void ], + # EAPI const char *elm_spinner_special_value_get(Evas_Object *obj, double value); + [ :elm_spinner_special_value_get, [ :pointer, :double ], :string ], # EAPI void elm_spinner_label_format_set(Evas_Object *obj, const char *fmt); - [ :elm_spinner_label_format_set, [ :evas_object, :string ], :void ], + [ :elm_spinner_label_format_set, [ :pointer, :string ], :void ], # EAPI const char *elm_spinner_label_format_get(const Evas_Object *obj); - [ :elm_spinner_label_format_get, [ :evas_object ], :string ], + [ :elm_spinner_label_format_get, [ :pointer ], :string ], # EAPI void elm_spinner_min_max_set(Evas_Object *obj, double min, double max); - [ :elm_spinner_min_max_set, [ :evas_object, :double, :double ], :void ], + [ :elm_spinner_min_max_set, [ :pointer, :double, :double ], :void ], # EAPI void elm_spinner_min_max_get(const Evas_Object *obj, double *min, double *max); - [ :elm_spinner_min_max_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_spinner_min_max_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_spinner_step_set(Evas_Object *obj, double step); - [ :elm_spinner_step_set, [ :evas_object, :double ], :void ], + [ :elm_spinner_step_set, [ :pointer, :double ], :void ], # EAPI double elm_spinner_step_get(const Evas_Object *obj); - [ :elm_spinner_step_get, [ :evas_object ], :double ], + [ :elm_spinner_step_get, [ :pointer ], :double ], # EAPI void elm_spinner_value_set(Evas_Object *obj, double val); - [ :elm_spinner_value_set, [ :evas_object, :double ], :void ], + [ :elm_spinner_value_set, [ :pointer, :double ], :void ], # EAPI double elm_spinner_value_get(const Evas_Object *obj); - [ :elm_spinner_value_get, [ :evas_object ], :double ], + [ :elm_spinner_value_get, [ :pointer ], :double ], # EAPI void elm_spinner_wrap_set(Evas_Object *obj, Eina_Bool wrap); - [ :elm_spinner_wrap_set, [ :evas_object, :bool ], :void ], + [ :elm_spinner_wrap_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_spinner_wrap_get(const Evas_Object *obj); - [ :elm_spinner_wrap_get, [ :evas_object ], :bool ], + [ :elm_spinner_wrap_get, [ :pointer ], :bool ], + # EAPI void elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label); + [ :elm_spinner_special_value_add, [ :pointer, :double, :string ], :void ], # EAPI void elm_spinner_editable_set(Evas_Object *obj, Eina_Bool editable); - [ :elm_spinner_editable_set, [ :evas_object, :bool ], :void ], + [ :elm_spinner_editable_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_spinner_editable_get(const Evas_Object *obj); - [ :elm_spinner_editable_get, [ :evas_object ], :bool ], - # EAPI void elm_spinner_special_value_add(Evas_Object *obj, double value, const char *label); - [ :elm_spinner_special_value_add, [ :evas_object, :double, :string ], :void ], + [ :elm_spinner_editable_get, [ :pointer ], :bool ], # EAPI void elm_spinner_interval_set(Evas_Object *obj, double interval); - [ :elm_spinner_interval_set, [ :evas_object, :double ], :void ], + [ :elm_spinner_interval_set, [ :pointer, :double ], :void ], # EAPI double elm_spinner_interval_get(const Evas_Object *obj); - [ :elm_spinner_interval_get, [ :evas_object ], :double ], + [ :elm_spinner_interval_get, [ :pointer ], :double ], # EAPI void elm_spinner_base_set(Evas_Object *obj, double base); - [ :elm_spinner_base_set, [ :evas_object, :double ], :void ], + [ :elm_spinner_base_set, [ :pointer, :double ], :void ], # EAPI double elm_spinner_base_get(const Evas_Object *obj); - [ :elm_spinner_base_get, [ :evas_object ], :double ], + [ :elm_spinner_base_get, [ :pointer ], :double ], # EAPI void elm_spinner_round_set(Evas_Object *obj, int rnd); - [ :elm_spinner_round_set, [ :evas_object, :int ], :void ], + [ :elm_spinner_round_set, [ :pointer, :int ], :void ], # EAPI int elm_spinner_round_get(const Evas_Object *obj); - [ :elm_spinner_round_get, [ :evas_object ], :int ], + [ :elm_spinner_round_get, [ :pointer ], :int ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_store.rb b/lib/efl/native/elm/elm_store.rb index 3dce9b9..ac3dcc5 100644 --- a/lib/efl/native/elm/elm_store.rb +++ b/lib/efl/native/elm/elm_store.rb @@ -47,6 +47,8 @@ module Efl typedef :pointer, :elm_store_item_mapping_custom # # CALLBACKS + # typedef struct _Elm_Store_Item_Mapping Elm_Store_Item_Mapping; /**< A basic way of telling Store how to take your return data (string, or something else from your struct) and convert it into something genlist can use */typedef struct _Elm_Store_Item_Mapping_Empty Elm_Store_Item_Mapping_Empty; /**< An empty piece of mapping information. Useful for String labels as they get used directly */ + # FIXME # typedef Eina_Bool (*Elm_Store_Item_List_Cb) (void *data, Elm_Store_Item_Info *info); callback :elm_store_item_list_cb, [ :pointer, :elm_store_item_info ], :bool # typedef void (*Elm_Store_Item_Fetch_Cb) (void *data, Elm_Store_Item *sti); @@ -69,7 +71,7 @@ module Efl # EAPI const char *elm_store_item_filesystem_path_get(const Elm_Store_Item *sti); [ :elm_store_item_filesystem_path_get, [ :elm_store_item ], :string ], # EAPI void elm_store_target_genlist_set(Elm_Store *st, Evas_Object *obj); - [ :elm_store_target_genlist_set, [ :elm_store, :evas_object ], :void ], + [ :elm_store_target_genlist_set, [ :elm_store, :pointer ], :void ], # EAPI void elm_store_cache_set(Elm_Store *st, int max); [ :elm_store_cache_set, [ :elm_store, :int ], :void ], # EAPI int elm_store_cache_get(const Elm_Store *st); diff --git a/lib/efl/native/elm/elm_table.rb b/lib/efl/native/elm/elm_table.rb index 63ed900..3b2a456 100644 --- a/lib/efl/native/elm/elm_table.rb +++ b/lib/efl/native/elm/elm_table.rb @@ -24,25 +24,27 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_table_add(Evas_Object *parent); - [ :elm_table_add, [ :evas_object ], :evas_object ], + [ :elm_table_add, [ :pointer ], :pointer ], # EAPI void elm_table_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous); - [ :elm_table_homogeneous_set, [ :evas_object, :bool ], :void ], + [ :elm_table_homogeneous_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_table_homogeneous_get(const Evas_Object *obj); - [ :elm_table_homogeneous_get, [ :evas_object ], :bool ], + [ :elm_table_homogeneous_get, [ :pointer ], :bool ], # EAPI void elm_table_padding_set(Evas_Object *obj, Evas_Coord horizontal, Evas_Coord vertical); - [ :elm_table_padding_set, [ :evas_object, :int, :int ], :void ], + [ :elm_table_padding_set, [ :pointer, :int, :int ], :void ], # EAPI void elm_table_padding_get(const Evas_Object *obj, Evas_Coord *horizontal, Evas_Coord *vertical); - [ :elm_table_padding_get, [ :evas_object, :pointer, :pointer ], :void ], - # EAPI void elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int x, int y, int w, int h); - [ :elm_table_pack, [ :evas_object, :evas_object, :int, :int, :int, :int ], :void ], + [ :elm_table_padding_get, [ :pointer, :pointer, :pointer ], :void ], + # EAPI void elm_table_pack(Evas_Object *obj, Evas_Object *subobj, int col, int row, int colspan, int rowspan); + [ :elm_table_pack, [ :pointer, :pointer, :int, :int, :int, :int ], :void ], # EAPI void elm_table_unpack(Evas_Object *obj, Evas_Object *subobj); - [ :elm_table_unpack, [ :evas_object, :evas_object ], :void ], + [ :elm_table_unpack, [ :pointer, :pointer ], :void ], + # EAPI void elm_table_pack_set(Evas_Object *subobj, int col, int row, int colspan, int rowspan); + [ :elm_table_pack_set, [ :pointer, :int, :int, :int, :int ], :void ], + # EAPI void elm_table_pack_get(Evas_Object *subobj, int *col, int *row, int *colspan, int *rowspan); + [ :elm_table_pack_get, [ :pointer, :pointer, :pointer, :pointer, :pointer ], :void ], # EAPI void elm_table_clear(Evas_Object *obj, Eina_Bool clear); - [ :elm_table_clear, [ :evas_object, :bool ], :void ], - # EAPI void elm_table_pack_set(Evas_Object *subobj, int x, int y, int w, int h); - [ :elm_table_pack_set, [ :evas_object, :int, :int, :int, :int ], :void ], - # EAPI void elm_table_pack_get(Evas_Object *subobj, int *x, int *y, int *w, int *h); - [ :elm_table_pack_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ], + [ :elm_table_clear, [ :pointer, :bool ], :void ], + # EAPI Evas_Object *elm_table_child_get(const Evas_Object *obj, int col, int row); + [ :elm_table_child_get, [ :pointer, :int, :int ], :pointer ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_theme.rb b/lib/efl/native/elm/elm_theme.rb index fc35d72..c68f21d 100644 --- a/lib/efl/native/elm/elm_theme.rb +++ b/lib/efl/native/elm/elm_theme.rb @@ -43,12 +43,20 @@ module Efl [ :elm_theme_overlay_add, [ :elm_theme, :string ], :void ], # EAPI void elm_theme_overlay_del(Elm_Theme *th, const char *item); [ :elm_theme_overlay_del, [ :elm_theme, :string ], :void ], + # EAPI void elm_theme_overlay_mmap_add(Elm_Theme *th, const Eina_File *f); + [ :elm_theme_overlay_mmap_add, [ :elm_theme, :eina_file ], :void ], + # EAPI void elm_theme_overlay_mmap_del(Elm_Theme *th, const Eina_File *f); + [ :elm_theme_overlay_mmap_del, [ :elm_theme, :eina_file ], :void ], # EAPI const Eina_List *elm_theme_overlay_list_get(const Elm_Theme *th); [ :elm_theme_overlay_list_get, [ :elm_theme ], :eina_list ], # EAPI void elm_theme_extension_add(Elm_Theme *th, const char *item); [ :elm_theme_extension_add, [ :elm_theme, :string ], :void ], # EAPI void elm_theme_extension_del(Elm_Theme *th, const char *item); [ :elm_theme_extension_del, [ :elm_theme, :string ], :void ], + # EAPI void elm_theme_extension_mmap_add(Elm_Theme *th, const Eina_File *f); + [ :elm_theme_extension_mmap_add, [ :elm_theme, :eina_file ], :void ], + # EAPI void elm_theme_extension_mmap_del(Elm_Theme *th, const Eina_File *f); + [ :elm_theme_extension_mmap_del, [ :elm_theme, :eina_file ], :void ], # EAPI const Eina_List *elm_theme_extension_list_get(const Elm_Theme *th); [ :elm_theme_extension_list_get, [ :elm_theme ], :eina_list ], # EAPI void elm_theme_set(Elm_Theme *th, const char *theme); @@ -68,11 +76,19 @@ module Efl # EAPI void elm_theme_name_available_list_free(Eina_List *list); [ :elm_theme_name_available_list_free, [ :eina_list ], :void ], # EAPI void elm_object_theme_set(Evas_Object *obj, Elm_Theme *th); - [ :elm_object_theme_set, [ :evas_object, :elm_theme ], :void ], + [ :elm_object_theme_set, [ :pointer, :elm_theme ], :void ], # EAPI Elm_Theme *elm_object_theme_get(const Evas_Object *obj); - [ :elm_object_theme_get, [ :evas_object ], :elm_theme ], + [ :elm_object_theme_get, [ :pointer ], :elm_theme ], # EAPI const char *elm_theme_data_get(Elm_Theme *th, const char *key); [ :elm_theme_data_get, [ :elm_theme, :string ], :string ], + # EAPI const char *elm_theme_group_path_find(Elm_Theme *th, const char *group); + [ :elm_theme_group_path_find, [ :elm_theme, :string ], :string ], + # EAPI Eina_List *elm_theme_group_base_list(Elm_Theme *th, const char *base); + [ :elm_theme_group_base_list, [ :elm_theme, :string ], :eina_list ], + # EAPI const char *elm_theme_system_dir_get(void); + [ :elm_theme_system_dir_get, [ ], :string ], + # EAPI const char *elm_theme_user_dir_get(void); + [ :elm_theme_user_dir_get, [ ], :string ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_thumb.rb b/lib/efl/native/elm/elm_thumb.rb index ee5483a..441fb29 100644 --- a/lib/efl/native/elm/elm_thumb.rb +++ b/lib/efl/native/elm/elm_thumb.rb @@ -28,28 +28,60 @@ module Efl # # FUNCTIONS fcts = [ + # EAPI void *elm_thumb_ethumb_client_get(void); + [ :elm_thumb_ethumb_client_get, [ ], :pointer ], + # EAPI Eina_Bool elm_thumb_ethumb_client_connected_get(void); + [ :elm_thumb_ethumb_client_connected_get, [ ], :bool ], # EAPI Evas_Object *elm_thumb_add(Evas_Object *parent); - [ :elm_thumb_add, [ :evas_object ], :evas_object ], + [ :elm_thumb_add, [ :pointer ], :pointer ], # EAPI void elm_thumb_reload(Evas_Object *obj); - [ :elm_thumb_reload, [ :evas_object ], :void ], + [ :elm_thumb_reload, [ :pointer ], :void ], # EAPI void elm_thumb_file_set(Evas_Object *obj, const char *file, const char *key); - [ :elm_thumb_file_set, [ :evas_object, :string, :string ], :void ], + [ :elm_thumb_file_set, [ :pointer, :string, :string ], :void ], # EAPI void elm_thumb_file_get(const Evas_Object *obj, const char **file, const char **key); - [ :elm_thumb_file_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_thumb_file_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_thumb_path_get(const Evas_Object *obj, const char **file, const char **key); - [ :elm_thumb_path_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_thumb_path_get, [ :pointer, :pointer, :pointer ], :void ], + # EAPI void elm_thumb_aspect_set(Evas_Object *obj, Ethumb_Thumb_Aspect aspect); + [ :elm_thumb_aspect_set, [ :pointer, :ethumb_thumb_aspect ], :void ], + # EAPI Ethumb_Thumb_Aspect elm_thumb_aspect_get(const Evas_Object *obj); + [ :elm_thumb_aspect_get, [ :pointer ], :ethumb_thumb_aspect ], + # EAPI void elm_thumb_fdo_size_set(Evas_Object *obj, Ethumb_Thumb_FDO_Size size); + [ :elm_thumb_fdo_size_set, [ :pointer, :ethumb_thumb_fdo_size ], :void ], + # EAPI Ethumb_Thumb_FDO_Size elm_thumb_fdo_size_get(const Evas_Object *obj); + [ :elm_thumb_fdo_size_get, [ :pointer ], :ethumb_thumb_fdo_size ], + # EAPI void elm_thumb_format_set(Evas_Object *obj, Ethumb_Thumb_Format format); + [ :elm_thumb_format_set, [ :pointer, :ethumb_thumb_format ], :void ], + # EAPI Ethumb_Thumb_Format elm_thumb_format_get(const Evas_Object *obj); + [ :elm_thumb_format_get, [ :pointer ], :ethumb_thumb_format ], + # EAPI void elm_thumb_orientation_set(Evas_Object *obj, Ethumb_Thumb_Orientation orient); + [ :elm_thumb_orientation_set, [ :pointer, :ethumb_thumb_orientation ], :void ], + # EAPI Ethumb_Thumb_Orientation elm_thumb_orientation_get(const Evas_Object *obj); + [ :elm_thumb_orientation_get, [ :pointer ], :ethumb_thumb_orientation ], + # EAPI void elm_thumb_size_set(Evas_Object *obj, int tw, int th); + [ :elm_thumb_size_set, [ :pointer, :int, :int ], :void ], + # EAPI void elm_thumb_size_get(const Evas_Object *obj, int *tw, int *th); + [ :elm_thumb_size_get, [ :pointer, :pointer, :pointer ], :void ], + # EAPI void elm_thumb_crop_align_set(Evas_Object *obj, double cropx, double cropy); + [ :elm_thumb_crop_align_set, [ :pointer, :double, :double ], :void ], + # EAPI void elm_thumb_crop_align_get(const Evas_Object *obj, double *cropx, double *cropy); + [ :elm_thumb_crop_align_get, [ :pointer, :pointer, :pointer ], :void ], + # EAPI void elm_thumb_compress_set(Evas_Object *obj, int compress); + [ :elm_thumb_compress_set, [ :pointer, :int ], :void ], + # EAPI void elm_thumb_compress_get(const Evas_Object *obj, int *compress); + [ :elm_thumb_compress_get, [ :pointer, :pointer ], :void ], + # EAPI void elm_thumb_quality_set(Evas_Object *obj, int quality); + [ :elm_thumb_quality_set, [ :pointer, :int ], :void ], + # EAPI void elm_thumb_quality_get(const Evas_Object *obj, int *quality); + [ :elm_thumb_quality_get, [ :pointer, :pointer ], :void ], # EAPI void elm_thumb_animate_set(Evas_Object *obj, Elm_Thumb_Animation_Setting s); - [ :elm_thumb_animate_set, [ :evas_object, :elm_thumb_animation_setting ], :void ], + [ :elm_thumb_animate_set, [ :pointer, :elm_thumb_animation_setting ], :void ], # EAPI Elm_Thumb_Animation_Setting elm_thumb_animate_get(const Evas_Object *obj); - [ :elm_thumb_animate_get, [ :evas_object ], :elm_thumb_animation_setting ], - # EAPI void *elm_thumb_ethumb_client_get(void); - [ :elm_thumb_ethumb_client_get, [ ], :pointer ], - # EAPI Eina_Bool elm_thumb_ethumb_client_connected_get(void); - [ :elm_thumb_ethumb_client_connected_get, [ ], :bool ], + [ :elm_thumb_animate_get, [ :pointer ], :elm_thumb_animation_setting ], # EAPI Eina_Bool elm_thumb_editable_set(Evas_Object *obj, Eina_Bool edit); - [ :elm_thumb_editable_set, [ :evas_object, :bool ], :bool ], + [ :elm_thumb_editable_set, [ :pointer, :bool ], :bool ], # EAPI Eina_Bool elm_thumb_editable_get(const Evas_Object *obj); - [ :elm_thumb_editable_get, [ :evas_object ], :bool ], + [ :elm_thumb_editable_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_toolbar.rb b/lib/efl/native/elm/elm_toolbar.rb index cf3b710..205fda8 100644 --- a/lib/efl/native/elm/elm_toolbar.rb +++ b/lib/efl/native/elm/elm_toolbar.rb @@ -26,6 +26,9 @@ module Efl # typedef enum {...} Elm_Toolbar_Shrink_Mode; enum :elm_toolbar_shrink_mode, [ :elm_toolbar_shrink_none, :elm_toolbar_shrink_hide, :elm_toolbar_shrink_scroll, :elm_toolbar_shrink_menu, :elm_toolbar_shrink_expand, :elm_toolbar_shrink_last ] + # typedef enum {...} Elm_Toolbar_Item_Scrollto_Type; + enum :elm_toolbar_item_scrollto_type, [ :elm_toolbar_item_scrollto_none, 0, :elm_toolbar_item_scrollto_in, (1<<0), + :elm_toolbar_item_scrollto_first, (1<<1), :elm_toolbar_item_scrollto_middle, (1<<2), :elm_toolbar_item_scrollto_last, (1<<3) ] # # TYPEDEFS # typedef struct _Elm_Toolbar_Item_State Elm_Toolbar_Item_State; @@ -33,28 +36,6 @@ module Efl # # FUNCTIONS fcts = [ - # EAPI Evas_Object *elm_toolbar_add(Evas_Object *parent); - [ :elm_toolbar_add, [ :evas_object ], :evas_object ], - # EAPI void elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size); - [ :elm_toolbar_icon_size_set, [ :evas_object, :int ], :void ], - # EAPI int elm_toolbar_icon_size_get(const Evas_Object *obj); - [ :elm_toolbar_icon_size_get, [ :evas_object ], :int ], - # EAPI void elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order); - [ :elm_toolbar_icon_order_lookup_set, [ :evas_object, :elm_icon_lookup_order ], :void ], - # EAPI Elm_Icon_Lookup_Order elm_toolbar_icon_order_lookup_get(const Evas_Object *obj); - [ :elm_toolbar_icon_order_lookup_get, [ :evas_object ], :elm_icon_lookup_order ], - # EAPI Elm_Object_Item *elm_toolbar_item_append(Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data); - [ :elm_toolbar_item_append, [ :evas_object, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_toolbar_item_prepend(Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data); - [ :elm_toolbar_item_prepend, [ :evas_object, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_toolbar_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *icon, const char *label, Evas_Smart_Cb func, const void *data); - [ :elm_toolbar_item_insert_before, [ :evas_object, :elm_object_item, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_toolbar_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *icon, const char *label, Evas_Smart_Cb func, const void *data); - [ :elm_toolbar_item_insert_after, [ :evas_object, :elm_object_item, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_toolbar_first_item_get(const Evas_Object *obj); - [ :elm_toolbar_first_item_get, [ :evas_object ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_toolbar_last_item_get(const Evas_Object *obj); - [ :elm_toolbar_last_item_get, [ :evas_object ], :elm_object_item ], # EAPI Elm_Object_Item *elm_toolbar_item_next_get(const Elm_Object_Item *it); [ :elm_toolbar_item_next_get, [ :elm_object_item ], :elm_object_item ], # EAPI Elm_Object_Item *elm_toolbar_item_prev_get(const Elm_Object_Item *it); @@ -63,24 +44,18 @@ module Efl [ :elm_toolbar_item_priority_set, [ :elm_object_item, :int ], :void ], # EAPI int elm_toolbar_item_priority_get(const Elm_Object_Item *it); [ :elm_toolbar_item_priority_get, [ :elm_object_item ], :int ], - # EAPI Elm_Object_Item *elm_toolbar_item_find_by_label(const Evas_Object *obj, const char *label); - [ :elm_toolbar_item_find_by_label, [ :evas_object, :string ], :elm_object_item ], # EAPI Eina_Bool elm_toolbar_item_selected_get(const Elm_Object_Item *it); [ :elm_toolbar_item_selected_get, [ :elm_object_item ], :bool ], # EAPI void elm_toolbar_item_selected_set(Elm_Object_Item *it, Eina_Bool selected); [ :elm_toolbar_item_selected_set, [ :elm_object_item, :bool ], :void ], - # EAPI Elm_Object_Item *elm_toolbar_selected_item_get(const Evas_Object *obj); - [ :elm_toolbar_selected_item_get, [ :evas_object ], :elm_object_item ], - # EAPI Elm_Object_Item *elm_toolbar_more_item_get(const Evas_Object *obj); - [ :elm_toolbar_more_item_get, [ :evas_object ], :elm_object_item ], # EAPI void elm_toolbar_item_icon_set(Elm_Object_Item *it, const char *icon); [ :elm_toolbar_item_icon_set, [ :elm_object_item, :string ], :void ], # EAPI const char *elm_toolbar_item_icon_get(const Elm_Object_Item *it); [ :elm_toolbar_item_icon_get, [ :elm_object_item ], :string ], # EAPI Evas_Object *elm_toolbar_item_object_get(const Elm_Object_Item *it); - [ :elm_toolbar_item_object_get, [ :elm_object_item ], :evas_object ], + [ :elm_toolbar_item_object_get, [ :elm_object_item ], :pointer ], # EAPI Evas_Object *elm_toolbar_item_icon_object_get(Elm_Object_Item *it); - [ :elm_toolbar_item_icon_object_get, [ :elm_object_item ], :evas_object ], + [ :elm_toolbar_item_icon_object_get, [ :elm_object_item ], :pointer ], # EAPI Eina_Bool elm_toolbar_item_icon_memfile_set(Elm_Object_Item *it, const void *img, size_t size, const char *format, const char *key); [ :elm_toolbar_item_icon_memfile_set, [ :elm_object_item, :pointer, :ulong, :string, :string ], :bool ], # EAPI Eina_Bool elm_toolbar_item_icon_file_set(Elm_Object_Item *it, const char *file, const char *key); @@ -89,26 +64,10 @@ module Efl [ :elm_toolbar_item_separator_set, [ :elm_object_item, :bool ], :void ], # EAPI Eina_Bool elm_toolbar_item_separator_get(const Elm_Object_Item *it); [ :elm_toolbar_item_separator_get, [ :elm_object_item ], :bool ], - # EAPI void elm_toolbar_shrink_mode_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode); - [ :elm_toolbar_shrink_mode_set, [ :evas_object, :elm_toolbar_shrink_mode ], :void ], - # EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_shrink_mode_get(const Evas_Object *obj); - [ :elm_toolbar_shrink_mode_get, [ :evas_object ], :elm_toolbar_shrink_mode ], - # EAPI void elm_toolbar_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous); - [ :elm_toolbar_homogeneous_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_toolbar_homogeneous_get(const Evas_Object *obj); - [ :elm_toolbar_homogeneous_get, [ :evas_object ], :bool ], - # EAPI void elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent); - [ :elm_toolbar_menu_parent_set, [ :evas_object, :evas_object ], :void ], - # EAPI Evas_Object *elm_toolbar_menu_parent_get(const Evas_Object *obj); - [ :elm_toolbar_menu_parent_get, [ :evas_object ], :evas_object ], - # EAPI void elm_toolbar_align_set(Evas_Object *obj, double align); - [ :elm_toolbar_align_set, [ :evas_object, :double ], :void ], - # EAPI double elm_toolbar_align_get(const Evas_Object *obj); - [ :elm_toolbar_align_get, [ :evas_object ], :double ], # EAPI void elm_toolbar_item_menu_set(Elm_Object_Item *it, Eina_Bool menu); [ :elm_toolbar_item_menu_set, [ :elm_object_item, :bool ], :void ], # EAPI Evas_Object *elm_toolbar_item_menu_get(const Elm_Object_Item *it); - [ :elm_toolbar_item_menu_get, [ :elm_object_item ], :evas_object ], + [ :elm_toolbar_item_menu_get, [ :elm_object_item ], :pointer ], # EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_add(Elm_Object_Item *it, const char *icon, const char *label, Evas_Smart_Cb func, const void *data); [ :elm_toolbar_item_state_add, [ :elm_object_item, :string, :string, :evas_smart_cb, :pointer ], :elm_toolbar_item_state ], # EAPI Eina_Bool elm_toolbar_item_state_del(Elm_Object_Item *it, Elm_Toolbar_Item_State *state); @@ -123,20 +82,76 @@ module Efl [ :elm_toolbar_item_state_next, [ :elm_object_item ], :elm_toolbar_item_state ], # EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_prev(Elm_Object_Item *it); [ :elm_toolbar_item_state_prev, [ :elm_object_item ], :elm_toolbar_item_state ], + # EAPI void elm_toolbar_item_show(Elm_Object_Item *it, Elm_Toolbar_Item_Scrollto_Type type); + [ :elm_toolbar_item_show, [ :elm_object_item, :elm_toolbar_item_scrollto_type ], :void ], + # EAPI void elm_toolbar_item_bring_in(Elm_Object_Item *it, Elm_Toolbar_Item_Scrollto_Type type); + [ :elm_toolbar_item_bring_in, [ :elm_object_item, :elm_toolbar_item_scrollto_type ], :void ], + # EAPI Evas_Object *elm_toolbar_add(Evas_Object *parent); + [ :elm_toolbar_add, [ :pointer ], :pointer ], + # EAPI void elm_toolbar_icon_size_set(Evas_Object *obj, int icon_size); + [ :elm_toolbar_icon_size_set, [ :pointer, :int ], :void ], + # EAPI int elm_toolbar_icon_size_get(const Evas_Object *obj); + [ :elm_toolbar_icon_size_get, [ :pointer ], :int ], + # EAPI void elm_toolbar_icon_order_lookup_set(Evas_Object *obj, Elm_Icon_Lookup_Order order); + [ :elm_toolbar_icon_order_lookup_set, [ :pointer, :elm_icon_lookup_order ], :void ], + # EAPI Elm_Icon_Lookup_Order elm_toolbar_icon_order_lookup_get(const Evas_Object *obj); + [ :elm_toolbar_icon_order_lookup_get, [ :pointer ], :elm_icon_lookup_order ], + # EAPI Elm_Object_Item *elm_toolbar_item_append(Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data); + [ :elm_toolbar_item_append, [ :pointer, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_toolbar_item_prepend(Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data); + [ :elm_toolbar_item_prepend, [ :pointer, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_toolbar_item_insert_before(Evas_Object *obj, Elm_Object_Item *before, const char *icon, const char *label, Evas_Smart_Cb func, const void *data); + [ :elm_toolbar_item_insert_before, [ :pointer, :elm_object_item, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_toolbar_item_insert_after(Evas_Object *obj, Elm_Object_Item *after, const char *icon, const char *label, Evas_Smart_Cb func, const void *data); + [ :elm_toolbar_item_insert_after, [ :pointer, :elm_object_item, :string, :string, :evas_smart_cb, :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_toolbar_first_item_get(const Evas_Object *obj); + [ :elm_toolbar_first_item_get, [ :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_toolbar_last_item_get(const Evas_Object *obj); + [ :elm_toolbar_last_item_get, [ :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_toolbar_item_find_by_label(const Evas_Object *obj, const char *label); + [ :elm_toolbar_item_find_by_label, [ :pointer, :string ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_toolbar_selected_item_get(const Evas_Object *obj); + [ :elm_toolbar_selected_item_get, [ :pointer ], :elm_object_item ], + # EAPI Elm_Object_Item *elm_toolbar_more_item_get(const Evas_Object *obj); + [ :elm_toolbar_more_item_get, [ :pointer ], :elm_object_item ], + # EAPI void elm_toolbar_shrink_mode_set(Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode); + [ :elm_toolbar_shrink_mode_set, [ :pointer, :elm_toolbar_shrink_mode ], :void ], + # EAPI Elm_Toolbar_Shrink_Mode elm_toolbar_shrink_mode_get(const Evas_Object *obj); + [ :elm_toolbar_shrink_mode_get, [ :pointer ], :elm_toolbar_shrink_mode ], + # EAPI void elm_toolbar_transverse_expanded_set(Evas_Object *obj, Eina_Bool transverse_expanded); + [ :elm_toolbar_transverse_expanded_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_toolbar_transverse_expanded_get(const Evas_Object *obj); + [ :elm_toolbar_transverse_expanded_get, [ :pointer ], :bool ], + # EAPI void elm_toolbar_homogeneous_set(Evas_Object *obj, Eina_Bool homogeneous); + [ :elm_toolbar_homogeneous_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_toolbar_homogeneous_get(const Evas_Object *obj); + [ :elm_toolbar_homogeneous_get, [ :pointer ], :bool ], + # EAPI void elm_toolbar_menu_parent_set(Evas_Object *obj, Evas_Object *parent); + [ :elm_toolbar_menu_parent_set, [ :pointer, :pointer ], :void ], + # EAPI Evas_Object *elm_toolbar_menu_parent_get(const Evas_Object *obj); + [ :elm_toolbar_menu_parent_get, [ :pointer ], :pointer ], + # EAPI void elm_toolbar_align_set(Evas_Object *obj, double align); + [ :elm_toolbar_align_set, [ :pointer, :double ], :void ], + # EAPI double elm_toolbar_align_get(const Evas_Object *obj); + [ :elm_toolbar_align_get, [ :pointer ], :double ], # EAPI void elm_toolbar_horizontal_set(Evas_Object *obj, Eina_Bool horizontal); - [ :elm_toolbar_horizontal_set, [ :evas_object, :bool ], :void ], + [ :elm_toolbar_horizontal_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_toolbar_horizontal_get(const Evas_Object *obj); - [ :elm_toolbar_horizontal_get, [ :evas_object ], :bool ], + [ :elm_toolbar_horizontal_get, [ :pointer ], :bool ], # EAPI unsigned int elm_toolbar_items_count(const Evas_Object *obj); - [ :elm_toolbar_items_count, [ :evas_object ], :uint ], + [ :elm_toolbar_items_count, [ :pointer ], :uint ], # EAPI void elm_toolbar_standard_priority_set(Evas_Object *obj, int priority); - [ :elm_toolbar_standard_priority_set, [ :evas_object, :int ], :void ], + [ :elm_toolbar_standard_priority_set, [ :pointer, :int ], :void ], # EAPI int elm_toolbar_standard_priority_get(const Evas_Object *obj); - [ :elm_toolbar_standard_priority_get, [ :evas_object ], :int ], + [ :elm_toolbar_standard_priority_get, [ :pointer ], :int ], # EAPI void elm_toolbar_select_mode_set(Evas_Object *obj, Elm_Object_Select_Mode mode); - [ :elm_toolbar_select_mode_set, [ :evas_object, :elm_object_select_mode ], :void ], + [ :elm_toolbar_select_mode_set, [ :pointer, :elm_object_select_mode ], :void ], # EAPI Elm_Object_Select_Mode elm_toolbar_select_mode_get(const Evas_Object *obj); - [ :elm_toolbar_select_mode_get, [ :evas_object ], :elm_object_select_mode ], + [ :elm_toolbar_select_mode_get, [ :pointer ], :elm_object_select_mode ], + # EAPI void elm_toolbar_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode); + [ :elm_toolbar_reorder_mode_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_toolbar_reorder_mode_get(const Evas_Object *obj); + [ :elm_toolbar_reorder_mode_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_tooltip.rb b/lib/efl/native/elm/elm_tooltip.rb index e349905..a555993 100644 --- a/lib/efl/native/elm/elm_tooltip.rb +++ b/lib/efl/native/elm/elm_tooltip.rb @@ -21,34 +21,44 @@ module Efl # ffi_lib 'elementary.so.1' # + # ENUMS + # typedef enum {...} Elm_Tooltip_Orient; + enum :elm_tooltip_orient, [ :elm_tooltip_orient_none, 0, :elm_tooltip_orient_top_left, 1, :elm_tooltip_orient_top, 2, + :elm_tooltip_orient_top_right, 3, :elm_tooltip_orient_left, 4, :elm_tooltip_orient_center, 5, :elm_tooltip_orient_right, 6, + :elm_tooltip_orient_bottom_left, 7, :elm_tooltip_orient_bottom, 8, :elm_tooltip_orient_bottom_right, 9, :elm_tooltip_orient_last, 10 ] + # # CALLBACKS # typedef Evas_Object *(*Elm_Tooltip_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip); - callback :elm_tooltip_content_cb, [ :pointer, :evas_object, :evas_object ], :evas_object + callback :elm_tooltip_content_cb, [ :pointer, :pointer, :pointer ], :pointer # typedef Evas_Object *(*Elm_Tooltip_Item_Content_Cb) (void *data, Evas_Object *obj, Evas_Object *tooltip, void *item); - callback :elm_tooltip_item_content_cb, [ :pointer, :evas_object, :evas_object, :pointer ], :evas_object + callback :elm_tooltip_item_content_cb, [ :pointer, :pointer, :pointer, :pointer ], :pointer # # FUNCTIONS fcts = [ + # EAPI void elm_object_tooltip_orient_set(Evas_Object *obj, Elm_Tooltip_Orient orient); + [ :elm_object_tooltip_orient_set, [ :pointer, :elm_tooltip_orient ], :void ], + # EAPI Elm_Tooltip_Orient elm_object_tooltip_orient_get(const Evas_Object *obj); + [ :elm_object_tooltip_orient_get, [ :pointer ], :elm_tooltip_orient ], # EAPI void elm_object_tooltip_show(Evas_Object *obj); - [ :elm_object_tooltip_show, [ :evas_object ], :void ], + [ :elm_object_tooltip_show, [ :pointer ], :void ], # EAPI void elm_object_tooltip_hide(Evas_Object *obj); - [ :elm_object_tooltip_hide, [ :evas_object ], :void ], + [ :elm_object_tooltip_hide, [ :pointer ], :void ], # EAPI void elm_object_tooltip_text_set(Evas_Object *obj, const char *text); - [ :elm_object_tooltip_text_set, [ :evas_object, :string ], :void ], + [ :elm_object_tooltip_text_set, [ :pointer, :string ], :void ], # EAPI void elm_object_tooltip_domain_translatable_text_set(Evas_Object *obj, const char *domain, const char *text); - [ :elm_object_tooltip_domain_translatable_text_set, [ :evas_object, :string, :string ], :void ], + [ :elm_object_tooltip_domain_translatable_text_set, [ :pointer, :string, :string ], :void ], # EAPI void elm_object_tooltip_content_cb_set(Evas_Object *obj, Elm_Tooltip_Content_Cb func, const void *data, Evas_Smart_Cb del_cb); - [ :elm_object_tooltip_content_cb_set, [ :evas_object, :elm_tooltip_content_cb, :pointer, :evas_smart_cb ], :void ], + [ :elm_object_tooltip_content_cb_set, [ :pointer, :elm_tooltip_content_cb, :pointer, :evas_smart_cb ], :void ], # EAPI void elm_object_tooltip_unset(Evas_Object *obj); - [ :elm_object_tooltip_unset, [ :evas_object ], :void ], + [ :elm_object_tooltip_unset, [ :pointer ], :void ], # EAPI void elm_object_tooltip_style_set(Evas_Object *obj, const char *style); - [ :elm_object_tooltip_style_set, [ :evas_object, :string ], :void ], + [ :elm_object_tooltip_style_set, [ :pointer, :string ], :void ], # EAPI const char *elm_object_tooltip_style_get(const Evas_Object *obj); - [ :elm_object_tooltip_style_get, [ :evas_object ], :string ], + [ :elm_object_tooltip_style_get, [ :pointer ], :string ], # EAPI Eina_Bool elm_object_tooltip_window_mode_set(Evas_Object *obj, Eina_Bool disable); - [ :elm_object_tooltip_window_mode_set, [ :evas_object, :bool ], :bool ], + [ :elm_object_tooltip_window_mode_set, [ :pointer, :bool ], :bool ], # EAPI Eina_Bool elm_object_tooltip_window_mode_get(const Evas_Object *obj); - [ :elm_object_tooltip_window_mode_get, [ :evas_object ], :bool ], + [ :elm_object_tooltip_window_mode_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_transit.rb b/lib/efl/native/elm/elm_transit.rb index 1b7fdc8..66ff8f1 100644 --- a/lib/efl/native/elm/elm_transit.rb +++ b/lib/efl/native/elm/elm_transit.rb @@ -24,7 +24,7 @@ module Efl # ENUMS # typedef enum {...} Elm_Transit_Tween_Mode; enum :elm_transit_tween_mode, [ :elm_transit_tween_mode_linear, :elm_transit_tween_mode_sinusoidal, :elm_transit_tween_mode_decelerate, - :elm_transit_tween_mode_accelerate ] + :elm_transit_tween_mode_accelerate, :elm_transit_tween_mode_divisor_interp, :elm_transit_tween_mode_bounce, :elm_transit_tween_mode_spring ] # typedef enum {...} Elm_Transit_Effect_Flip_Axis; enum :elm_transit_effect_flip_axis, [ :elm_transit_effect_flip_axis_x, :elm_transit_effect_flip_axis_y ] # typedef enum {...} Elm_Transit_Effect_Wipe_Dir; @@ -58,9 +58,9 @@ module Efl # EAPI void elm_transit_effect_del(Elm_Transit *transit, Elm_Transit_Effect_Transition_Cb transition_cb, Elm_Transit_Effect *effect); [ :elm_transit_effect_del, [ :elm_transit, :elm_transit_effect_transition_cb, :pointer ], :void ], # EAPI void elm_transit_object_add(Elm_Transit *transit, Evas_Object *obj); - [ :elm_transit_object_add, [ :elm_transit, :evas_object ], :void ], + [ :elm_transit_object_add, [ :elm_transit, :pointer ], :void ], # EAPI void elm_transit_object_remove(Elm_Transit *transit, Evas_Object *obj); - [ :elm_transit_object_remove, [ :elm_transit, :evas_object ], :void ], + [ :elm_transit_object_remove, [ :elm_transit, :pointer ], :void ], # EAPI const Eina_List *elm_transit_objects_get(const Elm_Transit *transit); [ :elm_transit_objects_get, [ :elm_transit ], :eina_list ], # EAPI void elm_transit_objects_final_state_keep_set(Elm_Transit *transit, Eina_Bool state_keep); @@ -85,6 +85,10 @@ module Efl [ :elm_transit_tween_mode_set, [ :elm_transit, :elm_transit_tween_mode ], :void ], # EAPI Elm_Transit_Tween_Mode elm_transit_tween_mode_get(const Elm_Transit *transit); [ :elm_transit_tween_mode_get, [ :elm_transit ], :elm_transit_tween_mode ], + # EAPI void elm_transit_tween_mode_factor_set(Elm_Transit *transit, double v1, double v2); + [ :elm_transit_tween_mode_factor_set, [ :elm_transit, :double, :double ], :void ], + # EAPI void elm_transit_tween_mode_factor_get(const Elm_Transit *transit, double *v1, double *v2); + [ :elm_transit_tween_mode_factor_get, [ :elm_transit, :pointer, :pointer ], :void ], # EAPI void elm_transit_duration_set(Elm_Transit *transit, double duration); [ :elm_transit_duration_set, [ :elm_transit, :double ], :void ], # EAPI double elm_transit_duration_get(const Elm_Transit *transit); @@ -103,6 +107,8 @@ module Efl [ :elm_transit_chain_transit_del, [ :elm_transit, :elm_transit ], :void ], # EAPI Eina_List *elm_transit_chain_transits_get(const Elm_Transit *transit); [ :elm_transit_chain_transits_get, [ :elm_transit ], :eina_list ], + # EAPI void elm_transit_smooth_set(Elm_Transit *transit, Eina_Bool smooth); + [ :elm_transit_smooth_set, [ :elm_transit, :bool ], :void ], # EAPI Elm_Transit_Effect *elm_transit_effect_resizing_add(Elm_Transit *transit, Evas_Coord from_w, Evas_Coord from_h, Evas_Coord to_w, Evas_Coord to_h); [ :elm_transit_effect_resizing_add, [ :elm_transit, :int, :int, :int, :int ], :pointer ], # EAPI Elm_Transit_Effect *elm_transit_effect_translation_add(Elm_Transit *transit, Evas_Coord from_dx, Evas_Coord from_dy, Evas_Coord to_dx, Evas_Coord to_dy); diff --git a/lib/efl/native/elm/elm_video.rb b/lib/efl/native/elm/elm_video.rb index d803b70..94f6dd2 100644 --- a/lib/efl/native/elm/elm_video.rb +++ b/lib/efl/native/elm/elm_video.rb @@ -24,43 +24,43 @@ module Efl # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_player_add(Evas_Object *parent); - [ :elm_player_add, [ :evas_object ], :evas_object ], + [ :elm_player_add, [ :pointer ], :pointer ], # EAPI Evas_Object *elm_video_add(Evas_Object *parent); - [ :elm_video_add, [ :evas_object ], :evas_object ], + [ :elm_video_add, [ :pointer ], :pointer ], # EAPI Eina_Bool elm_video_file_set(Evas_Object *video, const char *filename); - [ :elm_video_file_set, [ :evas_object, :string ], :bool ], + [ :elm_video_file_set, [ :pointer, :string ], :bool ], # EAPI Evas_Object *elm_video_emotion_get(const Evas_Object *video); - [ :elm_video_emotion_get, [ :evas_object ], :evas_object ], + [ :elm_video_emotion_get, [ :pointer ], :pointer ], # EAPI void elm_video_play(Evas_Object *video); - [ :elm_video_play, [ :evas_object ], :void ], + [ :elm_video_play, [ :pointer ], :void ], # EAPI void elm_video_pause(Evas_Object *video); - [ :elm_video_pause, [ :evas_object ], :void ], + [ :elm_video_pause, [ :pointer ], :void ], # EAPI void elm_video_stop(Evas_Object *video); - [ :elm_video_stop, [ :evas_object ], :void ], + [ :elm_video_stop, [ :pointer ], :void ], # EAPI Eina_Bool elm_video_is_playing_get(const Evas_Object *video); - [ :elm_video_is_playing_get, [ :evas_object ], :bool ], + [ :elm_video_is_playing_get, [ :pointer ], :bool ], # EAPI Eina_Bool elm_video_is_seekable_get(const Evas_Object *video); - [ :elm_video_is_seekable_get, [ :evas_object ], :bool ], + [ :elm_video_is_seekable_get, [ :pointer ], :bool ], # EAPI Eina_Bool elm_video_audio_mute_get(const Evas_Object *video); - [ :elm_video_audio_mute_get, [ :evas_object ], :bool ], + [ :elm_video_audio_mute_get, [ :pointer ], :bool ], # EAPI void elm_video_audio_mute_set(Evas_Object *video, Eina_Bool mute); - [ :elm_video_audio_mute_set, [ :evas_object, :bool ], :void ], + [ :elm_video_audio_mute_set, [ :pointer, :bool ], :void ], # EAPI double elm_video_audio_level_get(const Evas_Object *video); - [ :elm_video_audio_level_get, [ :evas_object ], :double ], + [ :elm_video_audio_level_get, [ :pointer ], :double ], # EAPI void elm_video_audio_level_set(Evas_Object *video, double volume); - [ :elm_video_audio_level_set, [ :evas_object, :double ], :void ], + [ :elm_video_audio_level_set, [ :pointer, :double ], :void ], # EAPI double elm_video_play_position_get(const Evas_Object *video); - [ :elm_video_play_position_get, [ :evas_object ], :double ], + [ :elm_video_play_position_get, [ :pointer ], :double ], # EAPI void elm_video_play_position_set(Evas_Object *video, double position); - [ :elm_video_play_position_set, [ :evas_object, :double ], :void ], + [ :elm_video_play_position_set, [ :pointer, :double ], :void ], # EAPI double elm_video_play_length_get(const Evas_Object *video); - [ :elm_video_play_length_get, [ :evas_object ], :double ], + [ :elm_video_play_length_get, [ :pointer ], :double ], # EAPI void elm_video_remember_position_set(Evas_Object *video, Eina_Bool remember); - [ :elm_video_remember_position_set, [ :evas_object, :bool ], :void ], + [ :elm_video_remember_position_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_video_remember_position_get(const Evas_Object *video); - [ :elm_video_remember_position_get, [ :evas_object ], :bool ], + [ :elm_video_remember_position_get, [ :pointer ], :bool ], # EAPI const char *elm_video_title_get(const Evas_Object *video); - [ :elm_video_title_get, [ :evas_object ], :string ], + [ :elm_video_title_get, [ :pointer ], :string ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_web.rb b/lib/efl/native/elm/elm_web.rb index 858e77f..5a80cdb 100644 --- a/lib/efl/native/elm/elm_web.rb +++ b/lib/efl/native/elm/elm_web.rb @@ -45,118 +45,118 @@ module Efl # # CALLBACKS # typedef Evas_Object *(*Elm_Web_Window_Open) (void *data, Evas_Object *obj, Eina_Bool js, const Elm_Web_Window_Features *window_features); - callback :elm_web_window_open_cb, [ :pointer, :evas_object, :bool, :elm_web_window_features ], :evas_object + callback :elm_web_window_open_cb, [ :pointer, :pointer, :bool, :elm_web_window_features ], :pointer # typedef Evas_Object *(*Elm_Web_Dialog_Alert) (void *data, Evas_Object *obj, const char *message); - callback :elm_web_dialog_alert_cb, [ :pointer, :evas_object, :string ], :evas_object + callback :elm_web_dialog_alert_cb, [ :pointer, :pointer, :string ], :pointer # typedef Evas_Object *(*Elm_Web_Dialog_Confirm) (void *data, Evas_Object *obj, const char *message, Eina_Bool *ret); - callback :elm_web_dialog_confirm_cb, [ :pointer, :evas_object, :string, :pointer ], :evas_object + callback :elm_web_dialog_confirm_cb, [ :pointer, :pointer, :string, :pointer ], :pointer # typedef Evas_Object *(*Elm_Web_Dialog_Prompt) (void *data, Evas_Object *obj, const char *message, const char *def_value, const char **value, Eina_Bool *ret); - callback :elm_web_dialog_prompt_cb, [ :pointer, :evas_object, :string, :string, :pointer, :pointer ], :evas_object + callback :elm_web_dialog_prompt_cb, [ :pointer, :pointer, :string, :string, :pointer, :pointer ], :pointer # typedef Evas_Object *(*Elm_Web_Dialog_File_Selector) (void *data, Evas_Object *obj, Eina_Bool allows_multiple, Eina_List *accept_types, Eina_List **selected, Eina_Bool *ret); - callback :elm_web_dialog_file_selector_cb, [ :pointer, :evas_object, :bool, :eina_list, :eina_list, :pointer ], :evas_object + callback :elm_web_dialog_file_selector_cb, [ :pointer, :pointer, :bool, :eina_list, :eina_list, :pointer ], :pointer # typedef void (*Elm_Web_Console_Message) (void *data, Evas_Object *obj, const char *message, unsigned int line_number, const char *source_id); - callback :elm_web_console_message_cb, [ :pointer, :evas_object, :string, :uint, :string ], :void + callback :elm_web_console_message_cb, [ :pointer, :pointer, :string, :uint, :string ], :void # # FUNCTIONS fcts = [ # EAPI Evas_Object *elm_web_add(Evas_Object *parent); - [ :elm_web_add, [ :evas_object ], :evas_object ], - # EAPI void elm_web_useragent_set(Evas_Object *obj, const char *user_agent); - [ :elm_web_useragent_set, [ :evas_object, :string ], :void ], - # EAPI const char* elm_web_useragent_get(const Evas_Object *obj); - [ :elm_web_useragent_get, [ :evas_object ], :pointer ], + [ :elm_web_add, [ :pointer ], :pointer ], + # EAPI void elm_web_zoom_mode_set(Evas_Object *obj, Elm_Web_Zoom_Mode mode); + [ :elm_web_zoom_mode_set, [ :pointer, :elm_web_zoom_mode ], :void ], + # EAPI Elm_Web_Zoom_Mode elm_web_zoom_mode_get(const Evas_Object *obj); + [ :elm_web_zoom_mode_get, [ :pointer ], :elm_web_zoom_mode ], + # EAPI Eina_Bool elm_web_window_features_property_get(const Elm_Web_Window_Features *wf, Elm_Web_Window_Feature_Flag flag); + [ :elm_web_window_features_property_get, [ :elm_web_window_features, :elm_web_window_feature_flag ], :bool ], + # EAPI void elm_web_window_features_region_get(const Elm_Web_Window_Features *wf, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); + [ :elm_web_window_features_region_get, [ :elm_web_window_features, :pointer, :pointer, :pointer, :pointer ], :void ], + # EAPI void elm_web_window_features_ref(Elm_Web_Window_Features *wf); + [ :elm_web_window_features_ref, [ :elm_web_window_features ], :void ], + # EAPI void elm_web_window_features_unref(Elm_Web_Window_Features *wf); + [ :elm_web_window_features_unref, [ :elm_web_window_features ], :void ], # EAPI Evas_Object *elm_web_webkit_view_get(const Evas_Object *obj); - [ :elm_web_webkit_view_get, [ :evas_object ], :evas_object ], + [ :elm_web_webkit_view_get, [ :pointer ], :pointer ], # EAPI void elm_web_window_create_hook_set(Evas_Object *obj, Elm_Web_Window_Open func, void *data); - [ :elm_web_window_create_hook_set, [ :evas_object, :elm_web_window_open_cb, :pointer ], :void ], + [ :elm_web_window_create_hook_set, [ :pointer, :elm_web_window_open_cb, :pointer ], :void ], # EAPI void elm_web_dialog_alert_hook_set(Evas_Object *obj, Elm_Web_Dialog_Alert func, void *data); - [ :elm_web_dialog_alert_hook_set, [ :evas_object, :elm_web_dialog_alert_cb, :pointer ], :void ], + [ :elm_web_dialog_alert_hook_set, [ :pointer, :elm_web_dialog_alert_cb, :pointer ], :void ], # EAPI void elm_web_dialog_confirm_hook_set(Evas_Object *obj, Elm_Web_Dialog_Confirm func, void *data); - [ :elm_web_dialog_confirm_hook_set, [ :evas_object, :elm_web_dialog_confirm_cb, :pointer ], :void ], + [ :elm_web_dialog_confirm_hook_set, [ :pointer, :elm_web_dialog_confirm_cb, :pointer ], :void ], # EAPI void elm_web_dialog_prompt_hook_set(Evas_Object *obj, Elm_Web_Dialog_Prompt func, void *data); - [ :elm_web_dialog_prompt_hook_set, [ :evas_object, :elm_web_dialog_prompt_cb, :pointer ], :void ], + [ :elm_web_dialog_prompt_hook_set, [ :pointer, :elm_web_dialog_prompt_cb, :pointer ], :void ], # EAPI void elm_web_dialog_file_selector_hook_set(Evas_Object *obj, Elm_Web_Dialog_File_Selector func, void *data); - [ :elm_web_dialog_file_selector_hook_set, [ :evas_object, :elm_web_dialog_file_selector_cb, :pointer ], :void ], + [ :elm_web_dialog_file_selector_hook_set, [ :pointer, :elm_web_dialog_file_selector_cb, :pointer ], :void ], # EAPI void elm_web_console_message_hook_set(Evas_Object *obj, Elm_Web_Console_Message func, void *data); - [ :elm_web_console_message_hook_set, [ :evas_object, :elm_web_console_message_cb, :pointer ], :void ], + [ :elm_web_console_message_hook_set, [ :pointer, :elm_web_console_message_cb, :pointer ], :void ], + # EAPI void elm_web_useragent_set(Evas_Object *obj, const char *user_agent); + [ :elm_web_useragent_set, [ :pointer, :string ], :void ], + # EAPI const char* elm_web_useragent_get(const Evas_Object *obj); + [ :elm_web_useragent_get, [ :pointer ], :pointer ], # EAPI Eina_Bool elm_web_tab_propagate_get(const Evas_Object *obj); - [ :elm_web_tab_propagate_get, [ :evas_object ], :bool ], + [ :elm_web_tab_propagate_get, [ :pointer ], :bool ], # EAPI void elm_web_tab_propagate_set(Evas_Object *obj, Eina_Bool propagate); - [ :elm_web_tab_propagate_set, [ :evas_object, :bool ], :void ], - # EAPI Eina_Bool elm_web_uri_set(Evas_Object *obj, const char *uri); - [ :elm_web_uri_set, [ :evas_object, :string ], :bool ], - # EAPI const char *elm_web_uri_get(const Evas_Object *obj); - [ :elm_web_uri_get, [ :evas_object ], :string ], + [ :elm_web_tab_propagate_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_web_url_set(Evas_Object *obj, const char *url); + [ :elm_web_url_set, [ :pointer, :string ], :bool ], + # EAPI const char *elm_web_url_get(const Evas_Object *obj); + [ :elm_web_url_get, [ :pointer ], :string ], # EAPI const char *elm_web_title_get(const Evas_Object *obj); - [ :elm_web_title_get, [ :evas_object ], :string ], + [ :elm_web_title_get, [ :pointer ], :string ], # EAPI void elm_web_bg_color_set(Evas_Object *obj, int r, int g, int b, int a); - [ :elm_web_bg_color_set, [ :evas_object, :int, :int, :int, :int ], :void ], + [ :elm_web_bg_color_set, [ :pointer, :int, :int, :int, :int ], :void ], # EAPI void elm_web_bg_color_get(const Evas_Object *obj, int *r, int *g, int *b, int *a); - [ :elm_web_bg_color_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ], + [ :elm_web_bg_color_get, [ :pointer, :pointer, :pointer, :pointer, :pointer ], :void ], # EAPI const char *elm_web_selection_get(const Evas_Object *obj); - [ :elm_web_selection_get, [ :evas_object ], :string ], + [ :elm_web_selection_get, [ :pointer ], :string ], # EAPI void elm_web_popup_selected_set(Evas_Object *obj, int index); - [ :elm_web_popup_selected_set, [ :evas_object, :int ], :void ], + [ :elm_web_popup_selected_set, [ :pointer, :int ], :void ], # EAPI Eina_Bool elm_web_popup_destroy(Evas_Object *obj); - [ :elm_web_popup_destroy, [ :evas_object ], :bool ], + [ :elm_web_popup_destroy, [ :pointer ], :bool ], # EAPI Eina_Bool elm_web_text_search(const Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool forward, Eina_Bool wrap); - [ :elm_web_text_search, [ :evas_object, :string, :bool, :bool, :bool ], :bool ], + [ :elm_web_text_search, [ :pointer, :string, :bool, :bool, :bool ], :bool ], # EAPI unsigned int elm_web_text_matches_mark(Evas_Object *obj, const char *string, Eina_Bool case_sensitive, Eina_Bool highlight, unsigned int limit); - [ :elm_web_text_matches_mark, [ :evas_object, :string, :bool, :bool, :uint ], :uint ], + [ :elm_web_text_matches_mark, [ :pointer, :string, :bool, :bool, :uint ], :uint ], # EAPI Eina_Bool elm_web_text_matches_unmark_all(Evas_Object *obj); - [ :elm_web_text_matches_unmark_all, [ :evas_object ], :bool ], + [ :elm_web_text_matches_unmark_all, [ :pointer ], :bool ], # EAPI Eina_Bool elm_web_text_matches_highlight_set(Evas_Object *obj, Eina_Bool highlight); - [ :elm_web_text_matches_highlight_set, [ :evas_object, :bool ], :bool ], + [ :elm_web_text_matches_highlight_set, [ :pointer, :bool ], :bool ], # EAPI Eina_Bool elm_web_text_matches_highlight_get(const Evas_Object *obj); - [ :elm_web_text_matches_highlight_get, [ :evas_object ], :bool ], + [ :elm_web_text_matches_highlight_get, [ :pointer ], :bool ], # EAPI double elm_web_load_progress_get(const Evas_Object *obj); - [ :elm_web_load_progress_get, [ :evas_object ], :double ], + [ :elm_web_load_progress_get, [ :pointer ], :double ], # EAPI Eina_Bool elm_web_stop(Evas_Object *obj); - [ :elm_web_stop, [ :evas_object ], :bool ], + [ :elm_web_stop, [ :pointer ], :bool ], # EAPI Eina_Bool elm_web_reload(Evas_Object *obj); - [ :elm_web_reload, [ :evas_object ], :bool ], + [ :elm_web_reload, [ :pointer ], :bool ], # EAPI Eina_Bool elm_web_reload_full(Evas_Object *obj); - [ :elm_web_reload_full, [ :evas_object ], :bool ], + [ :elm_web_reload_full, [ :pointer ], :bool ], # EAPI Eina_Bool elm_web_back(Evas_Object *obj); - [ :elm_web_back, [ :evas_object ], :bool ], + [ :elm_web_back, [ :pointer ], :bool ], # EAPI Eina_Bool elm_web_forward(Evas_Object *obj); - [ :elm_web_forward, [ :evas_object ], :bool ], + [ :elm_web_forward, [ :pointer ], :bool ], # EAPI Eina_Bool elm_web_navigate(Evas_Object *obj, int steps); - [ :elm_web_navigate, [ :evas_object, :int ], :bool ], + [ :elm_web_navigate, [ :pointer, :int ], :bool ], # EAPI Eina_Bool elm_web_back_possible_get(Evas_Object *obj); - [ :elm_web_back_possible_get, [ :evas_object ], :bool ], + [ :elm_web_back_possible_get, [ :pointer ], :bool ], # EAPI Eina_Bool elm_web_forward_possible_get(Evas_Object *obj); - [ :elm_web_forward_possible_get, [ :evas_object ], :bool ], + [ :elm_web_forward_possible_get, [ :pointer ], :bool ], # EAPI Eina_Bool elm_web_navigate_possible_get(Evas_Object *obj, int steps); - [ :elm_web_navigate_possible_get, [ :evas_object, :int ], :bool ], + [ :elm_web_navigate_possible_get, [ :pointer, :int ], :bool ], # EAPI Eina_Bool elm_web_history_enabled_get(const Evas_Object *obj); - [ :elm_web_history_enabled_get, [ :evas_object ], :bool ], + [ :elm_web_history_enabled_get, [ :pointer ], :bool ], # EAPI void elm_web_history_enabled_set(Evas_Object *obj, Eina_Bool enabled); - [ :elm_web_history_enabled_set, [ :evas_object, :bool ], :void ], + [ :elm_web_history_enabled_set, [ :pointer, :bool ], :void ], # EAPI void elm_web_zoom_set(Evas_Object *obj, double zoom); - [ :elm_web_zoom_set, [ :evas_object, :double ], :void ], + [ :elm_web_zoom_set, [ :pointer, :double ], :void ], # EAPI double elm_web_zoom_get(const Evas_Object *obj); - [ :elm_web_zoom_get, [ :evas_object ], :double ], - # EAPI void elm_web_zoom_mode_set(Evas_Object *obj, Elm_Web_Zoom_Mode mode); - [ :elm_web_zoom_mode_set, [ :evas_object, :elm_web_zoom_mode ], :void ], - # EAPI Elm_Web_Zoom_Mode elm_web_zoom_mode_get(const Evas_Object *obj); - [ :elm_web_zoom_mode_get, [ :evas_object ], :elm_web_zoom_mode ], + [ :elm_web_zoom_get, [ :pointer ], :double ], # EAPI void elm_web_region_show(Evas_Object *obj, int x, int y, int w, int h); - [ :elm_web_region_show, [ :evas_object, :int, :int, :int, :int ], :void ], + [ :elm_web_region_show, [ :pointer, :int, :int, :int, :int ], :void ], # EAPI void elm_web_region_bring_in(Evas_Object *obj, int x, int y, int w, int h); - [ :elm_web_region_bring_in, [ :evas_object, :int, :int, :int, :int ], :void ], + [ :elm_web_region_bring_in, [ :pointer, :int, :int, :int, :int ], :void ], # EAPI void elm_web_inwin_mode_set(Evas_Object *obj, Eina_Bool value); - [ :elm_web_inwin_mode_set, [ :evas_object, :bool ], :void ], + [ :elm_web_inwin_mode_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_web_inwin_mode_get(const Evas_Object *obj); - [ :elm_web_inwin_mode_get, [ :evas_object ], :bool ], - # EAPI void elm_web_window_features_ref(Elm_Web_Window_Features *wf); - [ :elm_web_window_features_ref, [ :elm_web_window_features ], :void ], - # EAPI void elm_web_window_features_unref(Elm_Web_Window_Features *wf); - [ :elm_web_window_features_unref, [ :elm_web_window_features ], :void ], - # EAPI Eina_Bool elm_web_window_features_property_get(const Elm_Web_Window_Features *wf, Elm_Web_Window_Feature_Flag flag); - [ :elm_web_window_features_property_get, [ :elm_web_window_features, :elm_web_window_feature_flag ], :bool ], - # EAPI void elm_web_window_features_region_get(const Elm_Web_Window_Features *wf, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h); - [ :elm_web_window_features_region_get, [ :elm_web_window_features, :pointer, :pointer, :pointer, :pointer ], :void ], + [ :elm_web_inwin_mode_get, [ :pointer ], :bool ], ] # attach_fcts fcts diff --git a/lib/efl/native/elm/elm_win.rb b/lib/efl/native/elm/elm_win.rb index 67d6cb8..aa67c08 100644 --- a/lib/efl/native/elm/elm_win.rb +++ b/lib/efl/native/elm/elm_win.rb @@ -47,190 +47,210 @@ module Efl # # FUNCTIONS fcts = [ + # EAPI Eina_Bool elm_win_trap_set(const Elm_Win_Trap *trap); + [ :elm_win_trap_set, [ :elm_win_trap ], :bool ], # EAPI Evas_Object *elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type); - [ :elm_win_add, [ :evas_object, :string, :elm_win_type ], :evas_object ], + [ :elm_win_add, [ :pointer, :string, :elm_win_type ], :pointer ], # EAPI Evas_Object *elm_win_util_standard_add(const char *name, const char *title); - [ :elm_win_util_standard_add, [ :string, :string ], :evas_object ], + [ :elm_win_util_standard_add, [ :string, :string ], :pointer ], # EAPI void elm_win_resize_object_add(Evas_Object *obj, Evas_Object *subobj); - [ :elm_win_resize_object_add, [ :evas_object, :evas_object ], :void ], + [ :elm_win_resize_object_add, [ :pointer, :pointer ], :void ], # EAPI void elm_win_resize_object_del(Evas_Object *obj, Evas_Object *subobj); - [ :elm_win_resize_object_del, [ :evas_object, :evas_object ], :void ], + [ :elm_win_resize_object_del, [ :pointer, :pointer ], :void ], # EAPI void elm_win_title_set(Evas_Object *obj, const char *title); - [ :elm_win_title_set, [ :evas_object, :string ], :void ], + [ :elm_win_title_set, [ :pointer, :string ], :void ], # EAPI const char *elm_win_title_get(const Evas_Object *obj); - [ :elm_win_title_get, [ :evas_object ], :string ], + [ :elm_win_title_get, [ :pointer ], :string ], # EAPI void elm_win_icon_name_set(Evas_Object *obj, const char *icon_name); - [ :elm_win_icon_name_set, [ :evas_object, :string ], :void ], + [ :elm_win_icon_name_set, [ :pointer, :string ], :void ], # EAPI const char *elm_win_icon_name_get(const Evas_Object *obj); - [ :elm_win_icon_name_get, [ :evas_object ], :string ], + [ :elm_win_icon_name_get, [ :pointer ], :string ], # EAPI void elm_win_role_set(Evas_Object *obj, const char *role); - [ :elm_win_role_set, [ :evas_object, :string ], :void ], + [ :elm_win_role_set, [ :pointer, :string ], :void ], # EAPI const char *elm_win_role_get(const Evas_Object *obj); - [ :elm_win_role_get, [ :evas_object ], :string ], + [ :elm_win_role_get, [ :pointer ], :string ], # EAPI void elm_win_icon_object_set(Evas_Object *obj, Evas_Object *icon); - [ :elm_win_icon_object_set, [ :evas_object, :evas_object ], :void ], + [ :elm_win_icon_object_set, [ :pointer, :pointer ], :void ], # EAPI const Evas_Object *elm_win_icon_object_get(const Evas_Object *obj); - [ :elm_win_icon_object_get, [ :evas_object ], :evas_object ], + [ :elm_win_icon_object_get, [ :pointer ], :pointer ], # EAPI void elm_win_autodel_set(Evas_Object *obj, Eina_Bool autodel); - [ :elm_win_autodel_set, [ :evas_object, :bool ], :void ], + [ :elm_win_autodel_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_autodel_get(const Evas_Object *obj); - [ :elm_win_autodel_get, [ :evas_object ], :bool ], + [ :elm_win_autodel_get, [ :pointer ], :bool ], # EAPI void elm_win_activate(Evas_Object *obj); - [ :elm_win_activate, [ :evas_object ], :void ], + [ :elm_win_activate, [ :pointer ], :void ], # EAPI void elm_win_lower(Evas_Object *obj); - [ :elm_win_lower, [ :evas_object ], :void ], + [ :elm_win_lower, [ :pointer ], :void ], # EAPI void elm_win_raise(Evas_Object *obj); - [ :elm_win_raise, [ :evas_object ], :void ], + [ :elm_win_raise, [ :pointer ], :void ], # EAPI void elm_win_center(Evas_Object *obj, Eina_Bool h, Eina_Bool v); - [ :elm_win_center, [ :evas_object, :bool, :bool ], :void ], + [ :elm_win_center, [ :pointer, :bool, :bool ], :void ], # EAPI void elm_win_borderless_set(Evas_Object *obj, Eina_Bool borderless); - [ :elm_win_borderless_set, [ :evas_object, :bool ], :void ], + [ :elm_win_borderless_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_borderless_get(const Evas_Object *obj); - [ :elm_win_borderless_get, [ :evas_object ], :bool ], + [ :elm_win_borderless_get, [ :pointer ], :bool ], # EAPI void elm_win_shaped_set(Evas_Object *obj, Eina_Bool shaped); - [ :elm_win_shaped_set, [ :evas_object, :bool ], :void ], + [ :elm_win_shaped_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_shaped_get(const Evas_Object *obj); - [ :elm_win_shaped_get, [ :evas_object ], :bool ], - # EAPI void elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha); - [ :elm_win_alpha_set, [ :evas_object, :bool ], :void ], + [ :elm_win_shaped_get, [ :pointer ], :bool ], + # EAPI void elm_win_alpha_set(Evas_Object *obj, Eina_Bool enabled); + [ :elm_win_alpha_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_alpha_get(const Evas_Object *obj); - [ :elm_win_alpha_get, [ :evas_object ], :bool ], + [ :elm_win_alpha_get, [ :pointer ], :bool ], # EAPI void elm_win_override_set(Evas_Object *obj, Eina_Bool override); - [ :elm_win_override_set, [ :evas_object, :bool ], :void ], + [ :elm_win_override_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_override_get(const Evas_Object *obj); - [ :elm_win_override_get, [ :evas_object ], :bool ], + [ :elm_win_override_get, [ :pointer ], :bool ], # EAPI void elm_win_fullscreen_set(Evas_Object *obj, Eina_Bool fullscreen); - [ :elm_win_fullscreen_set, [ :evas_object, :bool ], :void ], + [ :elm_win_fullscreen_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_fullscreen_get(const Evas_Object *obj); - [ :elm_win_fullscreen_get, [ :evas_object ], :bool ], + [ :elm_win_fullscreen_get, [ :pointer ], :bool ], + # EAPI Evas_Object *elm_win_main_menu_get(const Evas_Object *obj); + [ :elm_win_main_menu_get, [ :pointer ], :pointer ], # EAPI void elm_win_maximized_set(Evas_Object *obj, Eina_Bool maximized); - [ :elm_win_maximized_set, [ :evas_object, :bool ], :void ], + [ :elm_win_maximized_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_maximized_get(const Evas_Object *obj); - [ :elm_win_maximized_get, [ :evas_object ], :bool ], + [ :elm_win_maximized_get, [ :pointer ], :bool ], # EAPI void elm_win_iconified_set(Evas_Object *obj, Eina_Bool iconified); - [ :elm_win_iconified_set, [ :evas_object, :bool ], :void ], + [ :elm_win_iconified_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_iconified_get(const Evas_Object *obj); - [ :elm_win_iconified_get, [ :evas_object ], :bool ], + [ :elm_win_iconified_get, [ :pointer ], :bool ], # EAPI void elm_win_withdrawn_set(Evas_Object *obj, Eina_Bool withdrawn); - [ :elm_win_withdrawn_set, [ :evas_object, :bool ], :void ], + [ :elm_win_withdrawn_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_withdrawn_get(const Evas_Object *obj); - [ :elm_win_withdrawn_get, [ :evas_object ], :bool ], + [ :elm_win_withdrawn_get, [ :pointer ], :bool ], + # EAPI void elm_win_available_profiles_set(Evas_Object *obj, const char **profiles, unsigned int count); + [ :elm_win_available_profiles_set, [ :pointer, :pointer, :uint ], :void ], + # EAPI Eina_Bool elm_win_available_profiles_get(Evas_Object *obj, char ***profiles, unsigned int *count); + [ :elm_win_available_profiles_get, [ :pointer, :pointer, :pointer ], :bool ], + # EAPI void elm_win_profile_set(Evas_Object *obj, const char *profile); + [ :elm_win_profile_set, [ :pointer, :string ], :void ], + # EAPI const char *elm_win_profile_get(const Evas_Object *obj); + [ :elm_win_profile_get, [ :pointer ], :string ], # EAPI void elm_win_urgent_set(Evas_Object *obj, Eina_Bool urgent); - [ :elm_win_urgent_set, [ :evas_object, :bool ], :void ], + [ :elm_win_urgent_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_urgent_get(const Evas_Object *obj); - [ :elm_win_urgent_get, [ :evas_object ], :bool ], + [ :elm_win_urgent_get, [ :pointer ], :bool ], # EAPI void elm_win_demand_attention_set(Evas_Object *obj, Eina_Bool demand_attention); - [ :elm_win_demand_attention_set, [ :evas_object, :bool ], :void ], + [ :elm_win_demand_attention_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_demand_attention_get(const Evas_Object *obj); - [ :elm_win_demand_attention_get, [ :evas_object ], :bool ], + [ :elm_win_demand_attention_get, [ :pointer ], :bool ], # EAPI void elm_win_modal_set(Evas_Object *obj, Eina_Bool modal); - [ :elm_win_modal_set, [ :evas_object, :bool ], :void ], + [ :elm_win_modal_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_modal_get(const Evas_Object *obj); - [ :elm_win_modal_get, [ :evas_object ], :bool ], + [ :elm_win_modal_get, [ :pointer ], :bool ], # EAPI void elm_win_aspect_set(Evas_Object *obj, double aspect); - [ :elm_win_aspect_set, [ :evas_object, :double ], :void ], + [ :elm_win_aspect_set, [ :pointer, :double ], :void ], # EAPI double elm_win_aspect_get(const Evas_Object *obj); - [ :elm_win_aspect_get, [ :evas_object ], :double ], + [ :elm_win_aspect_get, [ :pointer ], :double ], # EAPI void elm_win_size_base_set(Evas_Object *obj, int w, int h); - [ :elm_win_size_base_set, [ :evas_object, :int, :int ], :void ], + [ :elm_win_size_base_set, [ :pointer, :int, :int ], :void ], # EAPI void elm_win_size_base_get(Evas_Object *obj, int *w, int *h); - [ :elm_win_size_base_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_win_size_base_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_win_size_step_set(Evas_Object *obj, int w, int h); - [ :elm_win_size_step_set, [ :evas_object, :int, :int ], :void ], + [ :elm_win_size_step_set, [ :pointer, :int, :int ], :void ], # EAPI void elm_win_size_step_get(Evas_Object *obj, int *w, int *h); - [ :elm_win_size_step_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_win_size_step_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_win_layer_set(Evas_Object *obj, int layer); - [ :elm_win_layer_set, [ :evas_object, :int ], :void ], + [ :elm_win_layer_set, [ :pointer, :int ], :void ], # EAPI int elm_win_layer_get(const Evas_Object *obj); - [ :elm_win_layer_get, [ :evas_object ], :int ], + [ :elm_win_layer_get, [ :pointer ], :int ], # EAPI void elm_win_norender_push(Evas_Object *obj); - [ :elm_win_norender_push, [ :evas_object ], :void ], + [ :elm_win_norender_push, [ :pointer ], :void ], # EAPI void elm_win_norender_pop(Evas_Object *obj); - [ :elm_win_norender_pop, [ :evas_object ], :void ], + [ :elm_win_norender_pop, [ :pointer ], :void ], # EAPI int elm_win_norender_get(Evas_Object *obj); - [ :elm_win_norender_get, [ :evas_object ], :int ], + [ :elm_win_norender_get, [ :pointer ], :int ], # EAPI void elm_win_render(Evas_Object *obj); - [ :elm_win_render, [ :evas_object ], :void ], + [ :elm_win_render, [ :pointer ], :void ], # EAPI void elm_win_rotation_set(Evas_Object *obj, int rotation); - [ :elm_win_rotation_set, [ :evas_object, :int ], :void ], + [ :elm_win_rotation_set, [ :pointer, :int ], :void ], # EAPI void elm_win_rotation_with_resize_set(Evas_Object *obj, int rotation); - [ :elm_win_rotation_with_resize_set, [ :evas_object, :int ], :void ], + [ :elm_win_rotation_with_resize_set, [ :pointer, :int ], :void ], # EAPI int elm_win_rotation_get(const Evas_Object *obj); - [ :elm_win_rotation_get, [ :evas_object ], :int ], + [ :elm_win_rotation_get, [ :pointer ], :int ], # EAPI void elm_win_sticky_set(Evas_Object *obj, Eina_Bool sticky); - [ :elm_win_sticky_set, [ :evas_object, :bool ], :void ], + [ :elm_win_sticky_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_sticky_get(const Evas_Object *obj); - [ :elm_win_sticky_get, [ :evas_object ], :bool ], + [ :elm_win_sticky_get, [ :pointer ], :bool ], # EAPI void elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant); - [ :elm_win_conformant_set, [ :evas_object, :bool ], :void ], + [ :elm_win_conformant_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_conformant_get(const Evas_Object *obj); - [ :elm_win_conformant_get, [ :evas_object ], :bool ], + [ :elm_win_conformant_get, [ :pointer ], :bool ], # EAPI void elm_win_quickpanel_set(Evas_Object *obj, Eina_Bool quickpanel); - [ :elm_win_quickpanel_set, [ :evas_object, :bool ], :void ], + [ :elm_win_quickpanel_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_quickpanel_get(const Evas_Object *obj); - [ :elm_win_quickpanel_get, [ :evas_object ], :bool ], + [ :elm_win_quickpanel_get, [ :pointer ], :bool ], # EAPI void elm_win_quickpanel_priority_major_set(Evas_Object *obj, int priority); - [ :elm_win_quickpanel_priority_major_set, [ :evas_object, :int ], :void ], + [ :elm_win_quickpanel_priority_major_set, [ :pointer, :int ], :void ], # EAPI int elm_win_quickpanel_priority_major_get(const Evas_Object *obj); - [ :elm_win_quickpanel_priority_major_get, [ :evas_object ], :int ], + [ :elm_win_quickpanel_priority_major_get, [ :pointer ], :int ], # EAPI void elm_win_quickpanel_priority_minor_set(Evas_Object *obj, int priority); - [ :elm_win_quickpanel_priority_minor_set, [ :evas_object, :int ], :void ], + [ :elm_win_quickpanel_priority_minor_set, [ :pointer, :int ], :void ], # EAPI int elm_win_quickpanel_priority_minor_get(const Evas_Object *obj); - [ :elm_win_quickpanel_priority_minor_get, [ :evas_object ], :int ], + [ :elm_win_quickpanel_priority_minor_get, [ :pointer ], :int ], # EAPI void elm_win_quickpanel_zone_set(Evas_Object *obj, int zone); - [ :elm_win_quickpanel_zone_set, [ :evas_object, :int ], :void ], + [ :elm_win_quickpanel_zone_set, [ :pointer, :int ], :void ], # EAPI int elm_win_quickpanel_zone_get(const Evas_Object *obj); - [ :elm_win_quickpanel_zone_get, [ :evas_object ], :int ], + [ :elm_win_quickpanel_zone_get, [ :pointer ], :int ], # EAPI void elm_win_prop_focus_skip_set(Evas_Object *obj, Eina_Bool skip); - [ :elm_win_prop_focus_skip_set, [ :evas_object, :bool ], :void ], + [ :elm_win_prop_focus_skip_set, [ :pointer, :bool ], :void ], # EAPI void elm_win_illume_command_send(Evas_Object *obj, Elm_Illume_Command command, void *params); - [ :elm_win_illume_command_send, [ :evas_object, :elm_illume_command, :pointer ], :void ], + [ :elm_win_illume_command_send, [ :pointer, :elm_illume_command, :pointer ], :void ], # EAPI Evas_Object *elm_win_inlined_image_object_get(Evas_Object *obj); - [ :elm_win_inlined_image_object_get, [ :evas_object ], :evas_object ], + [ :elm_win_inlined_image_object_get, [ :pointer ], :pointer ], # EAPI Eina_Bool elm_win_focus_get(const Evas_Object *obj); - [ :elm_win_focus_get, [ :evas_object ], :bool ], + [ :elm_win_focus_get, [ :pointer ], :bool ], # EAPI void elm_win_screen_constrain_set(Evas_Object *obj, Eina_Bool constrain); - [ :elm_win_screen_constrain_set, [ :evas_object, :bool ], :void ], + [ :elm_win_screen_constrain_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_screen_constrain_get(Evas_Object *obj); - [ :elm_win_screen_constrain_get, [ :evas_object ], :bool ], + [ :elm_win_screen_constrain_get, [ :pointer ], :bool ], # EAPI void elm_win_screen_size_get(const Evas_Object *obj, int *x, int *y, int *w, int *h); - [ :elm_win_screen_size_get, [ :evas_object, :pointer, :pointer, :pointer, :pointer ], :void ], + [ :elm_win_screen_size_get, [ :pointer, :pointer, :pointer, :pointer, :pointer ], :void ], # EAPI void elm_win_screen_dpi_get(const Evas_Object *obj, int *xdpi, int *ydpi); - [ :elm_win_screen_dpi_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_win_screen_dpi_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI void elm_win_focus_highlight_enabled_set(Evas_Object *obj, Eina_Bool enabled); - [ :elm_win_focus_highlight_enabled_set, [ :evas_object, :bool ], :void ], + [ :elm_win_focus_highlight_enabled_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_focus_highlight_enabled_get(const Evas_Object *obj); - [ :elm_win_focus_highlight_enabled_get, [ :evas_object ], :bool ], + [ :elm_win_focus_highlight_enabled_get, [ :pointer ], :bool ], # EAPI void elm_win_focus_highlight_style_set(Evas_Object *obj, const char *style); - [ :elm_win_focus_highlight_style_set, [ :evas_object, :string ], :void ], + [ :elm_win_focus_highlight_style_set, [ :pointer, :string ], :void ], # EAPI const char *elm_win_focus_highlight_style_get(const Evas_Object *obj); - [ :elm_win_focus_highlight_style_get, [ :evas_object ], :string ], + [ :elm_win_focus_highlight_style_get, [ :pointer ], :string ], + # EAPI void elm_win_focus_highlight_animate_set(Evas_Object *obj, Eina_Bool enabled); + [ :elm_win_focus_highlight_animate_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_win_focus_highlight_animate_get(const Evas_Object *obj); + [ :elm_win_focus_highlight_animate_get, [ :pointer ], :bool ], # EAPI void elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode); - [ :elm_win_keyboard_mode_set, [ :evas_object, :elm_win_keyboard_mode ], :void ], + [ :elm_win_keyboard_mode_set, [ :pointer, :elm_win_keyboard_mode ], :void ], # EAPI Elm_Win_Keyboard_Mode elm_win_keyboard_mode_get(const Evas_Object *obj); - [ :elm_win_keyboard_mode_get, [ :evas_object ], :elm_win_keyboard_mode ], + [ :elm_win_keyboard_mode_get, [ :pointer ], :elm_win_keyboard_mode ], # EAPI void elm_win_keyboard_win_set(Evas_Object *obj, Eina_Bool is_keyboard); - [ :elm_win_keyboard_win_set, [ :evas_object, :bool ], :void ], + [ :elm_win_keyboard_win_set, [ :pointer, :bool ], :void ], # EAPI Eina_Bool elm_win_keyboard_win_get(const Evas_Object *obj); - [ :elm_win_keyboard_win_get, [ :evas_object ], :bool ], + [ :elm_win_keyboard_win_get, [ :pointer ], :bool ], # EAPI void elm_win_indicator_mode_set(Evas_Object *obj, Elm_Win_Indicator_Mode mode); - [ :elm_win_indicator_mode_set, [ :evas_object, :elm_win_indicator_mode ], :void ], + [ :elm_win_indicator_mode_set, [ :pointer, :elm_win_indicator_mode ], :void ], # EAPI Elm_Win_Indicator_Mode elm_win_indicator_mode_get(const Evas_Object *obj); - [ :elm_win_indicator_mode_get, [ :evas_object ], :elm_win_indicator_mode ], + [ :elm_win_indicator_mode_get, [ :pointer ], :elm_win_indicator_mode ], # EAPI void elm_win_indicator_opacity_set(Evas_Object *obj, Elm_Win_Indicator_Opacity_Mode mode); - [ :elm_win_indicator_opacity_set, [ :evas_object, :elm_win_indicator_opacity_mode ], :void ], + [ :elm_win_indicator_opacity_set, [ :pointer, :elm_win_indicator_opacity_mode ], :void ], # EAPI Elm_Win_Indicator_Opacity_Mode elm_win_indicator_opacity_get(const Evas_Object *obj); - [ :elm_win_indicator_opacity_get, [ :evas_object ], :elm_win_indicator_opacity_mode ], + [ :elm_win_indicator_opacity_get, [ :pointer ], :elm_win_indicator_opacity_mode ], # EAPI void elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y); - [ :elm_win_screen_position_get, [ :evas_object, :pointer, :pointer ], :void ], + [ :elm_win_screen_position_get, [ :pointer, :pointer, :pointer ], :void ], # EAPI Eina_Bool elm_win_socket_listen(Evas_Object *obj, const char *svcname, int svcnum, Eina_Bool svcsys); - [ :elm_win_socket_listen, [ :evas_object, :string, :int, :bool ], :bool ], + [ :elm_win_socket_listen, [ :pointer, :string, :int, :bool ], :bool ], # EAPI Ecore_X_Window elm_win_xwindow_get(const Evas_Object *obj); - [ :elm_win_xwindow_get, [ :evas_object ], :uint ], + [ :elm_win_xwindow_get, [ :pointer ], :uint ], # EAPI Ecore_Wl_Window *elm_win_wl_window_get(const Evas_Object *obj); - [ :elm_win_wl_window_get, [ :evas_object ], :ecore_wl_window ], - # EAPI Eina_Bool elm_win_trap_set(const Elm_Win_Trap *trap); - [ :elm_win_trap_set, [ :elm_win_trap ], :bool ], + [ :elm_win_wl_window_get, [ :pointer ], :ecore_wl_window ], + # EAPI void elm_win_floating_mode_set(Evas_Object *obj, Eina_Bool floating); + [ :elm_win_floating_mode_set, [ :pointer, :bool ], :void ], + # EAPI Eina_Bool elm_win_floating_mode_get(const Evas_Object *obj); + [ :elm_win_floating_mode_get, [ :pointer ], :bool ], + # EAPI Ecore_Window elm_win_window_id_get(const Evas_Object *obj); + [ :elm_win_window_id_get, [ :pointer ], :pointer ], ] # attach_fcts fcts |