summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_menu.h
blob: 1afb076329fb001b8e76889b5ed5ddcee4030016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
 * @defgroup Elm_Menu Menu
 * @ingroup Elementary
 *
 * @image html menu_inheritance_tree.png
 * @image latex menu_inheritance_tree.eps
 *
 * @image html img/widget/menu/preview-00.png
 * @image latex img/widget/menu/preview-00.eps
 *
 * 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:
 * @li @c "clicked" - the user clicked the empty space in the menu to dismiss.
 * @li @c "dismissed" - the user clicked the empty space in the menu to dismiss (since 1.8)
 * @li @c "language,changed" - the program's language changed (since 1.9)
 *
 * Default content parts of the menu items that you can use for are:
 * @li @c "default" - A main content of the menu item
 *
 * Default text parts of the menu items that you can use for are:
 * @li @c "default" - A label in the menu item
 *
 * Supported elm_object_item common APIs.
 * @li @ref elm_object_item_del
 * @li @ref elm_object_item_part_text_set
 * @li @ref elm_object_item_part_text_get
 * @li @ref elm_object_item_part_content_set
 * @li @ref elm_object_item_part_content_get
 * @li @ref elm_object_item_disabled_set
 * @li @ref elm_object_item_disabled_get
 * @li @ref elm_object_item_signal_emit (since 1.12)
 *
 * @see @ref tutorial_menu
 * @{
 */

#ifdef EFL_EO_API_SUPPORT
#include "elm_menu_eo.h"
#endif
#ifndef EFL_NOLEGACY_API_SUPPORT
#include "elm_menu_legacy.h"
#endif
/**
 * @}
 */