Safe Haskell | None |
---|---|
Language | Haskell98 |
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.
Eq Box | Internal. |
Destroyable Box | A box can be destroyed. |
Synchronized Box | You can synchronize on a box object. |
GUIObject Box | Internal. |
HasOrientation Box | A box'es packing orientation is configureable. |
HasBorder Box | A box has a configureable border. |
HasSize Box | You can specify the size of a box. |
HasColour Box | A box has a configureable background colour. |
Widget Box | A box has standard widget properties (concerning focus, cursor). |
Container Box | A box is a container for widgets. You can pack widgets to
a box via pack or grid command in the |
:: 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.
:: 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.
:: 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.