GtkCheckButton

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.ToggleButton.setMode) 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.

struct GtkCheckButton {}

Members

Variables

toggleButton
GtkToggleButton toggleButton;