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

Selector creators

* mkSelector :: SelectorResources -> a -> Component (Selector a, DisplayHandle)
creates a new Selector. The appearance will be whatever is the default unless it is overridden by giving it an attribute value in the first argument. The same goes for interactive behaviour and the other tweakables of the abstraction, defaults are applied unless they are overridden via the first argument. The second argument gives the value that should be output each time the user completes interaction with the Selector, e.g., each time the user releases the mouse button a value of type `a' is output.

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