AspectFrame

constructor(xalign: Float, yalign: Float, ratio: Float, obeyChild: Boolean)

Create a new GtkAspectFrame.

Return

the new GtkAspectFrame.

Parameters

xalign

Horizontal alignment of the child within the parent. Ranges from 0.0 (left aligned) to 1.0 (right aligned)

yalign

Vertical alignment of the child within the parent. Ranges from 0.0 (top aligned) to 1.0 (bottom aligned)

ratio

The desired aspect ratio.

obeyChild

If true, @ratio is ignored, and the aspect ratio is taken from the requistion of the child.


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)