This module provides a ''button'' widget type which has a
button-like appearance and generates ''press'' events. Button
s
are pressed when a user presses Enter while the button has focus.
Documentation
buttonWidget :: Button -> Widget PaddedSource
Get a reference to the button's widget to lay it out.
onButtonPressed :: Button -> (Button -> IO ()) -> IO ()Source
Register a handler for the button press event.
pressButton :: Button -> IO ()Source
Programmatically press a button to trigger its event handlers.