 | AutoForms-0.5.0: GUI library based upon generic programming (SYB3) | Contents | Index |
|
| Graphics.UI.AF.General.PriLabel |
|
|
|
| Synopsis |
|
|
|
| Documentation |
|
| data PriLabel |
| Prioritized label. If two PriLabel can be used for some
component, then the one with highest priority is used.
| | Constructors | | PriLabel | | | priority :: Priority | | | labelString :: String | |
|
| Instances | |
|
|
| data Priority |
| The label priority.
| | Constructors | | BadConstr | | | GoodConstr | | | FieldName | | | UserDefined | |
| Instances | |
|
|
| badConstrLabel :: String -> PriLabel |
|
| goodConstrLabel :: String -> PriLabel |
|
| fieldNameLabel :: String -> PriLabel |
|
| userDefinedLabel :: String -> PriLabel |
|
| bestLabel :: PriLabel -> PriLabel -> PriLabel |
| Choose label with highest priority. If equal then choose the left
|(first parameter) label.
|
|
| humanizeLabel :: PriLabel -> PriLabel |
| Humanized label strings, by turning labels like someLabelName
into Some label name.
|
|
| defaultLabel :: String -> PriLabel |
| Creates a default (lowest priority) PriLabel
|
|
| labelless :: PriLabel |
|
| Produced by Haddock version 2.0.0.0 |