Method

GtkButtonget_alignment

Declaration [src]

void
gtk_button_get_alignment (
  GtkButton* button,
  gfloat* xalign,
  gfloat* yalign
)

Description [src]

Gets the alignment of the child in the button.

Available since:2.4
Deprecated since:3.14

Access the child widget directly if you need to control its alignment.

Parameters

xalign gfloat*
 

Return location for horizontal alignment.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
yalign gfloat*
 

Return location for vertical alignment.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.