Construct the widget.
Construct the widget.
Mixin common commands.
Set the border width of the widget.
Set the height of the widget if the geometry manager allows.
Set the amount of padding within the widget.
Set the relief type of the widget.
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 frame = new Frame(2, ReliefStyle.groove) .pack(0, 10); // Add a button to the frame. auto button = new Button(frame, "Text") .pack();
These are injected common commands that can also be used with this widget.
Border
Height
Padding
Relief
Width
Additional events that can also be bound to using the bind method.
<<PrevWindow>>, <Alt-Key>, <Key-F10>, <Key-Tab>,
A frame widget is a container, used to group other widgets together.