class CheckButton : gtk.ToggleButton.ToggleButton;
A #GtkCheckButton places a discrete #GtkToggleButton next to a widget, (usually a #GtkLabel). See the section on #GtkToggleButton widgets for more information about toggle/check buttons.

The important signal ( #GtkToggleButton::toggled ) is also inherited from #GtkToggleButton.

# CSS nodes

|[ checkbutton ├── check ╰── <child> ]|

A GtkCheckButton with indicator (see gtk_toggle_button_set_mode()) has a main CSS node with name checkbutton and a subnode with name check.

|[ button.check ├── check ╰── <child> ]|

A GtkCheckButton without indicator changes the name of its main node to button and adds a .check style class to it. The subnode is invisible in this case.

protected GtkCheckButton* gtkCheckButton ;
the main Gtk struct

GtkCheckButton* getCheckButtonStruct ();
Get the main Gtk struct

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

this(GtkCheckButton* gtkCheckButton, bool ownedRef = false);
Sets our main struct and passes it to the parent class.

this(string 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.

string label The text of the button, with an underscore in front of the mnemonic character
bool mnemonic true if the button has an mnemnonic

ConstructionException GTK+ fails to create the object.

this(string label, void delegate(CheckButton) onClicked, bool mnemonic = true);
static GType getType ();
Creates a new #GtkCheckButton.

a #GtkWidget.

ConstructionException GTK+ fails to create the object.

Page was generated with on Sun Apr 23 22:52:56 2017