| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
HTk.Containers.Box
Description
A container widget with a preset packing orientation (for simple packing).
- data Box
- newBox :: Container par => par -> Flexibility -> [Config Box] -> IO Box
- newHBox :: Container par => par -> [Config Box] -> IO Box
- newVBox :: Container par => par -> [Config Box] -> IO Box
- newHFBox :: Container par => par -> [Config Box] -> IO Box
- newVFBox :: Container par => par -> [Config Box] -> IO Box
Documentation
The Box datatype.
Instances
| Eq Box Source # | Internal. |
| Destroyable Box Source # | A box can be destroyed. |
| Synchronized Box Source # | You can synchronize on a box object. |
| GUIObject Box Source # | Internal. |
| HasOrientation Box Source # | A box'es packing orientation is configureable. |
| HasBorder Box Source # | A box has a configureable border. |
| HasSize Box Source # | You can specify the size of a box. |
| HasColour Box Source # | A box has a configureable background colour. |
| Widget Box Source # | A box has standard widget properties (concerning focus, cursor). |
| Container Box Source # | A box is a container for widgets. You can pack widgets to
a box via pack or grid command in the |
Arguments
| :: Container par | |
| => par | the parent widget, which has to be a container widget
(an instance of |
| -> Flexibility | the flexibility of the box. |
| -> [Config Box] | the list of configuration options for this box. |
| -> IO Box | A box. |
Constructs a new box and returns a handler.
Arguments
| :: Container par | |
| => par | the parent widget, which has to be a container widget
(an instance of |
| -> [Config Box] | the list of configuration options for this box. |
| -> IO Box | A box. |
Constructs a new box with horizontal packing order and rigid flexibility and returns a handler.
Arguments
| :: Container par | |
| => par | the parent widget, which has to be a container widget
(an instance of |
| -> [Config Box] | the list of configuration options for this box. |
| -> IO Box | A box. |
Constructs a new box with vertical packing order and rigid flexibility and returns a handler.