setActive

open fun setActive(isActive: Boolean)

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@Gtk.ToggleButton::toggled signal to be emitted.

Parameters

isActive

true or false.