Re: nuts!



On Mon, 28 Jul 2014 23:00:34 -0700
Gary Kline <kline thought org> wrote:
while I can create several {N} labels, they print centered.  how do I 
get the labels to print from the left side of the window widget:

Use 'gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5)' to align left,
and 'gtk_misc_set_alignment(GTK_MISC(label), 1, 0.5)' to align right.
For multi-line labels, you would also want to call gtk_set_justify().

Chris


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]