Hi, I tried the following piece of code, to make the treeview selection. It worked well.
Gdk::Color select; select.set ( "#219eb0" ); // Set the color of your choice TreeView.modify_base ( Gtk::STATE_SELECTED, select ); //Set the state selected property You can also try this. And also I wanted to know, How did you create the window(Place where you add the treeview on to it) ?? Can you post that particular code ? Thanks, Anju. S Ofer Oshri-2 wrote: > > hi all, > i am trying to change the color of the selected rows in a treeview with no > luck. the current default blue is not good for my treeview. i have tried > using treeview::modify_bg(STATE_SELECTED, ...) and it did not work. i > could not find any solution on google. i did find others asking the same > question. any help will be appreciated. > thanks in advance, > ofer > > > --------------------------------- > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now. > _______________________________________________ > gtkmm-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/gtkmm-list > > -- View this message in context: http://www.nabble.com/How-to-change-the-color-of-TreeView-TreeSelection-tp16217830p16418439.html Sent from the Gtkmm mailing list archive at Nabble.com. _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
