Gtk.AspectFrame.prototype.set
function set(xalign:Number, yalign:Number, ratio:Number, obey_child:Boolean):void {
// Gjs wrapper for gtk_aspect_frame_set()
}Set parameters for an existing Gtk.AspectFrame.
- xalign
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
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
The desired aspect ratio.
- obey_child
If true, ratio is ignored, and the aspect ratio is taken from the requistion of the child.