pike.hubbe.net

[Top]
GTK
GTK.Alignment
previousGTK.Alignment()->get_yscale() GTK.Arrownext

Method GTK.Alignment()->set()


Method set

object(GTK.Alignment) GTK.Alignment()->set(float xalign, float yalign, float xscale, float yscale)

Description

<table> <tr><td>xalign :</td> <td>the horizontal alignment of the child widget, from 0 (left) to 1 (right).</td></tr> <tr><td> yalign :</td> <td>the vertical alignment of the child widget, from 0 (top) to 1 (bottom).</td></tr> <tr><td> xscale :</td> <td>the amount that the child widget expands horizontally to fill up unused space, from 0 to 1. A value of 0 indicates that the child widget should never expand. A value of 1 indicates that the child widget will expand to fill all of the space allocated for the GTK.Alignment.</td></tr> <tr><td> yscale :</td> <td>the amount that the child widget expands vertically to fill up unused space, from 0 to 1. The values are similar to xscale.</td></tr> </table>


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