Re: How to draw a custom border across multiple cells in TreeView?
- From: Stefan Kost <ensonic hora-obscura de>
- To: Nickolai Dobrynin <ndobrynin gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to draw a custom border across multiple cells in TreeView?
- Date: Thu, 07 Jul 2005 09:50:05 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]