org.gnu.gtk

Class MenuBar

public class MenuBar extends MenuShell

The MenuBar is a subclass of MenuShell which contains one to many MenuItem. The result is a standard menu bar which can hold many menu items. MenuBar allows for a shadow type to be set for aesthetic purposes.
Constructor Summary
MenuBar(Handle handle)
Creates a new menubar from a handle to internal resources.
MenuBar()
Create a new MenuBar.
Method Summary
PackDirectiongetChildPackDirection()
static MenuBargetMenuBar(Handle handle)
Internal static factory method to be used by Java-Gnome only.
PackDirectiongetPackDirection()
static TypegetType()
Retrieve the runtime type used by the GLib library.
voidsetChildPackDirection(PackDirection packDirection)
voidsetPackDirection(PackDirection packDirection)

Constructor Detail

MenuBar

public MenuBar(Handle handle)
Creates a new menubar from a handle to internal resources. This should only be used internally by Java-Gnome.

MenuBar

public MenuBar()
Create a new MenuBar.

Method Detail

getChildPackDirection

public PackDirection getChildPackDirection()

getMenuBar

public static MenuBar getMenuBar(Handle handle)
Internal static factory method to be used by Java-Gnome only.

getPackDirection

public PackDirection getPackDirection()

getType

public static Type getType()
Retrieve the runtime type used by the GLib library.

setChildPackDirection

public void setChildPackDirection(PackDirection packDirection)

setPackDirection

public void setPackDirection(PackDirection packDirection)

Parameters: packDirection