set_active


Description:

public void set_active (bool is_active)

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:GtkToggleButton:toggled] signal to be emitted.

Parameters:

this

a `GtkToggleButton`.

is_active

true or false.