| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
Description | |||||||||||||||||||||||||||||
Base class for HButtonBox and VButtonBox | |||||||||||||||||||||||||||||
Synopsis | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
Detail | |||||||||||||||||||||||||||||
The primary purpose of this class is to keep track of the various properties of HButtonBox and VButtonBox widgets. buttonBoxGetChildSize retrieves the minimum width and height for widgets in a given button box. buttonBoxSetChildSize allows those properties to be changed. The internal padding of buttons can be retrieved and changed per button box using buttonBoxGetChildIpadding and buttonBoxSetChildIpadding respectively. buttonBoxGetSpacing and buttonBoxSetSpacing retrieve and change default number of pixels between buttons, respectively. buttonBoxGetLayout and buttonBoxSetLayout retrieve and alter the method used to spread the buttons in a button box across the container, respectively. The main purpose of ButtonBox is to make sure the children have all the same size. Therefore it ignores the homogeneous property which it inherited from Box, and always behaves as if homogeneous was True. | |||||||||||||||||||||||||||||
Class Hierarchy | |||||||||||||||||||||||||||||
| GObject | +----Object | +----Widget | +----Container | +----Box | +----ButtonBox | +----HButtonBox | +----VButtonBox | |||||||||||||||||||||||||||||
Types | |||||||||||||||||||||||||||||
data ButtonBox | |||||||||||||||||||||||||||||
class BoxClass o => ButtonBoxClass o | |||||||||||||||||||||||||||||
castToButtonBox :: GObjectClass obj => obj -> ButtonBox | |||||||||||||||||||||||||||||
toButtonBox :: ButtonBoxClass o => o -> ButtonBox | |||||||||||||||||||||||||||||
data ButtonBoxStyle | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
Methods | |||||||||||||||||||||||||||||
buttonBoxGetLayout :: ButtonBoxClass self => self -> IO ButtonBoxStyle | |||||||||||||||||||||||||||||
Retrieves the method being used to arrange the buttons in the button box. | |||||||||||||||||||||||||||||
buttonBoxSetLayout | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
buttonBoxSetChildSecondary | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
buttonBoxGetChildSecondary | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
Attributes | |||||||||||||||||||||||||||||
buttonBoxLayoutStyle :: ButtonBoxClass self => Attr self ButtonBoxStyle | |||||||||||||||||||||||||||||
How to layout the buttons in the box. Possible values are default, spread, edge, start and end. Default value: ButtonboxDefaultStyle | |||||||||||||||||||||||||||||
Child Attributes | |||||||||||||||||||||||||||||
buttonBoxChildSecondary :: (ButtonBoxClass self, WidgetClass child) => child -> Attr self Bool | |||||||||||||||||||||||||||||
If True, the child appears in a secondary group of children, suitable for, e.g., help buttons. Default value: False | |||||||||||||||||||||||||||||
Produced by Haddock version 2.6.0 |