Source codeContentsIndex
Box
Description
A container widget with a preset packing orientation (for simple packing).
Synopsis
data Flexibility
= Rigid
| Flexible
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
data Flexibility
The Flexibility datatype - used in the context of boxes (see containers).
Constructors
Rigid
Flexible
data Box
The Box datatype.
newBox
:: (Container par)
=> par the parent widget, which has to be a container widget (an instance of class Container).
-> 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.
newHBox
:: (Container par)
=> par the parent widget, which has to be a container widget (an instance of class Container).
-> [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.
newVBox
:: (Container par)
=> par the parent widget, which has to be a container widget (an instance of class Container).
-> [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.
newHFBox
:: (Container par)
=> par the parent widget, which has to be a container widget (an instance of class Container).
-> [Config Box] the list of configuration options for this box.
-> IO Box A box.
Constructs a new flexible box with horizontal packing order and returns a handler.
newVFBox
:: (Container par)
=> par the parent widget, which has to be a container widget (an instance of class Container).
-> [Config Box] the list of configuration options for this box.
-> IO Box A box.
Constructs a new flexible box with vertical packing order and returns a handler.
Produced by Haddock version 0.3