| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
HTk.Kernel.ButtonWidget
Description
This module provides general functionality on button widgets.
- class Widget w => ButtonWidget w where
- buttonColours :: HasColour w => w -> ConfigID -> Bool
Documentation
class Widget w => ButtonWidget w where Source
Button widgets instantiate the class ButtonWidget.
Minimal complete definition
Nothing
Instances
| ButtonWidget Button | A button widget can be flashed (redisplayed several times in alternate colours) and invoked (the associated event). |
| ButtonWidget MenuButton | A menubutton widget can be flashed (redisplayed several times in alternate colours) and invoked (the associated event). |
| ButtonWidget (CheckButton a) | A checkbutton widget can be flashed (redisplayed several times in alternate colours) and invoked (the associated event) as any button widget. |
| ButtonWidget (RadioButton a) | A radiobutton widget can be flashed (redisplayed several times in alternate colours) and invoked (the associated event) as any button widget. |
buttonColours :: HasColour w => w -> ConfigID -> Bool Source
Internal.