Data Structures | |
struct | Ewl_Menubar |
Inherits from the Ewl_Box class and extends it to provide for a menubar. More... | |
struct | Ewl_Menubar |
Inherits from the Ewl_Box class and extends it to provide for a menubar. More... | |
Defines | |
#define | EWL_MENUBAR(menubar) ((Ewl_Menubar *) menubar) |
Typecasts a pointer to a Ewl_Menubar pointer. | |
#define | ewl_hmenubar_new() ewl_menubar_new(EWL_ORIENTATION_HORIZONTAL) |
Shortcut to allocate a new horizontal Ewl_Menubar. | |
#define | ewl_vmenubar_new() ewl_menubar_new(EWL_ORIENTATION_VERTICAL) |
Shortcut to allocate a new vertical Ewl_Menubar. | |
Functions | |
Ewl_Widget * | ewl_menubar_new (Ewl_Orientation orientation) |
Allocate and initialize a new menubar widget. | |
int | ewl_menubar_init (Ewl_Menubar *mb, Ewl_Orientation orientation) |
Initialize a menubar to default values. | |
Ewl_Widget * | ewl_menubar_menu_add (Ewl_Menubar *mb, char *img, char *title) |
Creates a new menu and adds it to the menubar. Returns the menu to be setup as required by the app. | |
Ewl_Widget * | ewl_menubar_seperator_add (Ewl_Menubar *mb) |
Creates a new seperator in the menubar and returns it to the app. |
|
Initialize a menubar to default values.
|
|
Creates a new menu and adds it to the menubar. Returns the menu to be setup as required by the app.
|
|
Allocate and initialize a new menubar widget.
|
|
Creates a new seperator in the menubar and returns it to the app.
|