Source code
Contents
Index
ButtonWidget
Description
This module provides general functionality on button widgets.
Synopsis
class
(
Widget
w) => ButtonWidget w
where
flash
:: w -> IO ()
invoke
:: w -> IO ()
buttonColours
:: (
HasColour
w) => w ->
ConfigID
-> Bool
Documentation
class
(
Widget
w) => ButtonWidget w
where
Button widgets instantiate the class
ButtonWidget
.
Methods
flash
:: w -> IO ()
Flashes the given button widget.
invoke
:: w -> IO ()
Invokes the given button widget.
Instances
ButtonWidget
Button
ButtonWidget
(
CheckButton
a)
ButtonWidget
MenuButton
ButtonWidget
(
RadioButton
a)
buttonColours
:: (
HasColour
w) => w ->
ConfigID
-> Bool
Internal.
Produced by
Haddock
version 0.3