ToggleButton.setActive

Sets the status of the toggle button.

Set to true if you want the gtk.toggle_button.ToggleButton to be “pressed in”, and false to raise it.

If the status of the button changes, this action causes the gtk.toggle_button.ToggleButton.toggled signal to be emitted.

class ToggleButton
void
setActive
()

Parameters

isActive bool

true or false.