Re: nuts!



=====
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 28 years  of service  to the  Unix  community.

On Tue, Jul 29, 2014 at 03:37:03PM -0400, Chris Moller wrote:

It's actually gtk_*label*_set_justify ().



        noted; thanks.


On 07/29/14 15:22, Gary Kline wrote:
=====
Organization: Thought Unlimited.  Public service Unix since 1986.
Of_Interest: With 28 years  of service  to the  Unix  community.

On Tue, Jul 29, 2014 at 10:36:03AM +0100, Chris Vine wrote:
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
    thanks to you and tony newman, both.  you included what  I needed
    most: code!

    so far I don't believe I've used gtk_set_justify; I appreciate
    the tip.  I'll google up the function for v 3.0 if it's still
    there but would I justify separate labels (say: label1, label2,
    label3  OR label[i]?

    BTW, if I seem a bit dense about GTK+, it's because I graduated
    in 1982...  barely audio back then!

    gary



_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

-- 
 Gary Kline  kline thought org  http://www.thought.org  Public Service Unix
             Twenty-eight years of service to the Unix community.




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