Re: Gtk::TreeView sorting
- From: Mike White <mwhite gwmail gwu edu>
- To: "gtkmm-list gnome org" <gtkmm-list gnome org>
- Subject: Re: Gtk::TreeView sorting
- Date: Tue, 24 Feb 2015 18:36:21 -0700
Bumping this thread. Any ideas?
On Jan 23, 2015, at 3:56 PM, Michael White <mwhite gwmail gwu edu> wrote:
Hello,
I have created my treeview where every other row has a background color set. something to the effect of:
row0 --- bgcolor = gray
---------------------------------
row1 --- bgcolor = white
---------------------------------
row2 --- bgcolor = gray
---------------------------------
row3 --- bgcolor = white
---------------------------------
etc.
However, when i sort the TreeView on a certain column, the rows background color are no longer correct as
depending on how the data was sorted the rows display as having multiple rows with white background
followed by a few gray, etc. I assume this is due to the fact i changed the cell renderer's background
color. My question -- is there a way to trigger a "repaint" after the sort so i get back my intention of
every other row being a certain color?
Thanks,
Mike
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]