object -- a gtk:switch widget state -- a boolean for the state
Details
The accessor for the state slot gets or sets the
underlying state of the switch. Normally, this is the same as the active property, unless
the switch is set up for delayed state changes. This function is typically called from a "state-set" signal handler.