lib/ewl_menubar.h File Reference
#include "ewl_box.h"
#include "ewl_menu.h"
Include dependency graph for ewl_menubar.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
struct | Ewl_Menubar |
Inherits from the Ewl_Box class and extends it to provide for a menubar. More... | |
struct | Ewl_Menubar_Info |
Provides a simple menu structure for the menubar. More... | |
Defines | |
#define | EWL_MENUBAR(menubar) ((Ewl_Menubar *) menubar) |
#define | EWL_MENUBAR_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_MENUBAR_TYPE)) |
#define | EWL_MENUBAR_TYPE "menubar" |
Typedefs | |
typedef struct Ewl_Menubar | Ewl_Menubar |
typedef struct Ewl_Menubar_Info | Ewl_Menubar_Info |
Functions | |
Ewl_Widget * | ewl_hmenubar_new (void) |
Creates a new Ewl_Menubar in a horizontal orientation. | |
void | ewl_menubar_cb_child_add (Ewl_Container *c, Ewl_Widget *w) |
void | ewl_menubar_from_info (Ewl_Menubar *mb, Ewl_Menubar_Info *info) |
Sets up the menubar mb with the given info. | |
int | ewl_menubar_init (Ewl_Menubar *mb) |
Initialize a menubar to default values. | |
Ewl_Widget * | ewl_menubar_new (void) |
Allocate and initialize a new menubar widget. | |
Ewl_Orientation | ewl_menubar_orientation_get (Ewl_Menubar *mb) |
Gets the orientation of the menubar. | |
void | ewl_menubar_orientation_set (Ewl_Menubar *mb, Ewl_Orientation o) |
Sets the orientation of the menubar. | |
Ewl_Widget * | ewl_vmenubar_new (void) |
Creates a new Ewl_Menubar in a vertical orientation. |