Top | ![]() |
![]() |
![]() |
![]() |
ClutterActor * | mx_menu_new () |
void | mx_menu_add_action () |
void | mx_menu_remove_action () |
void | mx_menu_remove_all () |
void | mx_menu_show_with_position () |
GObject ╰── GInitiallyUnowned ╰── ClutterActor ╰── MxWidget ╰── MxFloatingWidget ╰── MxMenu
MxMenu implements ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface, MxStylable and MxFocusable.
MxMenu displays a list of user actions, defined by a list of MxActions. The menu list will appear above all other actors.
void mx_menu_add_action (MxMenu *menu
,MxAction *action
);
Append action
to menu
.
void mx_menu_remove_action (MxMenu *menu
,MxAction *action
);
Remove action
from menu
.
typedef struct _MxMenu MxMenu;
The contents of this structure are private and should only be accessed through the public API.
struct MxMenuClass { MxFloatingWidgetClass parent_class; void (*action_activated) (MxMenu *menu, MxAction *action); /* padding for future expansion */ void (*_padding_0) (void); void (*_padding_1) (void); void (*_padding_2) (void); void (*_padding_3) (void); void (*_padding_4) (void); };