AspectFrame.set

Set parameters for an existing gtk.AspectFrame

class AspectFrame
void
set
(
float xalign
,
float yalign
,
float ratio
,
)

Parameters

xalign
Type: float

Horizontal alignment of the child within the allocation of the gtk.AspectFrame This ranges from 0.0 (left aligned) to 1.0 (right aligned)

yalign
Type: float

Vertical alignment of the child within the allocation of the gtk.AspectFrame This ranges from 0.0 (top aligned) to 1.0 (bottom aligned)

ratio
Type: float

The desired aspect ratio.

obeyChild
Type: bool

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

Meta