Package: gtk

Class gtk-misc

Superclasses

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

Documented Subclasses

Direct Slots

xalign
The xalign property of type :float (Read / Write)
The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.
Allowed values: [0,1]
Default value: 0.5
xpad
The xpad property of type :int (Read / Write)
The amount of space to add on the left and right of the widget, in pixels.
Allowed values: >= 0
Default value: 0
yalign
The yalign property of type :float (Read / Write)
The vertical alignment, from 0 (top) to 1 (bottom).
Allowed values: [0,1]
Default value: 0.5
ypad
The ypad property of type :int (Read / Write)
The amount of space to add on the top and bottom of the widget, in pixels.
Allowed values: >= 0
Default value: 0

Details

Base class for widgets with alignments and padding.

The gtk-misc widget is an abstract widget which is not useful itself, but is used to derive subclasses which have alignment and padding attributes.

The horizontal and vertical padding attributes allows extra space to be added around the widget.

The horizontal and vertical alignment attributes enable the widget to be positioned within its allocated area. Note that if the widget is added to a container in such a way that it expands automatically to fill its allocated area, the alignment settings will not alter the widgets position.

Note

Note that the desired effect can in most cases be achieved by using the halign, valign and margin properties on the child widget, so gtk-misc should not be used in new code. To reflect this fact, all gtk-misc API has been deprecated.
 

Slot Access Functions

Inherited Slot Access Functions

2019-3-5