RE: tables and rows



Hello,

Personally, I would go with using a table.  I had a similar dilemma on
my hands a few weeks ago, and have decided that the table is the easiest
method for aligning widgets.  Aligning vboxes and hboxes would prove to
be more effort than it is worth in the long run, in my inexperienced
opinion.

By hiding columns, what are you referring to?  Simply having empty
columns?  If that is what you are looking for, then all you need to do
is not pack a widget into a cell or column, and it will do what you're
looking for.

Good luck!
Tom Cameron


-----Original Message-----
From: Nabil Sayegh [mailto:nas sayegh de] 
Sent: Tuesday, September 17, 2002 9:51 AM
To: gtkmm-list
Cc: gtk-app-devel-list
Subject: tables and rows


Hi all,

I need to display a table where each row has the same elements. Actually
a vbox containing n hboxes would be easy to build and intuitive. But I
want the 'cells' to be aligned like in a real table.

What do you think is more elegant / less effort ?

1) vbox with hboxes
drawback: manually taking care of the alignments
benefit:  could write a class for the rows making is

2) table
drawback: adding rows more complicated
benefit:  everything is aligned automatically

BTW: Is it possible to hide some columns of a table ?

TIA
-- 
 e-trolley Sayegh & John, Nabil Sayegh
 Tel.: 0700 etrolley /// 0700 38765539
 Fax.: +49 69 8299381-8
 PGP : www.e-trolley.de

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]