Re: Selection color in TreeView
- From: Kjell Ahlstedt <kjell ahlstedt bredband net>
- To: MatrixXXX <xxx koszmail pl>
- Cc: gtkmm-list gnome org
- Subject: Re: Selection color in TreeView
- Date: Tue, 23 Aug 2011 16:06:31 +0200
C++ methods for changing color:
gtkmm2:
Gtk::Widget::modify_fg(), modify_text(), modify_bg(), modify_base().
gtkmm3:
Gtk::Widget::override_color(), override_background_color().
See also bug 551912
(https://bugzilla.gnome.org/show_bug.cgi?id=551912).
It's more complicated than you would think to find the correct way to
change the color of a widget.
I'm not sure exactly how to change color in a TreeView. Perhaps it's not
possible to change it just by calling e.g.
Gtk::TreeView::override_color(). I guess that each cell contains its own
widget, whose color must be changed.
lör 2011-08-13 klockan 00:05 -0700 skrev MatrixXXX:
> Hi,
> How Can I change selection color in TreeView?
>
> http://img155.imageshack.us/img155/8104/22291831.png
>
> I want to do it in C++ code, not in file where style is saved.
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]