Package: gtk

Function gtk-aspect-frame-new

Lambda List

gtk-aspect-frame-new (label xalign yalign ratio obey-child)

Arguments

label -- a string with the label text
xalign -- a float with the horizontal alignment of the child within the allocation of the aspect frame, this ranges from 0.0 (left aligned) to 1.0 (right aligned)
yalign -- a float with the vertical alignment of the child within the allocation of the aspect frame, this ranges from 0.0 (left aligned) to 1.0 (right aligned)
ratio -- a float with the desired aspect ratio
obey-child -- if true, ratio is ignored, and the aspect ratio is taken from the requistion of the child

Return Value

The new gtk-aspect-frame widget.

Details

Create a new aspect frame container.
 

See also

2021-12-17