Source codeContentsIndex
LabelFrame
Description
HTk's LabelFrame widget. A labelled container for widgets. This widget is from the Tix library and therefore only available if Tix is installed. When Tix is not available, a normal frame widget will be used instead.
Synopsis
data LabelFrame
newLabelFrame :: (Container par) => par -> [Config LabelFrame] -> IO LabelFrame
labelSide :: LabelSide -> Config LabelFrame
getLabelSide :: LabelFrame -> IO LabelSide
data LabelSide
= TopLabel
| LeftLabel
| RightLabel
| BottomLabel
| NoLabel
| AcrossTopLabel
Documentation
data LabelFrame
The LabelFrame datatype.
newLabelFrame
:: (Container par)
=> par the parent widget, which has to be a container widget (an instance of class Container).
-> [Config LabelFrame] the list of configuration options for this labelled frame.
-> IO LabelFrame A labelled frame.
Constructs a new label frame and returns it as a value.
labelSide :: LabelSide -> Config LabelFrame
You can specify the side to display the label.
getLabelSide :: LabelFrame -> IO LabelSide
Gets the side where the label is displayed.
data LabelSide
The LabelSide datatype.
Constructors
TopLabel
LeftLabel
RightLabel
BottomLabel
NoLabel
AcrossTopLabel
Instances
Read LabelSide
Show LabelSide
GUIValue LabelSide
Produced by Haddock version 0.3