Package: gtk

Function gtk:aspect-frame-new

Lambda List

gtk:aspect-frame-new (xalign yalign ratio obey)

Arguments

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 -- 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.
 

See also

2024-4-21