AspectFrame.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(string label, float xalign, float yalign, float ratio, bool obeyChild)

Create a new #GtkAspectFrame.

Parameters

labelLabel text.
xalignHorizontal alignment of the child within the allocation of the #GtkAspectFrame. This ranges from 0.0 (left aligned) to 1.0 (right aligned)
yalignVertical alignment of the child within the allocation of the #GtkAspectFrame. This ranges from 0.0 (top aligned) to 1.0 (bottom aligned)
ratioThe desired aspect ratio.
obeyChildIf true, ratio is ignored, and the aspect ratio is taken from the requistion of the child.

Returns

the new #GtkAspectFrame.