gtk.Menu.Menu Class Reference

Inheritance diagram for gtk.Menu.Menu:

gtk.MenuShell.MenuShell gtk.Container.Container gtk.Widget.Widget gtk.ObjectGtk.ObjectGtk gobject.ObjectG.ObjectG List of all members.

Public Member Functions

GtkMenugetMenuStruct ()
 this (GtkMenu *gtkMenu)
 Sets our main struct and passes it to the parent class.
void append (Widget widget)
void popup (guint button, guint32 activateTime)
 Popups up this menu.
Menu appendSubmenu (char[] label)
 Creates and append a submenu to this menu.
void appendSubmenu (char[] label, Menu submenu)
Menu prependSubmenu (char[] label)
void delegate (GtkScrollType, Menu)[] onMoveScrollListeners
void addOnMoveScroll (void delegate(GtkScrollType, Menu) dlg)
 extern (C) static void callBackMoveScroll(GtkMenu *menuStruct

Public Attributes

int[char[]] connectedSignals
GtkScrollType arg1

Protected Member Functions

void * getStruct ()
 the main Gtk struct as a void*

Protected Attributes

GtkMenugtkMenu
 the main Gtk struct

Constructor & Destructor Documentation

gtk.Menu.Menu.this ( GtkMenu gtkMenu  ) 

Sets our main struct and passes it to the parent class.


Member Function Documentation

void gtk.Menu.Menu.addOnMoveScroll ( void delegate(GtkScrollType, Menu dlg  ) 

void gtk.Menu.Menu.append ( Widget  widget  ) 

void gtk.Menu.Menu.appendSubmenu ( char[]  label,
Menu  submenu 
)

Menu gtk.Menu.Menu.appendSubmenu ( char[]  label  ) 

Creates and append a submenu to this menu.

This menu item that actualy has the sub menu is also created.

Parameters:
label the sub menu item label
Returns:
the new menu

void gtk.Menu.Menu.delegate ( GtkScrollType  ,
Menu   
)

gtk.Menu.Menu.extern (  ) 

Reimplemented from gtk.MenuShell.MenuShell.

GtkMenu* gtk.Menu.Menu.getMenuStruct (  ) 

void* gtk.Menu.Menu.getStruct (  )  [protected]

the main Gtk struct as a void*

Reimplemented from gtk.MenuShell.MenuShell.

void gtk.Menu.Menu.popup ( guint  button,
guint32  activateTime 
)

Popups up this menu.

Parameters:
button ??? you can pass a button number here
activateTime ??? you can pass the time from an event here

Menu gtk.Menu.Menu.prependSubmenu ( char[]  label  ) 


Member Data Documentation

GtkScrollType gtk.Menu.Menu.arg1

Reimplemented from gtk.MenuShell.MenuShell.

int [char[]] gtk.Menu.Menu.connectedSignals

Reimplemented from gtk.MenuShell.MenuShell.

GtkMenu* gtk.Menu.Menu.gtkMenu [protected]

the main Gtk struct


SourceForge.net Logo DSource.org Logo digitalmars.com Logo