GtkMisc::get_alignment

arary get_alignment();

Returns an array containing the alignment values for the widget within its allocation. The first element of the array is the x alignment and the second element is the y alignment.

Alignment values are represented as a percentage of the parent's height or width. For example, an x alignment of .5 aligns the 50% of the width from the left of the parent widget. A value of 1 aligns the widget as far to the right as possible.

The default for both alignment values is .5.

See also: set_alignment()