Tizen Native API
5.5
|
A menu is a list of items displayed above its parent. When the menu is showing its parent is darkened. Each item can have a sub-menu. The menu object can be used to display a menu on a right click event, in a toolbar, anywhere.
Signals that you can add callbacks for are:
"clicked"
- the user clicked the empty space in the menu to dismiss. "dismissed"
- the user clicked the empty space in the menu to dismiss (since 1.8) "language,changed"
- the program's language changed (since 1.9)Default content parts of the menu items that you can use for are:
"default"
- A main content of the menu itemDefault text parts of the menu items that you can use for are:
"default"
- A label in the menu itemSupported elm_object_item common APIs.
Functions | |
Evas_Object * | elm_menu_add (Evas_Object *parent) |
Add a new menu to the parent. | |
void | elm_menu_parent_set (Evas_Object *obj, Evas_Object *parent) |
Set the parent for the given menu widget. | |
Evas_Object * | elm_menu_parent_get (const Evas_Object *obj) |
Get the parent for the given menu widget. |
Evas_Object* elm_menu_add | ( | Evas_Object * | parent | ) |
Add a new menu to the parent.
parent | The parent object. |
Evas_Object* elm_menu_parent_get | ( | const Evas_Object * | obj | ) |
Get the parent for the given menu widget.
obj | The menu object. |
void elm_menu_parent_set | ( | Evas_Object * | obj, |
Evas_Object * | parent | ||
) |
Set the parent for the given menu widget.
obj | The menu object. |
parent | The new parent. |