Re: tables and rows
- From: Olexiy Avramchenko <ath beast stu cn ua>
- To: Nabil Sayegh <nas sayegh de>
- Cc: gtkmm-list <gtkmm-list gnome org>, gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: tables and rows
- Date: Tue, 17 Sep 2002 18:56:11 +0300
Nabil Sayegh wrote:
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
Try to use GtkTable unless you have to implement something very
special. GtkTable is usefull one and you'll keep it in your the gtk so/dll
for sure, so why not to use it ?
BTW: Is it possible to hide some columns of a table ?
Yep, if you hide all widgets (gtk_widget_hide()) in the column :)
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]