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 excempt individual children from homogeneous sizing regardless of their 'outlier' status, you can set the non-homogeneous child property.

CSS nodes

gtk-button-box uses a single CSS node with name buttonbox.

Child Property Details

non-homogeneous
The non-homogeneous child property of type :boolean (Read / Write)
If true, the child will not be subject to homogeneous sizing.
Default value: nil
secondary
The secondary child property of type :boolean (Read / Write)
If true, the child appears in a secondary group of children, suitable for, e.g., help buttons.
Default value: nil

Style Property Details

child-internal-pad-x
The child-internal-pad-x style property of type :int (Read)
Amount to increase child's size on either side.
Warning: child-internal-pad-x has been deprecated since version 3.20 and should not be used in newly-written code. Use CSS padding instead.
Allowed values: >= 0
Default value: 4
child-internal-pad-y
The child-internal-pad-y style property of type :int (Read)
Amount to increase child's size on the top and bottom.
Warning: child-internal-pad-y has been deprecated since version 3.20 and should not be used in newly-written code. Use CSS padding instead.
Allowed values: >= 0
Default value: 0
child-min-height
The child-min-height style property of type :int (Read)
Minimum height of buttons inside the box.
Warning: child-min-height has been deprecated since version 3.20 and should not be used in newly-written code. Use CSS padding instead.
Allowed values: >= 0
Default value: 27
child-min-width
The child-min-width style property of type :int (Read)
Minimum width of buttons inside the box.
Warning: child-min-width has been deprecated since version 3.20 and should not be used in newly-written code. Use CSS padding instead.
Allowed values: >= 0
Default value: 85
 

Slot Access Functions

Inherited Slot Access Functions

2013-5-18