Button.setAlignment

Sets the alignment of the child. This property has no effect unless the child is a GtkMisc or a GtkAlignment. Since 2.4

class Button
void
setAlignment
(
float xalign
,
float yalign
)

Parameters

xalign float

the horizontal position of the child, 0.0 is left aligned, 1.0 is right aligned

yalign float

the vertical position of the child, 0.0 is top aligned, 1.0 is bottom aligned

Meta