An action which can have two states: on or off.
A GtkToggleAction corresponds roughly to a GtkCheckMenuItem. It has an "active" state specifying whether the action has been checked or not.
GtkToggleAction (string name, string label, string tooltip, string stock_id);-- Creates a new toggle action object.
get_active() Returns the checked state. get_draw_as_radio() Whether the action should have proxies like a radio action. set_active() Sets the checked state on the toggle action. set_draw_as_radio() Sets whether the action should have proxies like a radio action. toggled() Emits the "toggled" signal. "toggled" The state has been toggled.