Method

GtkMiscset_alignment

deprecated: 3.14 

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

Type: gfloat

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

yalign

Type: gfloat

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