Package: gtk

Function gtk-frame-label-align

Lambda List

gtk-frame-label-align (frame)

Syntax

(gtk-frame-label-align frame) => xalign, yalign
(setf (gtk-frame-label-align frame) (list xalign yalign))

Arguments

frame -- a gtk-frame widget
xalign -- a :float with the position of the label along the top edge of the widget, a value of 0.0 represents left alignment, 1.0 represents right alignment
yalign -- a :float with the y alignment of the label, a value of 0.0 aligns under the frame, 1.0 aligns above the frame, if the values are exactly 0.0 or 1.0 the gap in the frame will not be painted because the label will be completely above or below the frame

Details

Accessor of the label-xalign and label-yalign properties of a frame widget.

The function gtk-frame-label-align retrieves the x and y alignment of the frame's label. The function (setf gtk-frame-label-align) sets the alignment of the frame container's label. The default values for a newly created frame are 0.0 and 0.5.
 

See also

2020-9-5