Box —
This abstract container class is instatiated by using HBox or VBox. It supplies all methods to add and remove children.
boxGetSpacing:: BoxClass b => b -> IO Int |
boxPackEnd:: (BoxClass b, WidgetClass w) => b -> w -> Packing -> Int -> IO () |
boxPackEndDefaults:: (BoxClass b, WidgetClass w) => b -> w -> IO () |
boxPackStart:: (BoxClass b, WidgetClass w) => b -> w -> Packing -> Int -> IO () |
boxPackStartDefaults:: (BoxClass b, WidgetClass w) => b -> w -> IO () |
boxQueryChildPacking:: (BoxClass b, WidgetClass w) => b -> w -> IO (Packing,Int,PackType) |
boxReorderChild:: (BoxClass b, WidgetClass w) => b -> w -> Int -> IO () |
boxSetChildPacking:: (BoxClass b, WidgetClass w) => b -> w -> Packing -> Int -> PackType -> IO () |
boxSetHomogeneous:: BoxClass b => b -> Bool -> IO () |
boxSetSpacing:: BoxClass b => b -> Int -> IO () |
Insert a widget at the end of the box container.
| boxPackEnd | :: b | :: w | :: Packing | :: Int | :: IO () |
| b | w | p | pad |
See boxPackStart. The option Natural will move a child to the right in an HBox or to the bottom in an VBox if there is more space availble.
Like boxPackEnd but uses the default parameters PackRepel and 0 for padding.
| boxPackEndDefaults | :: b | :: w | :: IO () |
| b | w |
Insert a widget at the beginning of the box container.
| boxPackStart | :: b | :: w | :: Packing | :: Int | :: IO () |
| b | w | p | pad |
The Packing parameter determines how the child behaves in the horizontal or vertical way in an HBox or VBox, respectively. PackNatural means the child is as big as it reqests. It will move to the left in an HBox or to the top in an VBox if there is more space availble. All children that have choosen PackRepel for p will be padded on both sides with additional space. PackGrow will increase the size of the so that is covers the available space.
Like boxPackStart but uses the default parameters PackRepel and 0 for padding.
| boxPackStartDefaults | :: b | :: w | :: IO () |
| b | w |
Query the packing parameter of a child.
| boxQueryChildPacking | :: b | :: w | :: IO (Packing,Int,PackType) |
| b | w |
Returns information on the behaviour if free space is available (in Packing), the additional padding for this widget and if the widget was inserted at the start or end of the container ( PackType).
Move child to a new position (counted from 0) in the box.
| boxReorderChild | :: b | :: w | :: Int | :: IO () |
| b | w | position |
Set the packing parameter of a child.
| boxSetChildPacking | :: b | :: w | :: Packing | :: Int | :: PackType | :: IO () |
| b | w | pack | pad | pt |