Method

GtkMiscset_alignment

Declaration [src]

void
gtk_misc_set_alignment (
  GtkMisc* misc,
  gfloat xalign,
  gfloat yalign
)

Description [src]

Sets the alignment of the widget.

Deprecated since:3.14

Use GtkWidgets alignment (GtkWidget:halign and GtkWidget:valign) and margin properties or GtkLabels GtkLabel:xalign and GtkLabel:yalign properties.

Parameters

xalign gfloat
 

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

yalign gfloat
 

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