Re: [gtk-list] justifying a label
- From: Eric Harlow <linuxgeek yahoo com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] justifying a label
- Date: Sat, 11 Jul 1998 11:15:52 -0700 (PDT)
Labels can be justified using the
gtk_misc_set_alignment. The second parameter determines -x-
justification. For instance,
gtk_misc_set_alignment (GTK_MISC (label), 0, 0);
is left justified
gtk_misc_set_alignment (GTK_MISC (label), .5, 0);
is centered
gtk_misc_set_alignment (GTK_MISC (label), 1, 0);
is right justified
-Eric
---Frédéric Baumann <fbaumann@worldnet.fr> wrote:
>
>
> I would like to have some GtkLabels be right or left justified,
> instead of centered.
>
> There seems to be a function :
>
> gtk_label_set_justify (label, GTK_JUSTIFY_...)
>
> but it does not do anything. The labels are still centerd
>
> How can I do ?? (I am using GTK 1.0.4).
>
> Thank you in advance,
> Frederic
>
> --
> ________________________________________________________________
> E-mail : fbaumann@worldnet.fr
> Web : http://home.worldnet.fr/~fbaumann
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com <
/dev/null
>
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]