RE: how to align a label in GtkTable
- From: Marco Lettere <lettere di unipi it>
- To: 黃慶 Kason Huang <kasonhuang kinposh com cn>
- Cc: <gtk-list gnome org>
- Subject: RE: how to align a label in GtkTable
- Date: Mon, 25 Feb 2002 10:46:38 +0100 (CET)
On Mon, 25 Feb 2002, [big5] ¶À¼y Kason Huang wrote:
yes I tried it by it doesn't seem to work in a table cell context.
I do create a table, create a label, set the label justification and
then attach the label.
I don't know if I'm doing something wrong.
Are there some caveats like "first set alignment of the
label and then attach it to the table" or or viceversa?
M.
> 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;
>
>
> 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]