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.

If the status of the button changes, this action causes the [signal@GtkToggleButton::toggled] signal to be emitted.

class ToggleButton
void
setActive
()

Parameters

isActive bool

%TRUE or %FALSE.

Meta