Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.MenuBar

Class MenuBar

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.Widget.Widget
                        dui.Container.Container
                                dui.MenuShell.MenuShell
                                        dui.MenuBar.MenuBar

Implemented interfaces:


public class

MenuBar



Menu bar : a menu of menus in a bar

Constructor Summary
(GtkWidget *gtkWidget)
          
public ()
          Creates a new menu bar

Methods Summary
public static GType getType()
          Gets this class type
Menu append(char label)
          Creates a new menu and appends it to this menu bar
Menu append(String label)
          
void append(MenuItem item)
          Walter promissed that this is going to change
Menu append(char label, bit rightJustify)
          Creates a new menu and appends it to this menu bar
Menu append(String label, bit rightJustify)
          


getType

public static GType getType()
Gets this class type

Returns:
type



ctor(MenuBar)(GtkWidget *gtkWidget)



public ctor(MenuBar)()
Creates a new menu bar

append

Menu append(char label)
Creates a new menu and appends it to this menu bar

Returns:
the newly created menu

append

Menu append(String label)

append

void append(MenuItem item)
Walter promissed that this is going to change

Parameters:
item -

append

Menu append(char label, bit rightJustify)
Creates a new menu and appends it to this menu bar

Parameters:
label -
rightJustify - if true the new menu will be right justified

Returns:
the newly created menu

append

Menu append(String label, bit rightJustify)