|
Data Structures |
struct | Etk_Menu |
| [Widget] A menu shell implemented in a popup window More...
|
Defines |
#define | ETK_MENU_TYPE (etk_menu_type_get()) |
#define | ETK_MENU(obj) (ETK_OBJECT_CAST((obj), ETK_MENU_TYPE, Etk_Menu)) |
#define | ETK_IS_MENU(obj) (ETK_OBJECT_CHECK_TYPE((obj), ETK_MENU_TYPE)) |
Functions |
Etk_Widget * | etk_menu_new (void) |
| Creates a new menu.
|
Etk_Menu_Item * | etk_menu_parent_item_get (Etk_Menu *menu) |
| Gets the menu-item which the menu is attached to.
|
void | etk_menu_popup (Etk_Menu *menu) |
| Pops up the menu at the mouse position.
|
void | etk_menu_popup_in_direction (Etk_Menu *menu, Etk_Popup_Direction direction) |
| Pops up the menu at the mouse position, in the given direction.
|
void | etk_menu_popup_at_xy (Etk_Menu *menu, int x, int y) |
| Pops up the menu at the position (x, y).
|
void | etk_menu_popup_at_xy_in_direction (Etk_Menu *menu, int x, int y, Etk_Popup_Direction direction) |
| Pops up the menu at the position (x, y), in the given direction.
|
void | etk_menu_popdown (Etk_Menu *menu) |
| Pops down the menu and all its submenus (menus attached to its items).
|