gtk.RadioToolButton.RadioToolButton Class Reference

Inheritance diagram for gtk.RadioToolButton.RadioToolButton:

gtk.ToggleToolButton.ToggleToolButton 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

GtkRadioToolButtongetRadioToolButtonStruct ()
 this (GtkRadioToolButton *gtkRadioToolButton)
 Sets our main struct and passes it to the parent class.
 this (ListSG group)
 Creates a new GtkRadioToolButton, adding it to group.
 this (ListSG group, char[] stockId)
 Creates a new GtkRadioToolButton, adding it to group.
 this ()
 Creates a new GtkRadioToolButton adding it to the same group as gruup group: An existing GtkRadioToolButton Returns: The new GtkRadioToolButton Since 2.4.
 this (char[] stockId)
 Creates a new GtkRadioToolButton adding it to the same group as group.
ListSG getGroup ()
 Returns the radio button group button belongs to.
void setGroup (ListSG group)
 Adds button to group, removing it from the group it belonged to before.

Protected Member Functions

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

Protected Attributes

GtkRadioToolButtongtkRadioToolButton
 the main Gtk struct

Constructor & Destructor Documentation

gtk.RadioToolButton.RadioToolButton.this ( GtkRadioToolButton gtkRadioToolButton  ) 

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

gtk.RadioToolButton.RadioToolButton.this ( ListSG  group  ) 

Creates a new GtkRadioToolButton, adding it to group.

group: An existing radio button group, or NULL if you are creating a new group Returns: The new GtkRadioToolButton Since 2.4

gtk.RadioToolButton.RadioToolButton.this ( ListSG  group,
char[]  stockId 
)

Creates a new GtkRadioToolButton, adding it to group.

The new GtkRadioToolButton will contain an icon and label from the stock item indicated by stock_id. group: an existing radio button group, or NULL if you are creating a new group stock_id: the name of a stock item Returns: The new GtkRadioToolItem Since 2.4

gtk.RadioToolButton.RadioToolButton.this (  ) 

Creates a new GtkRadioToolButton adding it to the same group as gruup group: An existing GtkRadioToolButton Returns: The new GtkRadioToolButton Since 2.4.

gtk.RadioToolButton.RadioToolButton.this ( char[]  stockId  ) 

Creates a new GtkRadioToolButton adding it to the same group as group.

The new GtkRadioToolButton will contain an icon and label from the stock item indicated by stock_id. group: An existing GtkRadioToolButton. stock_id: the name of a stock item Returns: A new GtkRadioToolButton Since 2.4


Member Function Documentation

ListSG gtk.RadioToolButton.RadioToolButton.getGroup (  ) 

Returns the radio button group button belongs to.

button: a GtkRadioToolButton Returns: The group button belongs to. Since 2.4

GtkRadioToolButton* gtk.RadioToolButton.RadioToolButton.getRadioToolButtonStruct (  ) 

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

the main Gtk struct as a void*

Reimplemented from gtk.ToggleToolButton.ToggleToolButton.

void gtk.RadioToolButton.RadioToolButton.setGroup ( ListSG  group  ) 

Adds button to group, removing it from the group it belonged to before.

button: a GtkRadioToolButton group: an existing radio button group Since 2.4 Property Details The "group" property "group" GtkRadioToolButton : Write Sets a new group for a radio tool button. Since 2.4 See Also GtkToolbar The toolbar widget GtkToolButton An ancestor class of GtkRadioToolButton. The properties "label_widget", "label", "icon_widget", and "stock_id" on GtkToolButton determine the label and icon used on a GtkRadioToolButton. GtkSeparatorToolItem A subclass of GtkToolItem that separates groups of items on a toolbar. It is usually a good idea to put a separator before and after a group of GtkRadioToolButtons on a GtkToolbar.


Member Data Documentation

GtkRadioToolButton* gtk.RadioToolButton.RadioToolButton.gtkRadioToolButton [protected]

the main Gtk struct


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