If you are refering to this: http://library.gnome.org/devel/gtk/stable/GtkTree.html, I would strongly advise against it, if you want the labels to follow the columns just do it this way: container { vbox { hbox { labels... }, scrolledwindow { table } } } And then use GtkSizeGroup to make the labels size to the widgets in the columns of the first row (you might do fancy stuff like give them shadow-in/out edges using viewports and alignments...). Note, if you are manipulating a potentially large dataset (arbitrary number of rows in your table ?), then I strongly suggest biting the bullet and using a treeview, treeview will allocate minimal resources for the task, while allocated offscreen widgets still cost memory. Why I strongly suggest you dont use GtkTree is because its long gone deprecated, unsupported and wont be available in 3.0. Cheers, -Tristan On Fri, Aug 8, 2008 at 3:32 AM, Rob Alblas <ralblas@xxxxxxxxxxxx> wrote: > > Tristan Van Berkom wrote: >> On Thu, Aug 7, 2008 at 6:06 AM, Rob Alblas <ralblas@xxxxxxxxx> wrote: >> >>> Hi, >>> Is it possible to define a scrollable table, where the first row (acting >>> as header) is fixed, i.e., is not part of the vertical scrollable part? >>> >> >> yes, youll be using a layout like this: >> >> container { vbox { header label, scrolledwindow { table } } } >> >> > I don't think this is the solution. The header should be part of the > table column; i.e, it should contain per-column text. > Got another solution (not replied to the list) which should work: using > gtk_tree to make a table instead of gtk_table. > > Thanks anyway, > Rob. > > -- > This message has been scanned for viruses and is believed to be clean > > _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list