[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Alignment in a GtkTable
- From: "K. M. Hawarden-Ogata" <hawarden duke ifa hawaii edu>
- To: <gtk-app-devel-list redhat com>
- Subject: Re: Alignment in a GtkTable
- Date: Thu, 7 Oct 1999 11:09:43 -1000
you can try to use gtk_misc_set_alignment(GtkMisc *misc, gfloat xalign,
gfloat yalign);
where 0 is left, 1 is right, 0 is top, 1 is bottom.
But I don't think it works all the time. It should work if GtkMisc is part
of the object's hiearchy, above it.
(Example: GtkObject --> GtkWidget --> GtkMisc --> GtkLabel, so it's possible
to align a label.)
Hope it helps,
Miranda
/------------------------------------------------------------------------\
| Miranda Hawarden-Ogata Email: hawarden@irtf.ifa.hawaii.edu |
| NASA IRTF, Institute of Astronomy Phone: (808) 974-4206 |
| 1175 Manono St., Bldg 393 Fax: (808) 974-4207 |
| Hilo, HI 96720 |
\------------------------------------------------------------------------/
-----Original Message-----
From: Kent Schumacher <kent@structural-wood.com>
To: GTK applications developers list <gtk-app-devel-list@redhat.com>
Date: Thursday, October 07, 1999 10:08 AM
Subject: Alignment in a GtkTable
>Is there any way to specify the alignment of widgets placed inside of
>an GtkTable.
>
>It appears that everything is automatically centered.
>
>Thanks,
>Kent
>
>
>
>--
> To unsubscribe: mail gtk-app-devel-list-request@redhat.com with
> "unsubscribe" as the Subject.
>
> Mailing list concerns should be mailed to <listmaster@redhat.com>
>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]