Project:DUI

Class List Class Hierarchy
Summary: Ctors Methods Mixins

Module dui.OptionMenu

Class OptionMenu

dui.ObjectG.ObjectG
        dui.DUIObject.DUIObject
                dui.Widget.Widget
                        dui.Container.Container
                                dui.Bin.Bin
                                        dui.Button.Button
                                                dui.ToggleButton.ToggleButton
                                                        dui.OptionMenu.OptionMenu

Implemented interfaces:


public class

OptionMenu



A menu item???

Constructor Summary
(GtkWidget* gtkWidget)
          
public ()
          Creates a new OptionMenu
(MenuItemListener listener, String actionPrefix, String entries)
          Creates a new OptionMenu from an array of string
(char actionPrefix, String entries, void delegate(MenuItem))
          Creates a new OptionMenu from an array of string
(String actionPrefix, String entries, void delegate(MenuItem))
          
(Menu menu)
          Creates a new OptionMenu and set it's menu

Methods Summary
public static GType getType()
          Gets this class type
Menu getMenu()
          Gets the menu of this option menu
void setMenu(Menu menu)
          Set the menu for this option menu
void removeMenu()
          Removes the menu for this option menu
gint getHistory()
          Gets the history for this option menu ???
void setHistory(guint index)
          Sets the history for this option menu???


getType

public static GType getType()
Gets this class type

Returns:
this class type



ctor(OptionMenu)(GtkWidget* gtkWidget)



public ctor(OptionMenu)()
Creates a new OptionMenu



ctor(OptionMenu)(MenuItemListener listener, String actionPrefix, String entries)
Creates a new OptionMenu from an array of string



ctor(OptionMenu)(char actionPrefix, String entries, void delegate(MenuItem))
Creates a new OptionMenu from an array of string



ctor(OptionMenu)(String actionPrefix, String entries, void delegate(MenuItem))



ctor(OptionMenu)(Menu menu)
Creates a new OptionMenu and set it's menu

Parameters:
menu -

getMenu

Menu getMenu()
Gets the menu of this option menu

Returns:
the menu

setMenu

void setMenu(Menu menu)
Set the menu for this option menu

Parameters:
menu - the menu

removeMenu

void removeMenu()
Removes the menu for this option menu

getHistory

gint getHistory()
Gets the history for this option menu ???

Returns:
the history

setHistory

void setHistory(guint index)
Sets the history for this option menu???

Parameters:
index - the history