gtk.MenuToolButton.MenuToolButton Class Reference

Inheritance diagram for gtk.MenuToolButton.MenuToolButton:

gtk.ToolButton.ToolButton gtk.ToolItem.ToolItem gtk.Bin.Bin gtk.Container.Container gtk.Widget.Widget gtk.ObjectGtk.ObjectGtk gobject.ObjectG.ObjectG List of all members.

Public Member Functions

GtkMenuToolButtongetMenuToolButtonStruct ()
 this (GtkMenuToolButton *gtkMenuToolButton)
 Sets our main struct and passes it to the parent class.
 this (Widget iconWidget, char[] label)
 Creates a new GtkMenuToolButton using icon_widget as icon and label as label.
 this (StockID stockId)
 Creates a new GtkMenuToolButton.
Menu getMenu ()
 Gets the GtkMenu associated with GtkMenuToolButton.
void setArrowTooltip (char[] tipText, char[] tipPrivate)
 Sets the toolTip for the arrow Params: tipText = tipPrivate =.
void delegate (MenuToolButton)[] onShowMenuListeners
void addOnShowMenu (void delegate(MenuToolButton) dlg)
 extern (C) static void callBackShowMenu(GtkMenuToolButton *menutoolbuttonStruct

Public Attributes

int[char[]] connectedSignals

Protected Member Functions

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

Protected Attributes

GtkMenuToolButtongtkMenuToolButton
 the main Gtk struct

Constructor & Destructor Documentation

gtk.MenuToolButton.MenuToolButton.this ( GtkMenuToolButton gtkMenuToolButton  ) 

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

gtk.MenuToolButton.MenuToolButton.this ( Widget  iconWidget,
char[]  label 
)

Creates a new GtkMenuToolButton using icon_widget as icon and label as label.

icon_widget: a widget that will be used as icon widget, or NULL label: a string that will be used as label, or NULL Returns: the new GtkMenuToolButton Since 2.6

gtk.MenuToolButton.MenuToolButton.this ( StockID  stockId  ) 

Creates a new GtkMenuToolButton.

The new GtkMenuToolButton will contain an icon and label from the stock item indicated by stock_id. stock_id: the name of a stock item Returns: the new GtkMenuToolButton Since 2.6

Reimplemented from gtk.ToolButton.ToolButton.


Member Function Documentation

void gtk.MenuToolButton.MenuToolButton.addOnShowMenu ( void delegate(MenuToolButton dlg  ) 

void gtk.MenuToolButton.MenuToolButton.delegate ( MenuToolButton   ) 

gtk.MenuToolButton.MenuToolButton.extern (  ) 

Reimplemented from gtk.ToolButton.ToolButton.

Menu gtk.MenuToolButton.MenuToolButton.getMenu (  ) 

Gets the GtkMenu associated with GtkMenuToolButton.

button: a GtkMenuToolButton Returns: the GtkMenu associated with GtkMenuToolButton Since 2.6

GtkMenuToolButton* gtk.MenuToolButton.MenuToolButton.getMenuToolButtonStruct (  ) 

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

the main Gtk struct as a void*

Reimplemented from gtk.ToolButton.ToolButton.

void gtk.MenuToolButton.MenuToolButton.setArrowTooltip ( char[]  tipText,
char[]  tipPrivate 
)

Sets the toolTip for the arrow Params: tipText = tipPrivate =.


Member Data Documentation

int [char[]] gtk.MenuToolButton.MenuToolButton.connectedSignals

Reimplemented from gtk.ToolButton.ToolButton.

GtkMenuToolButton* gtk.MenuToolButton.MenuToolButton.gtkMenuToolButton [protected]

the main Gtk struct


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