Re: How to draw a custom border across multiple cells in TreeView?

2005-07-08 Thread Stefan Kost
Hi Nickolai, 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 I can

Re: How to draw a custom border across multiple cells in TreeView?

2005-07-07 Thread Nickolai Dobrynin
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 Ko

Re: How to draw a custom border across multiple cells in TreeView?

2005-07-07 Thread Stefan Kost
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.

How to draw a custom border across multiple cells in TreeView?

2005-07-06 Thread Nickolai Dobrynin
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