Re: [gtk-list] alignment oddity
- From: Rob Huffstedtler <rob bagpipe com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] alignment oddity
- Date: Wed, 2 Jun 1999 19:13:04 -0500 (CDT)
I have this same problem every time I first make a menubar because I
forget to set the proper x option in the attach. Set GTK_FILL and it
should attach all across the cell, the the set_alignment should do its
thing.
On Tue, 1 Jun 1999, Nils Philippsen wrote:
> Hi.
>
> Can someone please tell me why the following doesn't work (or better: how
> I get it working):
>
> label = gtk_label_new (_("New:"));
> gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
> gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1,
> 0, 0, 0, 0);
> gtk_widget_show (label);
>
> Actually, the label should get left-justified in the table cell, despite
> it's centered. From gtk+-1.0 times I knew you had to perform the function
> calls in a special order, so I shuffled the stuff around, to no avail.
>
> Bye, Nils
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Nils Philippsen @college: nils@fht-esslingen.de
> Vogelsangstrasse 115 @home: nils@wombat.dialup.fht-esslingen.de
> D 70197 Stuttgart phone: +49-711-6599405
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> The use of COBOL cripples the mind; its teaching should, therefore, be
> regarded as a criminal offence. -- Edsger W. Dijkstra
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
= Rob Huffstedtler | We now return to our regularly +
+ (931) 596-3560 | scheduled programming =
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]