gtk.CheckButton.CheckButton Class Reference

Inheritance diagram for gtk.CheckButton.CheckButton:

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

Public Member Functions

GtkCheckButtongetCheckButtonStruct ()
 this (GtkCheckButton *gtkCheckButton)
 Sets our main struct and passes it to the parent class.
 this (char[] label, bool mnemonic=true)
 Creates a new GtkCheckButton with a GtkLabel to the right of it.
 this (char[] label, void delegate(CheckButton) onClicked, bool mnemonic=true)
 this ()
 Creates a new GtkCheckButton.

Protected Member Functions

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

Protected Attributes

GtkCheckButtongtkCheckButton
 the main Gtk struct

Constructor & Destructor Documentation

gtk.CheckButton.CheckButton.this ( GtkCheckButton gtkCheckButton  ) 

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

gtk.CheckButton.CheckButton.this ( char[]  label,
bool  mnemonic = true 
)

Creates a new GtkCheckButton with a GtkLabel to the right of it.

If mnemonic is true the label will be created using gtk_label_new_with_mnemonic(), so underscores in label indicate the mnemonic for the check button. label: The text of the button, with an underscore in front of the mnemonic character label: the text for the check button. Returns: a GtkWidget.

gtk.CheckButton.CheckButton.this ( char[]  label,
void delegate(CheckButton onClicked,
bool  mnemonic = true 
)

gtk.CheckButton.CheckButton.this (  ) 

Creates a new GtkCheckButton.

Returns: a GtkWidget.


Member Function Documentation

GtkCheckButton* gtk.CheckButton.CheckButton.getCheckButtonStruct (  ) 

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

the main Gtk struct as a void*

Reimplemented from gtk.ToggleButton.ToggleButton.

Reimplemented in gtk.RadioButton.RadioButton.


Member Data Documentation

GtkCheckButton* gtk.CheckButton.CheckButton.gtkCheckButton [protected]

the main Gtk struct


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