Tizen Native API  5.5
Menu

menu_inheritance_tree.png
preview-00.png

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:

Default content parts of the menu items that you can use for are:

Default text parts of the menu items that you can use for are:

Supported elm_object_item common APIs.

See also:
Menu Example

Functions

Evas_Objectelm_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_Objectelm_menu_parent_get (const Evas_Object *obj)
 Get the parent for the given menu widget.

Function Documentation

Add a new menu to the parent.

Parameters:
parentThe parent object.
Returns:
The new object or NULL if it cannot be created.
Examples:
menu_example_01.c, and photocam_example_01.c.

Get the parent for the given menu widget.

Parameters:
objThe menu object.
Returns:
The parent.
See also:
elm_menu_parent_set()
void elm_menu_parent_set ( Evas_Object obj,
Evas_Object parent 
)

Set the parent for the given menu widget.

Parameters:
objThe menu object.
parentThe new parent.