|  | Source code | Contents | Index

Graphics.UI.ObjectIO.StdControlClass |

Portability | portable
Stability | provisional
Maintainer | ka2_mail@yahoo.com

Description
StdControlClass define the standard set of controls instances.
Synopsis

class Controls cdef where

controlToHandles :: cdef ls ps -> GUI ps [ControlState ls ps]

type ControlState ls ps = WElementHandle ls ps

Documentation
class Controls cdef where

For every user defined control we must have instance of Controls class. There is also instances for `AddLS`, `NewLS`, `ListLS`, `NilLS` and `TupLS` data types. Controls can be combined with ':+:' and `ListLS` constructors. With `AddLS` and `NewLS` we can extend or change the local state of a given group of controls. `NilLS` specifies empty control.
Methods

controlToHandles :: cdef ls ps -> GUI ps [ControlState ls ps]
controlToHandles translates control definition to internal representation

Instances

Controls ButtonControl
Controls CheckControl
Controls CustomButtonControl
Controls CustomControl
Controls EditControl
Controls ListBoxControl
Controls NilLS
Controls PopUpControl
Controls RadioControl
Controls SliderControl
Controls TextControl
Controls c => Controls (AddLS c)
Controls c => Controls (CompoundControl c)
Controls c => Controls (LayoutControl c)
Controls c => Controls (ListLS c)
Controls c => Controls (NewLS c)
Controls (Receiver m)
Controls (Receiver2 m r)
(Controls c1, Controls c2) => Controls (TupLS c1 c2)

type ControlState ls ps = WElementHandle ls ps
Produced by Haddock version 0.8