Stefan, Thanks for the information. Looks like the second option is simpler. By chance, is there any sample code that illustrates this? I have a hard time imagining how DrawingArea, for example, could be forced to draw its content inside TreeView.
Thanks much, Nickolai On 7/7/05, Stefan Kost <[EMAIL PROTECTED]> wrote: > Hi Nickolai, > > the TreeView has no selectionmmechanism that is that flexible. Two > suggestions: > 1.) use GtkSheet from gtk-extra-2 (its a spreadsheet widget) > 2.) sub-class the treeview and override the expose-method. in the overridden > expose call parents-expose and the just draw your stuff over it. > > Stefan > > Hi, > > > > I have a simple text table with one short string in each cell. I > > display this table by using TreeView/ListStore, and I would like to > > draw a custom border of different color around several cells within > > the same row and spawning multiple columns, much in the same way this > > is done in spreadsheet programs, where you can stretch the cell > > selecting frame to squeeze multiple cells at the same time. The only > > difference is that there is no stretching, in my case, and all the > > selected cells are in the same row. > > > > Put another way, is there anything that lets me draw a different color > > frame around several horizontal cells in a text table? > > > > Anybody can please explain how to achieve this? > > > > > > Best regards, > > > > Nickolai Dobrynin > > _______________________________________________ > > gtk-app-devel-list mailing list > > gtk-app-devel-list@gnome.org > > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list