Re:gtklabel: GTK_JUSTIFY_LEFT



Eric Harlow has already replied to this question in a previous message
(Wed,15 Jul 1998).
Next time, please seek in the archives before asking...
 
**Align left:

gtk_misc_set_alignment (GTK_MISC (label), 0, .5);

**Align Right:

gtk_misc_set_alignment (GTK_MISC (label, 1, .5);

The second param is the -x- and the third is the -y-

0 is left (2nd param) or top (3rd param)
.5 is centered
1 is right (2nd param) or bottom (3rd param)

 
-- 
Marc
** ERROR **: sigsegv caught



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