Create widgets with a discrete toggle button
Class GtkCheckButton
A GtkCheckButton places a discrete gtk.ToggleButton next to a widget, (usually a GtkLabel). See the section on GtkToggleButton widgets for more information about toggle/check buttons.
The important signal ('toggled') is also inherited from GtkToggleButton.
Methods | |
new_with_label | Creates a new GtkCheckButton with a GtkLabel to the right of it. |
new_with_mnemonic | Creates a new GtkCheckButton containing a label. |
Creates a new GtkCheckButton with a GtkLabel to the right of it.
GtkCheckButton.new_with_label( label )
label | the text for the check button. |
Return | a new GtkCheckButton |
Creates a new GtkCheckButton containing a label.
GtkCheckButton.new_with_mnemonic( label )
label | The text of the button, with an underscore in front of the mnemonic character |
Return | a new GtkCheckButton |
The label will be created using gtk_label_new_with_mnemonic(), so underscores in label indicate the mnemonic for the check button.