ToggleButton —
A ToggleButton is the base class for all buttons that have an inherit state.
toggleButtonNew:: IO ToggleButton |
toggleButtonGetActive:: ToggleButtonClass tb => tb -> IO Bool |
toggleButtonGetInconsistent:: ToggleButtonClass tb => tb -> IO Bool |
toggleButtonNewWithLabel:: String -> IO ToggleButton |
toggleButtonSetMode:: ToggleButtonClass tb => tb -> Bool -> IO () |
toggleButtonToggled:: ToggleButtonClass tb => tb -> IO () |
onToggled:: ButtonClass b => b -> IO () -> IO (ConnectId b) |
Retrieve the current state of the button. Returns True if the button is depressed.
| toggleButtonGetActive | :: tb | :: IO Bool |
| tb |
Retrieve the inconsistent flag of the button. An inconsistent state only visually affects the button. It will be displayed in an "in-between" state.
| toggleButtonGetInconsistent | :: tb | :: IO Bool |
| tb |
Create a toggleButton with a label in it.
| toggleButtonNewWithLabel | :: String | :: IO ToggleButton |
| lbl |