pike.hubbe.net

[Top]
GTK
GTK.AspectFrame
previousGTK.AspectFrame()->create() GTK.Binnext

Method GTK.AspectFrame()->set()


Method set

object(GTK.AspectFrame) GTK.AspectFrame()->set(float xalign, float yalign, float ratio, int obey_child)

Description

Set the aspec values. Arguments are xalign, yalign, ratio, obey_child xalign is floats between 0 and 1, 0.0 is upper (or leftmost), 1.0 is lower (or rightmost). If 'obey_child' is true, the frame will use the aspect ratio of it's (one and only) child widget instead of 'ratio'.


Extracted from Pike v7.3 release 11 at 2001-11-03.