ParentContentsIndex
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 c) => Controls (AddLS c)
(Controls c) => Controls (NewLS c)
(Controls c) => Controls (ListLS c)
Controls NilLS
(Controls c1, Controls c2) => Controls (TupLS c1 c2)
Controls ButtonControl
Controls CheckControl
(Controls c) => Controls (CompoundControl c)
Controls CustomButtonControl
Controls CustomControl
Controls EditControl
(Controls c) => Controls (LayoutControl c)
Controls PopUpControl
Controls ListBoxControl
Controls RadioControl
Controls SliderControl
Controls TextControl
Controls (Receiver m)
Controls (Receiver2 m r)
type ControlState ls ps = WElementHandle ls ps
Produced by Haddock version 0.3