PriLabels are labels with a priority.
PriLabels are usefull when widgets can have their label set multiple
times. This happens with genericcally created widgets. For example in:
data Foo = Foo { someName :: Bar }
data Bar = Bar Int
widgets created from Bar instances can have labels set due it's
constructor name and the fieldName in Foo (someName). A GUI
application programmer may also set the widgets label.
When a widget has set it's label multiple times, the priority can be
used to decide which label should be chosen.
|