PROGRAM(menu_shell);
// Inherited by the Menu_bar and Menu widgets.
SIGNAL("deactivate","");
INHERIT(container);

CLASSMEMBER(active, int);
CLASSMEMBER(have_grab, int);
CLASSMEMBER(have_xgrab, int);
CLASSMEMBER(button, int);
CLASSMEMBER(ignore_leave, int);
CLASSMEMBER(menu_flag, int);
CLASSMEMBER(ignore_enter, int);
CLASSMEMBER(activate_time, int);

COMPLEX_FUNCTION(append, widget);
NAME_ARGS(what);
// Same as 'add'.
COMPLEX_FUNCTION(prepend, widget);
NAME_ARGS(what);
// Add a menu item to the end of the widget (for a menu: bottom, for a
// bar: right)
COMPLEX_FUNCTION(insert, widget, int);
NAME_ARGS(what,where);
// Add a widget after the specified location
COMPLEX_FUNCTION(deactivate);
// Emulate a deactivate signal
COMPLEX_FUNCTION(select_item, widget);
COMPLEX_FUNCTION(activate_item, widget, int);
NAME_ARGS(menu_item, force_deactivate);
