X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Flib%2Felm_toolbar.h;h=87fda246b9d80737c5efc3a52e27e59c1786aee4;hb=54f9a90e9926302ace66e6e1dd696c9d4f81a42b;hp=bfeb795bf2566b85f106cb7ac211973ac3eeff93;hpb=ce826c0ed5a9ae3998bc0e9d143afa82441399a4;p=framework%2Fuifw%2Felementary.git diff --git a/src/lib/elm_toolbar.h b/src/lib/elm_toolbar.h index bfeb795..87fda24 100644 --- a/src/lib/elm_toolbar.h +++ b/src/lib/elm_toolbar.h @@ -18,7 +18,8 @@ * * Smart callbacks one can listen to: * - "clicked" - when the user clicks on a toolbar item and becomes selected. - * - "language,changed" - when the program language changes + * - "longpressed" - when the toolbar is pressed for a certain amount of time. + * - "language,changed" - when the program language changes. * * Available styles for it: * - @c "default" @@ -28,10 +29,10 @@ * @li "default" - label of the toolbar item * * Supported elm_object_item common APIs. - * @li elm_object_item_disabled_set - * @li elm_object_item_disabled_get - * @li elm_object_item_part_text_set - * @li elm_object_item_part_text_get + * @li @ref elm_object_item_disabled_set + * @li @ref elm_object_item_disabled_get + * @li @ref elm_object_item_part_text_set + * @li @ref elm_object_item_part_text_get * * List of examples: * @li @ref toolbar_example_01 @@ -437,6 +438,19 @@ EAPI void elm_toolbar_item_selected_set(Elm_Object_Item EAPI Elm_Object_Item *elm_toolbar_selected_item_get(const Evas_Object *obj); /** + * Get the more item. + * + * @param obj The toolbar object. + * @return The toolbar more item. + * + * The more item can be changed with function + * elm_object_item_text_set() and elm_object_item_content_set. + * + * @ingroup Toolbar + */ +EAPI Elm_Object_Item *elm_toolbar_more_item_get(const Evas_Object *obj); + +/** * Set the icon associated with @p item. * * @param it The toolbar item. @@ -830,7 +844,6 @@ EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_next(Elm_Object_Item *i */ EAPI Elm_Toolbar_Item_State *elm_toolbar_item_state_prev(Elm_Object_Item *it); - /** * Change a toolbar's orientation * @param obj The toolbar object @@ -858,6 +871,31 @@ EAPI Eina_Bool elm_toolbar_horizontal_get(const Evas_Object * EAPI unsigned int elm_toolbar_items_count(const Evas_Object *obj); /** + * Set the standard priority of visible items in a toolbar + * @param obj The toolbar object + * @param priority The standard_priority of visible items + * + * When it is the ELM_TOOLBAR_SHRINK_EXPAND mode, the items are shown only up to standard priority. + * The other items are located in more panel. The more panel can be shown when the more item is clicked. + * + * @see elm_toolbar_standard_priority_get() + * + * @ingroup Toolbar + */ +EAPI void elm_toolbar_standard_priority_set(Evas_Object *obj, int priority); + +/** + * Get the standard_priority of visible items in a toolbar + * @param obj The toolbar object + * @return The standard priority of items in @p obj toolbar + * + * @see elm_toolbar_standard_priority_set() + * + * @ingroup Toolbar + */ +EAPI int elm_toolbar_standard_priority_get(const Evas_Object *obj); + +/** * Set the toolbar select mode. * * @param obj The toolbar object