¤ oldButtonF

Types

oldButtonF :: (Graphic a) => FontName -> [(ModState, KeySym)] -> a -> F b Click

Synopsis

oldButtonF fname keys text

Description

oldButtonF is a simple command button displaying a text.

Input

Ignores all inputs.

Output

When pressed, it will emit a Click

Arguments

fname :: FontName
Name of the font to use for text. Fonts can be examined by using the command xfontsel. (This argument is likely to disappear in the near future. It will be replaced by some resource mechanism.)
keys :: [(ModState, KeySym)]
Key equivalent list. Instead of clicking on the button, a combination of modifiers and a key from the list can be pressed.
text :: a
The button text.

Example

 oldButtonF buttonFont [([Mod1],"q")] "Nisse Hult"

See Also

menuF, toggleButtonF, radioF, buttonFont.