| |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
| Description | |||||||||||||||||||||||||||||||
An action which can be toggled between two states
| |||||||||||||||||||||||||||||||
| Synopsis | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
| Detail | |||||||||||||||||||||||||||||||
| A ToggleAction corresponds roughly to a CheckMenuItem. It has an "active" state specifying whether the action has been checked or not. | |||||||||||||||||||||||||||||||
| Class Hierarchy | |||||||||||||||||||||||||||||||
| GObject | +----Action | +----ToggleAction | +----RadioAction | |||||||||||||||||||||||||||||||
| Types | |||||||||||||||||||||||||||||||
| data ToggleAction | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
| class ActionClass o => ToggleActionClass o | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
| castToToggleAction :: GObjectClass obj => obj -> ToggleAction | |||||||||||||||||||||||||||||||
| gTypeToggleAction :: GType | |||||||||||||||||||||||||||||||
| toToggleAction :: ToggleActionClass o => o -> ToggleAction | |||||||||||||||||||||||||||||||
| Constructors | |||||||||||||||||||||||||||||||
| toggleActionNew | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
| Methods | |||||||||||||||||||||||||||||||
| toggleActionToggled :: ToggleActionClass self => self -> IO () | |||||||||||||||||||||||||||||||
| Emits the "toggled" signal on the toggle action. | |||||||||||||||||||||||||||||||
| toggleActionSetActive | |||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
| toggleActionGetActive :: ToggleActionClass self => self -> IO Bool | |||||||||||||||||||||||||||||||
| Returns the checked state of the toggle action. | |||||||||||||||||||||||||||||||
| toggleActionSetDrawAsRadio :: ToggleActionClass self => self -> Bool -> IO () | |||||||||||||||||||||||||||||||
| Sets whether the action should have proxies like a radio action. | |||||||||||||||||||||||||||||||
| toggleActionGetDrawAsRadio :: ToggleActionClass self => self -> IO Bool | |||||||||||||||||||||||||||||||
| Returns whether the action should have proxies like a radio action. | |||||||||||||||||||||||||||||||
| Attributes | |||||||||||||||||||||||||||||||
| toggleActionDrawAsRadio :: ToggleActionClass self => Attr self Bool | |||||||||||||||||||||||||||||||
Whether the proxies for this action look like radio action proxies. Default value: False | |||||||||||||||||||||||||||||||
| toggleActionActive :: ToggleActionClass self => Attr self Bool | |||||||||||||||||||||||||||||||
If the toggle action should be active in or not. Default value: False
| |||||||||||||||||||||||||||||||
| Signals | |||||||||||||||||||||||||||||||
| actionToggled :: ToggleActionClass self => Signal self (IO ()) | |||||||||||||||||||||||||||||||
| Deprecated | |||||||||||||||||||||||||||||||
| onActionToggled :: ToggleActionClass self => self -> IO () -> IO (ConnectId self) | |||||||||||||||||||||||||||||||
| afterActionToggled :: ToggleActionClass self => self -> IO () -> IO (ConnectId self) | |||||||||||||||||||||||||||||||
| Produced by Haddock version 2.4.2 | |||||||||||||||||||||||||||||||