summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-30 16:40:22 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-08-31 11:22:04 +0900
commitb6bab481aa8c4297f7692422b61dacf08f9e1d10 (patch)
tree82dceab2ef8b35e57eb10cb04a1f43345d1ed876 /src/lib/elementary/elm_widget.h
parentb0fc5dde62f6392ccf2a46c5be6265e72260b137 (diff)
widget: Mark old focus API as beta.
It's not beta. It's about to die. Also, move #define ELM_WIDGET_BETA to the common header file, as it is consequently required by ALL widgets. :( Ping @bu5hm4n :) Ref T5363
Diffstat (limited to 'src/lib/elementary/elm_widget.h')
-rw-r--r--src/lib/elementary/elm_widget.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/lib/elementary/elm_widget.h b/src/lib/elementary/elm_widget.h
index 4a9abca050..453672b924 100644
--- a/src/lib/elementary/elm_widget.h
+++ b/src/lib/elementary/elm_widget.h
@@ -666,34 +666,18 @@ EAPI void elm_widget_access_highlight_in_theme_set(Evas_Object *obj,
666EAPI Eina_Bool elm_widget_access_highlight_in_theme_get(const Evas_Object *obj); 666EAPI Eina_Bool elm_widget_access_highlight_in_theme_get(const Evas_Object *obj);
667EAPI Eina_Bool elm_widget_focus_get(const Evas_Object *obj); 667EAPI Eina_Bool elm_widget_focus_get(const Evas_Object *obj);
668EAPI Eina_Bool elm_widget_highlight_get(const Evas_Object *obj); 668EAPI Eina_Bool elm_widget_highlight_get(const Evas_Object *obj);
669EAPI Evas_Object *elm_widget_focused_object_get(const Evas_Object *obj);
670EAPI Evas_Object *elm_widget_top_get(const Evas_Object *obj); 669EAPI Evas_Object *elm_widget_top_get(const Evas_Object *obj);
671EAPI Eina_Bool elm_widget_is(const Evas_Object *obj); 670EAPI Eina_Bool elm_widget_is(const Evas_Object *obj);
672EAPI Evas_Object *elm_widget_parent_widget_get(const Evas_Object *obj); 671EAPI Evas_Object *elm_widget_parent_widget_get(const Evas_Object *obj);
673EAPI void elm_widget_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data); 672EAPI void elm_widget_event_callback_add(Evas_Object *obj, Elm_Event_Cb func, const void *data);
674EAPI void *elm_widget_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data); 673EAPI void *elm_widget_event_callback_del(Evas_Object *obj, Elm_Event_Cb func, const void *data);
675EAPI void elm_widget_focus_custom_chain_set(Evas_Object *obj, Eina_List *objs);
676EAPI void elm_widget_focus_custom_chain_unset(Evas_Object *obj);
677EAPI const Eina_List *elm_widget_focus_custom_chain_get(const Evas_Object *obj);
678EAPI void elm_widget_focus_custom_chain_append(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child);
679EAPI void elm_widget_focus_custom_chain_prepend(Evas_Object *obj, Evas_Object *child, Evas_Object *relative_child);
680EAPI void elm_widget_focus_cycle(Evas_Object *obj, Elm_Focus_Direction dir);
681EAPI Eina_Bool elm_widget_focus_direction_go(Evas_Object *obj, double degree);
682EAPI Eina_Bool elm_widget_focus_direction_get(const Evas_Object *obj, const Evas_Object *base, double degree, Evas_Object **direction, Elm_Object_Item **direction_item, double *weight);
683EAPI Eina_Bool elm_widget_focus_next_get(const Evas_Object *obj, Elm_Focus_Direction dir, Evas_Object **next, Elm_Object_Item **next_item);
684EAPI Eina_Bool elm_widget_focus_list_direction_get(const Evas_Object *obj, const Evas_Object *base, const Eina_List *items, void *(*list_data_get)(const Eina_List *list), double degree, Evas_Object **direction, Elm_Object_Item **direction_item, double *weight); 674EAPI Eina_Bool elm_widget_focus_list_direction_get(const Evas_Object *obj, const Evas_Object *base, const Eina_List *items, void *(*list_data_get)(const Eina_List *list), double degree, Evas_Object **direction, Elm_Object_Item **direction_item, double *weight);
685EAPI Eina_Bool elm_widget_focus_list_next_get(const Evas_Object *obj, const Eina_List *items, void *(*list_data_get)(const Eina_List *list), Elm_Focus_Direction dir, Evas_Object **next, Elm_Object_Item **next_item); 675EAPI Eina_Bool elm_widget_focus_list_next_get(const Evas_Object *obj, const Eina_List *items, void *(*list_data_get)(const Eina_List *list), Elm_Focus_Direction dir, Evas_Object **next, Elm_Object_Item **next_item);
686EAPI Evas_Object *elm_widget_focus_next_object_get(const Evas_Object *obj, Elm_Focus_Direction dir);
687EAPI void elm_widget_focus_next_object_set(Evas_Object *obj, Evas_Object *next, Elm_Focus_Direction dir);
688EAPI Elm_Object_Item *elm_widget_focus_next_item_get(const Evas_Object *obj, Elm_Focus_Direction dir);
689EAPI void elm_widget_focus_next_item_set(Evas_Object *obj, Elm_Object_Item *next_item, Elm_Focus_Direction dir);
690EAPI Eina_Bool elm_widget_focus_highlight_style_set(Evas_Object *obj, const char *style); 676EAPI Eina_Bool elm_widget_focus_highlight_style_set(Evas_Object *obj, const char *style);
691EAPI const char *elm_widget_focus_highlight_style_get(const Evas_Object *obj); 677EAPI const char *elm_widget_focus_highlight_style_get(const Evas_Object *obj);
692EAPI void elm_widget_parent_highlight_set(Evas_Object *obj, Eina_Bool highlighted); 678EAPI void elm_widget_parent_highlight_set(Evas_Object *obj, Eina_Bool highlighted);
693EAPI void elm_widget_focus_set(Evas_Object *obj, Eina_Bool focus); 679EAPI void elm_widget_focus_set(Evas_Object *obj, Eina_Bool focus);
694EAPI void elm_widget_focused_object_clear(Evas_Object *obj);
695EAPI Evas_Object *elm_widget_parent_get(const Evas_Object *obj); 680EAPI Evas_Object *elm_widget_parent_get(const Evas_Object *obj);
696EAPI void elm_widget_focus_steal(Evas_Object *obj, Elm_Object_Item *next_item);
697EAPI Evas_Object *elm_widget_newest_focus_order_get(const Evas_Object *obj, unsigned int *newest_focus_order, Eina_Bool can_focus_only); 681EAPI Evas_Object *elm_widget_newest_focus_order_get(const Evas_Object *obj, unsigned int *newest_focus_order, Eina_Bool can_focus_only);
698EAPI void elm_widget_display_mode_set(Evas_Object *obj, Evas_Display_Mode dispmode); 682EAPI void elm_widget_display_mode_set(Evas_Object *obj, Evas_Display_Mode dispmode);
699EAPI Eina_Bool elm_widget_focus_highlight_enabled_get(const Evas_Object *obj); 683EAPI Eina_Bool elm_widget_focus_highlight_enabled_get(const Evas_Object *obj);
@@ -715,7 +699,6 @@ EAPI const Elm_Widget_Smart_Class *elm_widget_smart_class_get(void);
715 * 699 *
716 * @ingroup Widget 700 * @ingroup Widget
717 */ 701 */
718EAPI void elm_widget_focus_restore(Evas_Object *obj);
719 702
720EAPI void elm_widget_disabled_set(Evas_Object *obj, Eina_Bool disabled); 703EAPI void elm_widget_disabled_set(Evas_Object *obj, Eina_Bool disabled);
721EAPI Eina_Bool elm_widget_disabled_get(const Evas_Object *obj); 704EAPI Eina_Bool elm_widget_disabled_get(const Evas_Object *obj);
@@ -748,10 +731,7 @@ EAPI Eina_Bool elm_widget_type_check(const Evas_Object *obj, const char *
748EAPI Evas_Object *elm_widget_name_find(const Evas_Object *obj, const char *name, int recurse); 731EAPI Evas_Object *elm_widget_name_find(const Evas_Object *obj, const char *name, int recurse);
749EAPI Eina_List *elm_widget_stringlist_get(const char *str); 732EAPI Eina_List *elm_widget_stringlist_get(const char *str);
750EAPI void elm_widget_stringlist_free(Eina_List *list); 733EAPI void elm_widget_stringlist_free(Eina_List *list);
751EAPI void elm_widget_focus_hide_handle(Evas_Object *obj);
752EAPI void elm_widget_focus_mouse_up_handle(Evas_Object *obj); 734EAPI void elm_widget_focus_mouse_up_handle(Evas_Object *obj);
753EAPI void elm_widget_focus_disabled_handle(Evas_Object *obj);
754EAPI unsigned int elm_widget_focus_order_get(const Evas_Object *obj);
755EAPI void elm_widget_activate(Evas_Object *obj, Elm_Activate act); 735EAPI void elm_widget_activate(Evas_Object *obj, Elm_Activate act);
756EAPI void elm_widget_part_text_set(Evas_Object *obj, const char *part, const char *label); 736EAPI void elm_widget_part_text_set(Evas_Object *obj, const char *part, const char *label);
757EAPI const char *elm_widget_part_text_get(const Evas_Object *obj, const char *part); 737EAPI const char *elm_widget_part_text_get(const Evas_Object *obj, const char *part);
@@ -764,18 +744,12 @@ EAPI Evas_Object *elm_widget_content_part_get(const Evas_Object *obj, const
764EAPI Evas_Object *elm_widget_content_part_unset(Evas_Object *obj, const char *part); 744EAPI Evas_Object *elm_widget_content_part_unset(Evas_Object *obj, const char *part);
765EAPI void elm_widget_access_info_set(Evas_Object *obj, const char *txt); 745EAPI void elm_widget_access_info_set(Evas_Object *obj, const char *txt);
766EAPI const char *elm_widget_access_info_get(const Evas_Object *obj); 746EAPI const char *elm_widget_access_info_get(const Evas_Object *obj);
767EAPI Elm_Object_Item *elm_widget_focused_item_get(const Evas_Object *obj);
768EAPI void elm_widget_orientation_mode_disabled_set(Evas_Object *obj, Eina_Bool disabled); 747EAPI void elm_widget_orientation_mode_disabled_set(Evas_Object *obj, Eina_Bool disabled);
769EAPI Eina_Bool elm_widget_orientation_mode_disabled_get(const Evas_Object *obj); 748EAPI Eina_Bool elm_widget_orientation_mode_disabled_get(const Evas_Object *obj);
770EAPI Eina_Rectangle elm_widget_focus_highlight_geometry_get(const Evas_Object *obj); 749EAPI Eina_Rectangle elm_widget_focus_highlight_geometry_get(const Evas_Object *obj);
771void _elm_widget_item_highlight_in_theme(Evas_Object *obj, Elm_Object_Item *it); 750void _elm_widget_item_highlight_in_theme(Evas_Object *obj, Elm_Object_Item *it);
772EAPI void elm_widget_focus_move_policy_set(Evas_Object *obj, Elm_Focus_Move_Policy policy);
773EAPI Elm_Focus_Move_Policy elm_widget_focus_move_policy_get(const Evas_Object *obj);
774EAPI Eina_Bool elm_widget_focus_move_policy_automatic_get(const Evas_Object *obj);
775EAPI void elm_widget_focus_move_policy_automatic_set(Evas_Object *obj, Eina_Bool automatic);
776EAPI void elm_widget_focus_region_show_mode_set(Evas_Object *obj, Elm_Focus_Region_Show_Mode mode); 751EAPI void elm_widget_focus_region_show_mode_set(Evas_Object *obj, Elm_Focus_Region_Show_Mode mode);
777EAPI Elm_Focus_Region_Show_Mode elm_widget_focus_region_show_mode_get(const Evas_Object *obj); 752EAPI Elm_Focus_Region_Show_Mode elm_widget_focus_region_show_mode_get(const Evas_Object *obj);
778EAPI void elm_widget_focus_reconfigure(Evas_Object *obj);
779 753
780/* debug function. don't use it unless you are tracking parenting issues */ 754/* debug function. don't use it unless you are tracking parenting issues */
781EAPI void elm_widget_tree_dump(const Evas_Object *top); 755EAPI void elm_widget_tree_dump(const Evas_Object *top);