Tizen Native API
|
Functions | |
Evas_Object * | elm_toolbar_add (Evas_Object *parent) |
Adds a new toolbar widget to the given parent Elementary (container) object. | |
void | elm_toolbar_icon_size_set (Evas_Object *obj, int icon_size) |
Sets the icon size, in pixels, to be used by toolbar items. | |
int | elm_toolbar_icon_size_get (const Evas_Object *obj) |
Gets the icon size, in pixels, to be used by toolbar items. | |
void | elm_toolbar_icon_order_lookup_set (Evas_Object *obj, Elm_Icon_Lookup_Order order) |
Sets the icon lookup order, for toolbar item icons. | |
Elm_Icon_Lookup_Order | elm_toolbar_icon_order_lookup_get (const Evas_Object *obj) |
Gets the icon lookup order. | |
Elm_Object_Item * | elm_toolbar_item_append (Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) |
Appends items to the toolbar. | |
Elm_Object_Item * | elm_toolbar_item_prepend (Evas_Object *obj, const char *icon, const char *label, Evas_Smart_Cb func, const void *data) |
Prepends items to the toolbar. | |
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) |
Inserts a new item into the toolbar object before item before. | |
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) |
Inserts a new item into the toolbar object after item after. | |
Elm_Object_Item * | elm_toolbar_first_item_get (const Evas_Object *obj) |
Gets the first item in the given toolbar widget's list of items. | |
Elm_Object_Item * | elm_toolbar_last_item_get (const Evas_Object *obj) |
Gets the last item in the given toolbar widget's list of items. | |
Elm_Object_Item * | elm_toolbar_item_next_get (const Elm_Object_Item *it) |
Gets the item after it in the toolbar. | |
Elm_Object_Item * | elm_toolbar_item_prev_get (const Elm_Object_Item *it) |
Gets the item before it in the toolbar. | |
void | elm_toolbar_item_priority_set (Elm_Object_Item *it, int priority) |
Sets the priority of a toolbar item. | |
int | elm_toolbar_item_priority_get (const Elm_Object_Item *it) |
Gets the priority of a toolbar item. | |
Elm_Object_Item * | elm_toolbar_item_find_by_label (const Evas_Object *obj, const char *label) |
Returns a pointer to a toolbar item by its label. | |
Eina_Bool | elm_toolbar_item_selected_get (const Elm_Object_Item *it) |
Gets whether the it is selected. | |
void | elm_toolbar_item_selected_set (Elm_Object_Item *it, Eina_Bool selected) |
Sets the selected state of an item. | |
Elm_Object_Item * | elm_toolbar_selected_item_get (const Evas_Object *obj) |
Gets the selected item. | |
Elm_Object_Item * | elm_toolbar_more_item_get (const Evas_Object *obj) |
Gets the more item. | |
void | elm_toolbar_item_icon_set (Elm_Object_Item *it, const char *icon) |
Sets the icon associated with it. | |
const char * | elm_toolbar_item_icon_get (const Elm_Object_Item *it) |
Gets the string used to set the icon of it. | |
Evas_Object * | elm_toolbar_item_object_get (const Elm_Object_Item *it) |
Gets the object of it. | |
Evas_Object * | elm_toolbar_item_icon_object_get (Elm_Object_Item *it) |
Gets the icon object of it. | |
Eina_Bool | elm_toolbar_item_icon_memfile_set (Elm_Object_Item *it, const void *img, size_t size, const char *format, const char *key) |
Sets the icon associated with it to an image in a binary buffer. | |
Eina_Bool | elm_toolbar_item_icon_file_set (Elm_Object_Item *it, const char *file, const char *key) |
Sets the icon associated with it to an image in a binary buffer. | |
void | elm_toolbar_item_separator_set (Elm_Object_Item *it, Eina_Bool separator) |
Sets or unsets item as a separator. | |
Eina_Bool | elm_toolbar_item_separator_get (const Elm_Object_Item *it) |
Gets a value that indicates whether the item is a separator. | |
void | elm_toolbar_shrink_mode_set (Evas_Object *obj, Elm_Toolbar_Shrink_Mode shrink_mode) |
Sets the item displaying mode of a given toolbar widget obj. | |
Elm_Toolbar_Shrink_Mode | elm_toolbar_shrink_mode_get (const Evas_Object *obj) |
Gets the shrink mode of the toolbar obj. | |
void | elm_toolbar_transverse_expanded_set (Evas_Object *obj, Eina_Bool transverse_expanded) |
Sets the item's transverse expansion of a given toolbar widget obj. | |
Eina_Bool | elm_toolbar_transverse_expanded_get (const Evas_Object *obj) |
Gets the transverse expansion of the toolbar obj. | |
void | elm_toolbar_homogeneous_set (Evas_Object *obj, Eina_Bool homogeneous) |
Enables or disables the homogeneous mode. | |
Eina_Bool | elm_toolbar_homogeneous_get (const Evas_Object *obj) |
Gets whether the homogeneous mode is enabled. | |
void | elm_toolbar_menu_parent_set (Evas_Object *obj, Evas_Object *parent) |
Sets the parent object of the toolbar items menus. | |
Evas_Object * | elm_toolbar_menu_parent_get (const Evas_Object *obj) |
Gets the parent object of the toolbar items menus. | |
void | elm_toolbar_align_set (Evas_Object *obj, double align) |
Sets the alignment of the items. | |
double | elm_toolbar_align_get (const Evas_Object *obj) |
Gets the alignment of the items. | |
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) |
Adds a new state to it. | |
Eina_Bool | elm_toolbar_item_state_del (Elm_Object_Item *it, Elm_Toolbar_Item_State *state) |
Deletes a previously added state to it. | |
Eina_Bool | elm_toolbar_item_state_set (Elm_Object_Item *it, Elm_Toolbar_Item_State *state) |
Sets state as the current state of it. | |
void | elm_toolbar_item_state_unset (Elm_Object_Item *it) |
Unsets the state of it. | |
Elm_Toolbar_Item_State * | elm_toolbar_item_state_get (const Elm_Object_Item *it) |
Gets the current state of it. | |
Elm_Toolbar_Item_State * | elm_toolbar_item_state_next (Elm_Object_Item *it) |
Gets the state after the selected state in the toolbar's it. | |
Elm_Toolbar_Item_State * | elm_toolbar_item_state_prev (Elm_Object_Item *it) |
Gets the state before the selected state in the toolbar's it. | |
void | elm_toolbar_horizontal_set (Evas_Object *obj, Eina_Bool horizontal) |
Changes a toolbar's orientation. | |
Eina_Bool | elm_toolbar_horizontal_get (const Evas_Object *obj) |
Gets a toolbar's orientation. | |
unsigned int | elm_toolbar_items_count (const Evas_Object *obj) |
Gets the number of items in a toolbar. | |
void | elm_toolbar_standard_priority_set (Evas_Object *obj, int priority) |
Sets the standard priority of visible items in a toolbar. | |
int | elm_toolbar_standard_priority_get (const Evas_Object *obj) |
Gets the standard priority of visible items in a toolbar. | |
void | elm_toolbar_select_mode_set (Evas_Object *obj, Elm_Object_Select_Mode mode) |
Sets the toolbar select mode. | |
Elm_Object_Select_Mode | elm_toolbar_select_mode_get (const Evas_Object *obj) |
Gets the toolbar select mode. | |
void | elm_toolbar_reorder_mode_set (Evas_Object *obj, Eina_Bool reorder_mode) |
Sets the reorder mode. | |
Eina_Bool | elm_toolbar_reorder_mode_get (const Evas_Object *obj) |
Gets the reorder mode. | |
void | elm_toolbar_item_show (Elm_Object_Item *it, Elm_Toolbar_Item_Scrollto_Type type) |
Shows a specific item, when the toolbar can be scrolled. | |
void | elm_toolbar_item_bring_in (Elm_Object_Item *it, Elm_Toolbar_Item_Scrollto_Type type) |
Shows a specific item with scroll animation, when the toolbar can be scrolled. | |
Typedefs | |
typedef struct _Elm_Toolbar_Item_State | Elm_Toolbar_Item_State |
A toolbar is a widget that displays a list of items inside a box.
It can be scrollable, can show a menu with items that don't fit to the toolbar size or an can even crop those menu items.
Only one item can be selected at a time.
Items can have multiple states, or show menus when selected by the user.
This widget implements the elm-scrollable-interface interface, so that all (non-deprecated) functions for the base Scroller widget also work for toolbars (
Smart callbacks that one can listen to:
"clicked"
- When the user clicks on a toolbar item and it gets selected."longpressed"
- When the toolbar is pressed for a certain amount of time."language,changed"
- When the program language changes.Available styles for it:
"default"
"transparent"
- No background or shadow, just shows the content.Default text parts of the toolbar items that you can use are:
Supported common elm_object_item APIs.
typedef struct _Elm_Toolbar_Item_State Elm_Toolbar_Item_State |
States of a Elm_Toolbar_Item. Can be created with elm_toolbar_item_state_add() and removed with elm_toolbar_item_state_del()
Enumeration that defines where to position the item in the toolbar.
Enumeration that sets the toolbar items display behavior, it can be scrollable, can show a menu with exceeding items, or simply hide them.
ELM_TOOLBAR_SHRINK_NONE |
Sets minimum toolbar size to fit all the items |
ELM_TOOLBAR_SHRINK_HIDE |
Hides exceeding items |
ELM_TOOLBAR_SHRINK_SCROLL |
Allows accessing exceeding items through a scroller |
ELM_TOOLBAR_SHRINK_MENU |
Inserts a button to pop up a menu with exceeding items |
ELM_TOOLBAR_SHRINK_EXPAND |
Expands all items according to the size of the toolbar |
ELM_TOOLBAR_SHRINK_LAST |
Indicates an error if returned by elm_toolbar_shrink_mode_get() |
Evas_Object* elm_toolbar_add | ( | Evas_Object * | parent | ) |
Adds a new toolbar widget to the given parent Elementary (container) object.
This function inserts a new toolbar widget on the canvas.
[in] | parent | The parent object |
NULL
in case of an error double elm_toolbar_align_get | ( | const Evas_Object * | obj | ) |
Gets the alignment of the items.
[in] | obj | The toolbar object |
0.0
and 1.0
void elm_toolbar_align_set | ( | Evas_Object * | obj, |
double | align | ||
) |
Sets the alignment of the items.
0.0
that indicates to align to the left, to 1.0
, that indicates to align to the right. 0.5
to centralize items.[in] | obj | The toolbar object |
[in] | align | The new alignment, a float between 0.0 and 1.0 |
Elm_Object_Item* elm_toolbar_first_item_get | ( | const Evas_Object * | obj | ) |
Gets the first item in the given toolbar widget's list of items.
[in] | obj | The toolbar object |
NULL
if it has no items (and on errors)Eina_Bool elm_toolbar_homogeneous_get | ( | const Evas_Object * | obj | ) |
Gets whether the homogeneous mode is enabled.
[in] | obj | The toolbar object |
void elm_toolbar_homogeneous_set | ( | Evas_Object * | obj, |
Eina_Bool | homogeneous | ||
) |
Enables or disables the homogeneous mode.
This enables the homogeneous mode where items are of the same size.
[in] | obj | The toolbar object |
[in] | homogeneous | The boolean value that assumes that the items within the toolbar are of the same size (EINA_TRUE = on, EINA_FALSE = off) The default is EINA_FALSE . |
Eina_Bool elm_toolbar_horizontal_get | ( | const Evas_Object * | obj | ) |
Gets a toolbar's orientation.
[in] | obj | The toolbar object |
EINA_TRUE
, the toolbar is horizontal, otherwise EINA_FALSE
void elm_toolbar_horizontal_set | ( | Evas_Object * | obj, |
Eina_Bool | horizontal | ||
) |
Changes a toolbar's orientation.
[in] | obj | The toolbar object |
[in] | horizontal | If EINA_TRUE the toolbar is horizontal, otherwise EINA_FALSE |
Elm_Icon_Lookup_Order elm_toolbar_icon_order_lookup_get | ( | const Evas_Object * | obj | ) |
Gets the icon lookup order.
[in] | obj | The toolbar object |
void elm_toolbar_icon_order_lookup_set | ( | Evas_Object * | obj, |
Elm_Icon_Lookup_Order | order | ||
) |
Sets the icon lookup order, for toolbar item icons.
[in] | obj | The toolbar object |
[in] | order | The icon lookup order |
int elm_toolbar_icon_size_get | ( | const Evas_Object * | obj | ) |
Gets the icon size, in pixels, to be used by toolbar items.
[in] | obj | The toolbar object |
void elm_toolbar_icon_size_set | ( | Evas_Object * | obj, |
int | icon_size | ||
) |
Sets the icon size, in pixels, to be used by toolbar items.
32
. It reads values from elm config.[in] | obj | The toolbar object |
[in] | icon_size | The icon size in pixels |
Elm_Object_Item* elm_toolbar_item_append | ( | Evas_Object * | obj, |
const char * | icon, | ||
const char * | label, | ||
Evas_Smart_Cb | func, | ||
const void * | data | ||
) |
Appends items to the toolbar.
NULL
as func is enough. The same should be done for data.[in] | obj | The toolbar object |
[in] | icon | A string with the icon name or the absolute path of an image file |
[in] | label | The label of the item |
[in] | func | The function to call when the item is clicked |
[in] | data | The data to associate with the item for related callbacks |
NULL
on failurevoid elm_toolbar_item_bring_in | ( | Elm_Object_Item * | it, |
Elm_Toolbar_Item_Scrollto_Type | type | ||
) |
Shows a specific item with scroll animation, when the toolbar can be scrolled.
[in] | it | The toolbar item |
[in] | type | Item scroll to type |
Elm_Object_Item* elm_toolbar_item_find_by_label | ( | const Evas_Object * | obj, |
const char * | label | ||
) |
Returns a pointer to a toolbar item by its label.
[in] | obj | The toolbar object |
[in] | label | The label of the item to find |
NULL
on failure Eina_Bool elm_toolbar_item_icon_file_set | ( | Elm_Object_Item * | it, |
const char * | file, | ||
const char * | key | ||
) |
Sets the icon associated with it to an image in a binary buffer.
[in] | it | The toolbar item |
[in] | file | The file that contains the image |
[in] | key | The optional key of img to pass to the image loader (eg. if img is an edje file) |
EINA_TRUE
= success, EINA_FALSE
= error) const char* elm_toolbar_item_icon_get | ( | const Elm_Object_Item * | it | ) |
Gets the string used to set the icon of it.
[in] | it | The toolbar item |
Eina_Bool elm_toolbar_item_icon_memfile_set | ( | Elm_Object_Item * | it, |
const void * | img, | ||
size_t | size, | ||
const char * | format, | ||
const char * | key | ||
) |
Sets the icon associated with it to an image in a binary buffer.
[in] | it | The toolbar item |
[in] | img | The binary data that is used as an image |
[in] | size | The size of binary data img |
[in] | format | The optional format of img to pass to the image loader |
[in] | key | The optional key of img to pass to the image loader (eg. if img is an edje file) |
EINA_TRUE
= success, EINA_FALSE
= error) Gets the icon object of it.
[in] | it | The toolbar item |
void elm_toolbar_item_icon_set | ( | Elm_Object_Item * | it, |
const char * | icon | ||
) |
Sets the icon associated with it.
[in] | it | The toolbar item |
[in] | icon | A string with the icon name or the absolute path of an image file |
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 | ||
) |
Inserts a new item into the toolbar object after item after.
NULL
as func is enough. The same should be done for data.[in] | obj | The toolbar object |
[in] | after | The toolbar item to insert after |
[in] | icon | A string with the icon name or the absolute path of an image file |
[in] | label | The label of the item |
[in] | func | The function to call when the item is clicked |
[in] | data | The data to associate with the item for related callbacks |
NULL
on failureElm_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 | ||
) |
Inserts a new item into the toolbar object before item before.
NULL
as func is enough. The same should be done for data.[in] | obj | The toolbar object |
[in] | before | The toolbar item to insert before |
[in] | icon | A string with the icon name or the absolute path of an image file |
[in] | label | The label of the item |
[in] | func | The function to call when the item is clicked |
[in] | data | The data to associate with the item for related callbacks |
NULL
on failureElm_Object_Item* elm_toolbar_item_next_get | ( | const Elm_Object_Item * | it | ) |
Gets the item after it in the toolbar.
NULL
is returned.[in] | it | The toolbar item |
NULL
if none are present or on failureEvas_Object* elm_toolbar_item_object_get | ( | const Elm_Object_Item * | it | ) |
Gets the object of it.
[in] | it | The toolbar item |
Elm_Object_Item* elm_toolbar_item_prepend | ( | Evas_Object * | obj, |
const char * | icon, | ||
const char * | label, | ||
Evas_Smart_Cb | func, | ||
const void * | data | ||
) |
Prepends items to the toolbar.
NULL
as func is enough. The same should be done for data.[in] | obj | The toolbar object |
[in] | icon | A string with the icon name or the absolute path of an image file |
[in] | label | The label of the item |
[in] | func | The function to call when the item is clicked |
[in] | data | The data to associate with the item for related callbacks |
NULL
on failureElm_Object_Item* elm_toolbar_item_prev_get | ( | const Elm_Object_Item * | it | ) |
Gets the item before it in the toolbar.
NULL
is returned.[in] | it | The toolbar item |
NULL
if none are present or on failureint elm_toolbar_item_priority_get | ( | const Elm_Object_Item * | it | ) |
Gets the priority of a toolbar item.
[in] | it | The toolbar item |
0
on failurevoid elm_toolbar_item_priority_set | ( | Elm_Object_Item * | it, |
int | priority | ||
) |
Sets the priority of a toolbar item.
[in] | it | The toolbar item |
[in] | priority | The item priority The default is zero. |
Eina_Bool elm_toolbar_item_selected_get | ( | const Elm_Object_Item * | it | ) |
Gets whether the it is selected.
[in] | it | The toolbar item |
EINA_TRUE
indicates that the item is selected, otherwise EINA_FALSE
indicates it's not NULL
, EINA_FALSE
is returned.void elm_toolbar_item_selected_set | ( | Elm_Object_Item * | it, |
Eina_Bool | selected | ||
) |
Sets the selected state of an item.
This sets the selected state of the given item it. EINA_TRUE
for selected, EINA_FALSE
for not selected.
[in] | it | The toolbar item |
[in] | selected | The selected state |
Eina_Bool elm_toolbar_item_separator_get | ( | const Elm_Object_Item * | it | ) |
Gets a value that indicates whether the item is a separator.
[in] | it | The toolbar item |
EINA_TRUE
indicates that item it is a separator, otherwise EINA_FALSE
indicates it's not NULL
, EINA_FALSE
is returned.void elm_toolbar_item_separator_set | ( | Elm_Object_Item * | it, |
Eina_Bool | separator | ||
) |
Sets or unsets item as a separator.
[in] | it | The toolbar item |
[in] | separator | If EINA_TRUE set item it as a separator, otherwise EINA_FALSE to unset it, i.e., the item is used as a regular item |
void elm_toolbar_item_show | ( | Elm_Object_Item * | it, |
Elm_Toolbar_Item_Scrollto_Type | type | ||
) |
Shows a specific item, when the toolbar can be scrolled.
[in] | it | The toolbar item |
[in] | type | Item scroll to type |
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 | ||
) |
Adds a new state to it.
[in] | it | The toolbar item |
[in] | icon | A string with the icon name or the absolute path of an image file |
[in] | label | The label of the new state |
[in] | func | The function to call when the item is clicked and when this state is selected |
[in] | data | The data to associate with the state |
NULL
on failureEina_Bool elm_toolbar_item_state_del | ( | Elm_Object_Item * | it, |
Elm_Toolbar_Item_State * | state | ||
) |
Deletes a previously added state to it.
[in] | it | The toolbar item |
[in] | state | The state to be deleted |
EINA_TRUE
on success, otherwise EINA_FALSE
on failureElm_Toolbar_Item_State* elm_toolbar_item_state_get | ( | const Elm_Object_Item * | it | ) |
Gets the current state of it.
[in] | it | The toolbar item |
NULL
if none are selected or on failureGets the state after the selected state in the toolbar's it.
[in] | it | The toolbar item to change state |
NULL
on failureGets the state before the selected state in the toolbar's it.
[in] | it | The toolbar item to change state |
NULL
on failureEina_Bool elm_toolbar_item_state_set | ( | Elm_Object_Item * | it, |
Elm_Toolbar_Item_State * | state | ||
) |
Sets state as the current state of it.
NULL
, it won't select any state and the default item's icon and label is used. It's the same behaviour as elm_toolbar_item_state_unset().[in] | it | The toolbar item |
[in] | state | The state to use |
EINA_TRUE
on success, otherwise EINA_FALSE
on failurevoid elm_toolbar_item_state_unset | ( | Elm_Object_Item * | it | ) |
Unsets the state of it.
[in] | it | The toolbar item |
unsigned int elm_toolbar_items_count | ( | const Evas_Object * | obj | ) |
Gets the number of items in a toolbar.
[in] | obj | The toolbar object |
Elm_Object_Item* elm_toolbar_last_item_get | ( | const Evas_Object * | obj | ) |
Gets the last item in the given toolbar widget's list of items.
[in] | obj | The toolbar object |
NULL
if it has no items (and on errors)Evas_Object* elm_toolbar_menu_parent_get | ( | const Evas_Object * | obj | ) |
Gets the parent object of the toolbar items menus.
[in] | obj | The toolbar object |
void elm_toolbar_menu_parent_set | ( | Evas_Object * | obj, |
Evas_Object * | parent | ||
) |
Sets the parent object of the toolbar items menus.
[in] | obj | The toolbar object |
[in] | parent | The parent of the menu objects |
Elm_Object_Item* elm_toolbar_more_item_get | ( | const Evas_Object * | obj | ) |
Gets the more item.
[in] | obj | The toolbar object |
Eina_Bool elm_toolbar_reorder_mode_get | ( | const Evas_Object * | obj | ) |
Gets the reorder mode.
[in] | obj | The toolbar object |
void elm_toolbar_reorder_mode_set | ( | Evas_Object * | obj, |
Eina_Bool | reorder_mode | ||
) |
Sets the reorder mode.
[in] | obj | The toolbar object |
[in] | reorder_mode | The reorder mode (EINA_TRUE = on, EINA_FALSE = off) |
Elm_Object_Select_Mode elm_toolbar_select_mode_get | ( | const Evas_Object * | obj | ) |
Gets the toolbar select mode.
[in] | obj | The toolbar object |
ELM_OBJECT_SELECT_MODE_MAX
)void elm_toolbar_select_mode_set | ( | Evas_Object * | obj, |
Elm_Object_Select_Mode | mode | ||
) |
Sets the toolbar select mode.
[in] | obj | The toolbar object |
[in] | mode | The select mode |
Elm_Object_Item* elm_toolbar_selected_item_get | ( | const Evas_Object * | obj | ) |
Gets the selected item.
[in] | obj | The toolbar object |
Elm_Toolbar_Shrink_Mode elm_toolbar_shrink_mode_get | ( | const Evas_Object * | obj | ) |
Gets the shrink mode of the toolbar obj.
[in] | obj | The toolbar object |
void elm_toolbar_shrink_mode_set | ( | Evas_Object * | obj, |
Elm_Toolbar_Shrink_Mode | shrink_mode | ||
) |
Sets the item displaying mode of a given toolbar widget obj.
[in] | obj | The toolbar object handle |
[in] | shrink_mode | The toolbar's items display behavior |
int elm_toolbar_standard_priority_get | ( | const Evas_Object * | obj | ) |
Gets the standard priority of visible items in a toolbar.
[in] | obj | The toolbar object |
void elm_toolbar_standard_priority_set | ( | Evas_Object * | obj, |
int | priority | ||
) |
Sets the standard priority of visible items in a toolbar.
[in] | obj | The toolbar object |
[in] | priority | The standard priority of visible items |
Eina_Bool elm_toolbar_transverse_expanded_get | ( | const Evas_Object * | obj | ) |
Gets the transverse expansion of the toolbar obj.
[in] | obj | The toolbar object |
void elm_toolbar_transverse_expanded_set | ( | Evas_Object * | obj, |
Eina_Bool | transverse_expanded | ||
) |
Sets the item's transverse expansion of a given toolbar widget obj.
This expands the transverse length of the item according to the transverse length of the toolbar. The default is what the transverse length of the item is set to according to its minimum value.
[in] | obj | The toolbar object |
[in] | transverse_expanded | The transverse expansion of the item (EINA_TRUE = on, EINA_FALSE = off, default = EINA_FALSE) |