Re: [gtk-list] Alignment of labels
- From: Eric Harlow <linuxgeek yahoo com>
- To: gtk-list redhat com
- Cc: jwise pathwaynet com
- Subject: Re: [gtk-list] Alignment of labels
- Date: Wed, 15 Jul 1998 07:52:51 -0700 (PDT)
Align left:
gtk_misc_set_alignment (GTK_MISC (label), 0, .5);
Align Right:
gtk_misc_set_alignment (GTK_MISC (label, 1, .5);
The second param is the -x- and the third is the -y-
0 is left (2nd param) or top (3rd param)
.5 is centered
1 is right (2nd param) or bottom (3rd param)
-Eric
---Jeremy Wise <jwise@pathwaynet.com> wrote:
>
>
> How does one go about forcing a set of labels to be left or right
aligned?
> For example, if I create a vbox, and then use gtk_box_pack_start to
pack
> 5 or so labels, how do I make sure they're all lined up on the right
side?
>
> Thanks in advance,
>
> Jeremy Wise
> jwise@pathwaynet.com
>
>
> --
> 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]