RE: how to align a label in GtkTable



hi:
you could try gtk_label_set_justify(GtkLabel *label,GtkJustification jtype);
typedef enum
{
  GTK_JUSTIFY_LEFT,
  GTK_JUSTIFY_RIGHT,
  GTK_JUSTIFY_CENTER,
  GTK_JUSTIFY_FILL
} GtkJustification;

for example:
gtk_label_set_justify (GTK_LABEL (label), GTK_JUSTIFY_LEFT);

-----Original Message-----
From: Marco Lettere [mailto:lettere di unipi it]
Sent: Monday, February 25, 2002 5:31 PM
To: gtk-list gnome org
Subject: how to align a label in GtkTable



hello,

I always get a label attached in a GtkTable to be centered in its cell.
How do I get it to be left aligned? is it possible using only
gtk_table_*() or gtk_label_*() functions?
thanx,
M.

 ____                 _____
|  _ \  ___ ___  _ __| ____|
| | | |/ __/ _ \| '__|  _|
| |_| | (_| (_) | |  | |___
|____/ \___\___/|_|  |_____|


_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list



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