Construct the widget.
Construct the widget.
Set a widget to use for the label. The widget must be a child of the labelframe widget or one of the labelframe's ancestors, and must belong to the same top-level widget as the labelframe. If set, overrides the text parameter.
Mixin common commands.
Set the height of the widget if the geometry manager allows.
Set the amount of padding within the widget.
Get the widget text.
Get the index where the insert cursor is.
Underline one of the characters in the widget text.
Set the width of the widget if the geometry manager allows.
Set the widget's state.
Get the widget's state.
Test if a widget is in a particular state.
Remove the widget's state.
Reset the widget's state to default.
Set the widget's style.
Get the widget's style.
Set if the widget can recieve focus during keyboard traversal.
Get if the widget can recieve focus during keyboard traversal.
Geometry method for loosely placing this widget inside its parent using a web browser model. Widgets flow around each other in the available space.
Geometry method for placing this widget inside its parent using an imaginary grid. Somewhat more direct and intuitive than pack. Choose grid for tabular layouts, and when there's no good reason to choose something else.
Geometry method for placing this widget inside its parent using absolute positioning.
Geometry method for placing this widget inside its parent using relative positioning. In this case the position and size is specified as a floating-point number between 0.0 and 1.0 relative to the height of the parent. 0.5 means the widget will be half as high as the parent and 1.0 means the widget will have the same height as the parent, and so on.
auto labelFrame = new LabelFrame("Text") .pack(0, 10); // Add a button to the label frame. auto button = new Button(labelFrame, "Text") .pack();
These are injected common commands that can also be used with this widget.
Anchor
Height
Padding
Text
Underline
Width
Additional events that can also be bound to using the bind method.
<<Invoke>>, <<PrevWindow>>, <Alt-Key>, <Key-F10>, <Key-Tab>,
A label frame widget is a container used to group other widgets together. It has an optional label, which may be a plain text string or another widget.