Packing of widgets - HTk supports Tk's standard packer and grid packer.
- class GUIObject a => Container a
- pack :: Widget w => w -> [PackOption] -> IO ()
- grid :: Widget w => w -> [GridPackOption] -> IO ()
- data AbstractWidget = NONE
Documentation
class GUIObject a => Container a Source
Container widgets instantiate the abstract class Container
to enable packing.
Container AbstractWidget | |
Container Box | A box is a container for widgets. You can pack widgets to
a box via pack or grid command in the |
Container Frame | A frame widget is a container for widgets. You can pack widgets to
a frame widget via pack or grid command in the
|
Container Toplevel | A toplevel widget is a container for widgets. You can pack widgets to
a toplevel widget via pack or grid command in the
|
Container LabelFrame | A labelled frame is a container for widgets. You can pack widgets to
a labelled frame via pack or grid command in the
|
Container NoteBookPage | A notebook page is a container for widgets. You can pack widgets to
a notebook page via pack or grid command in the
|
Container Pane | A pane is a container for widgets. You can pack widgets to a pane via
the pack or grid command in the |
Container Canvas | A canvas is also a container for widgets, because it can contain widgets in embedded windows. |
Container Editor | An editor is also a container for widgets, because it can contain widgets in embedded windows. |
Container HTk | The main window is a container for widgets. You can pack widgets to
the main window via pack or grid command in the
|
Container (InputForm a) |
:: Widget w | |
=> w | the widget to pack. |
-> [PackOption] | the pack options. |
-> IO () | None. |
Packs a widget via the pack geometry manager.
:: Widget w | |
=> w | the widget to pack. |
-> [GridPackOption] | the grid pack options. |
-> IO () | None. |
Packs a widget via the grid geometry manager.