ToggleButton.setActive

Sets the status of the toggle button. Set to true if you want the GtkToggleButton to be “pressed in”, and false to raise it. This action causes the #GtkToggleButton::toggled signal and the #GtkButton::clicked signal to be emitted.

class ToggleButton
void
setActive
()

Parameters

isActive bool

true or false.