gtk.ToggleButton.ToggleButton Class Reference

Inheritance diagram for gtk.ToggleButton.ToggleButton:

gtk.Button.Button gtk.Bin.Bin gtk.Container.Container gtk.Widget.Widget gtk.ObjectGtk.ObjectGtk gobject.ObjectG.ObjectG gtk.CheckButton.CheckButton gtk.RadioButton.RadioButton List of all members.

Public Member Functions

GtkToggleButtongetToggleButtonStruct ()
 this (GtkToggleButton *gtkToggleButton)
 Sets our main struct and passes it to the parent class.
 this (char[] label, bit mnemonic=true)
 Creates a new toggle button with a text label.
void delegate (ToggleButton)[] onToggledListeners
void addOnToggled (void delegate(ToggleButton) dlg)
 extern (C) static void callBackToggled(GtkToggleButton *togglebuttonStruct

Public Attributes

int[char[]] connectedSignals

Protected Member Functions

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

Protected Attributes

GtkToggleButtongtkToggleButton
 the main Gtk struct

Constructor & Destructor Documentation

gtk.ToggleButton.ToggleButton.this ( GtkToggleButton gtkToggleButton  ) 

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

gtk.ToggleButton.ToggleButton.this ( char[]  label,
bit  mnemonic = true 
)

Creates a new toggle button with a text label.

If mnemonic is true the label will be created using gtk_label_new_with_mnemonic(), so underscores in label indicate the mnemonic for the button. label: a string containing the message to be placed in the toggle button. Returns: a new toggle button.

Reimplemented from gtk.Button.Button.


Member Function Documentation

void gtk.ToggleButton.ToggleButton.addOnToggled ( void delegate(ToggleButton dlg  ) 

void gtk.ToggleButton.ToggleButton.delegate ( ToggleButton   ) 

gtk.ToggleButton.ToggleButton.extern (  ) 

Reimplemented from gtk.Button.Button.

Reimplemented in gtk.RadioButton.RadioButton.

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

the main Gtk struct as a void*

Reimplemented from gtk.Button.Button.

Reimplemented in gtk.CheckButton.CheckButton, and gtk.RadioButton.RadioButton.

GtkToggleButton* gtk.ToggleButton.ToggleButton.getToggleButtonStruct (  ) 


Member Data Documentation

int [char[]] gtk.ToggleButton.ToggleButton.connectedSignals

Reimplemented from gtk.Button.Button.

Reimplemented in gtk.RadioButton.RadioButton.

GtkToggleButton* gtk.ToggleButton.ToggleButton.gtkToggleButton [protected]

the main Gtk struct


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