gtkButtonSetAlignment {RGtk2} | R Documentation

## gtkButtonSetAlignment

### Description

Sets the alignment of the child. This property has no effect unless the child is a `GtkMisc` or a `GtkAligment`.

### Usage

    gtkButtonSetAlignment(object, xalign, yalign)

### Arguments

``object`` | a `GtkButton`
``xalign`` | the horizontal position of the child, 0.0 is left aligned, 1.0 is right aligned
``yalign`` | the vertical position of the child, 0.0 is top aligned, 1.0 is bottom aligned

### Details

Since 2.4

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.40 Index]