Property

GtkSwitch:state

Declaration

property state: gboolean [ read, write ]

Description [src]

The backend state that is controlled by the switch.

Applications should usually set the GtkSwitch:active property, except when indicating a change to the backend state which occurs separately from the user’s interaction.

See GtkSwitch::state-set for details.

Type:gboolean

Default valueFALSE
Getter methodgtk_switch_get_state()
Setter methodgtk_switch_set_state()

Flags

Readableyes
Writableyes
Constructno
Construct onlyno