Creates a new GtkToggleAction object. To add the action to a GtkActionGroup and set the accelerator for the action, call add_action_with_accel() .