Go to the first, previous, next, last section, table of contents.

Button operators

* getButtonClick :: Button a -> IO a
* setButtonLabel :: Button a -> Picture -> IO a
change the current label for the button.
* combineButtons :: Button a -> IO (Button a)
merge a set of buttons together, such that button clicks that are reported to any of the combined buttons are forwarded to the combined button.
* mapButton :: (a->b) -> Button a -> Button b
returns a new button which for every value output by an existing button apply a function to its output.
* disableButton :: Button a -> IO ()
disable interaction with the user.
* enableButton :: Button a -> IO ()
if disabled, enable interaction again.
* nameButton :: SelectorName -> Button a -> Button a
return a button value with a new name.

Go to the first, previous, next, last section, table of contents.