Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Properties Style Properties Author(s) References
Base class for GtkHButtonBox and GtkVButtonBox
gtkButtonBoxGetLayout(object)
gtkButtonBoxGetChildSize(object)
gtkButtonBoxGetChildIpadding(object)
gtkButtonBoxGetChildSecondary(object, child)
gtkButtonBoxSetLayout(object, layout.style)
gtkButtonBoxSetChildSize(object, min.width, min.height)
gtkButtonBoxSetChildIpadding(object, ipad.x, ipad.y)
gtkButtonBoxSetChildSecondary(object, child, is.secondary)
1 2 3 4 5 6 7 8 9 | GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkButtonBox
+----GtkHButtonBox
+----GtkVButtonBox
|
GtkButtonBox implements
AtkImplementorIface, GtkBuildable
and GtkOrientable
.
The primary purpose of this class is to keep track of the various properties
of GtkHButtonBox
and GtkVButtonBox
widgets.
gtkButtonBoxGetChildSize
retrieves the minimum width and height
for widgets in a given button box. gtkButtonBoxSetChildSize
allows those properties to be changed.
The internal padding of buttons can be retrieved and changed per button box using
gtkButtonBoxGetChildIpadding
and gtkButtonBoxSetChildIpadding
respectively.
gtkButtonBoxGetSpacing()
and gtkButtonBoxSetSpacing()
retrieve and
change default number of pixels between buttons, respectively.
gtkButtonBoxGetLayout
and gtkButtonBoxSetLayout
retrieve and alter the method
used to spread the buttons in a button box across the container, respectively.
The main purpose of GtkButtonBox is to make sure the children have all the same size.
Therefore it ignores the homogeneous property which it inherited from GtkBox, and always
behaves as if homogeneous was TRUE
.
GtkButtonBox
This is a read-only struct; no members should be modified directly.
layout-style
[GtkButtonBoxStyle
: Read / Write]How to layout the buttons in the box. Possible values are default, spread, edge, start and end. Default value: GTK_BUTTONBOX_DEFAULT_STYLE
child-internal-pad-x
[integer : Read]Amount to increase child's size on either side. Allowed values: >= 0 Default value: 4
child-internal-pad-y
[integer : Read]Amount to increase child's size on the top and bottom. Allowed values: >= 0 Default value: 0
child-min-height
[integer : Read]Minimum height of buttons inside the box. Allowed values: >= 0 Default value: 27
child-min-width
[integer : Read]Minimum width of buttons inside the box. Allowed values: >= 0 Default value: 85
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkButtonBox.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.