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. This action causes the toggled signal and the clicked signal to be emitted.

Parameters:

this

a ToggleButton.

is_active

true or false.




2022 vala-language.org