ToggleAction
Object Hierarchy:
Description:
public class ToggleAction :
Action,
Buildable
A ToggleAction corresponds roughly to a CheckMenuItem.
It has an “active” state specifying whether the action has been checked or not.
Content:
Properties:
Creation methods:
Methods:
- public bool get_active ()
Returns the checked state of the toggle action.
- public bool get_draw_as_radio ()
Returns whether the action should have proxies like a radio action.
- public void set_active (bool is_active)
Sets the checked state on the toggle action.
- public void set_draw_as_radio (bool draw_as_radio)
Sets whether the action should have proxies like a radio action.
Signals:
Inherited Members:
All known members inherited from class Gtk.Action
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Buildable