Package: gtk

Class gtk-button-box

Superclasses

gtk-box, gtk-container, gtk-widget, g-initially-unowned, gtk-buildable, gtk-orientable, g-object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

Direct Slots

layout-style
The "layout-style" property of type gtk-button-box-style (Read / Write)
How to lay out the buttons in the box. Possible values are: spread, edge, start and end.
Default value: :edge

Details

A button box should be used to provide a consistent layout of buttons throughout your application. The layout/spacing can be altered by the programmer, or if desired, by the user to alter the 'feel' of a program to a small degree.

The generic function gtk-button-box-layout-style retrieve and alter the method used to spread the buttons in a button box across the container.

The main purpose of gtk-button-box is to make sure the children have all the same size. gtk-button-box gives all children the same size, but it does allow 'outliers' to keep their own larger size. To force all children to be strictly the same size without exceptions, you can set the "homogeneous" property to true.

To excempt individual children from homogeneous sizing regardless of their 'outlier' status, you can set the "non-homogeneous" child property.

Note

The C functions gtk_button_box_get_layout and gtk_button_box_set_layout are not implemented in the Lisp binding. These functions are implemented as the generic function gtk-button-box-layout-style.

Style Property Details

The "child-internal-pad-x" style property
"child-internal-pad-x" of type :int (Read)
Amount to increase child's size on either side.
Allowed values: >= 0
Default value: 4

The "child-internal-pad-y" style property
"child-internal-pad-y" of type :int (Read)
Amount to increase child's size on the top and bottom.
Allowed values: >= 0
Default value: 0

The "child-min-height" style property
"child-min-height" of type :int (Read)
Minimum height of buttons inside the box.
Allowed values: >= 0
Default value: 27

The "child-min-width" style property
"child-min-width" of type :int (Read)
Minimum width of buttons inside the box.
Allowed values: >= 0
Default value: 85
 

Slot Access Functions

Inherited Slot Access Functions

2013-5-18