Safe Haskell | None |
---|---|
Language | Haskell98 |
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 Source # | |
Container LabelFrame Source # | 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 Source # | 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 Source # | A pane is a container for widgets. You can pack widgets to a pane via
the pack or grid command in the |
Container Toplevel Source # | A toplevel widget is a container for widgets. You can pack widgets to
a toplevel widget via pack or grid command in the
|
Container Frame Source # | A frame widget is a container for widgets. You can pack widgets to
a frame widget via pack or grid command in the
|
Container Box Source # | A box is a container for widgets. You can pack widgets to
a box via pack or grid command in the |
Container Canvas Source # | A canvas is also a container for widgets, because it can contain widgets in embedded windows. |
Container Editor Source # | An editor is also a container for widgets, because it can contain widgets in embedded windows. |
Container HTk Source # | 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) Source # | |
:: 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.