GtkLabel simply displays a
text string. If the text string contains newlines, GtkLabel displays multiple
lines. Labels honor the alignment parameter from their
parent class (GtkMisc); you
can use this to center the text, or move it to the left
or right. Alignment is not the same as justification.
Justification defines the position of multiple lines
with respect to each other. Left-justified means each
line starts in the same place, right-justified means
each ends in the same place, center-justified means
each is centered around the same imaginary line.
Justification has no meaning for one-line labels.
Alignment set with
gtk_misc_set_alignment() positions the entire
block of text within its size allocation; alignment
only matters if the label receives more space than it
requested (it will request just enough to hold the text
block). Labels are
GTK_NO_WINDOW widgets (which means they don't
receive events and draw on their parent's background).