Misc.setAlignment

Sets the alignment of the widget.

More...
class Misc
void
setAlignment
(
float xalign
,
float yalign
)

Parameters

xalign float

the horizontal alignment, from 0 (left) to 1 (right).

yalign float

the vertical alignment, from 0 (top) to 1 (bottom).

Detailed Description

Deprecated: Use gtk.Widget's alignment (halign and valign) and margin properties or gtk.Label's xalign and yalign properties.