Re: TreeView and setting row colors
- From: "Andrew E. Makeev" <andrew solvo ru>
- To: Aaron Geier <ageier catalystmicro com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: TreeView and setting row colors
- Date: Thu, 30 Aug 2007 11:05:21 +0400
В Срд, 29/08/2007 в 15:34 -0600, Aaron Geier пишет:
> Hello all,
>
> I've been using the Gtk::Widget::modify_base and
> Gtk::Widget::modify_text to modify the background colors and foreground
> colors of things like Gtk::Entry objects.
>
> I'm looking for a way to modify the base and text of a row in a TreeView
> using the TreeStore model.
>
> The reason I want to do this, is to bring attention to certain rows in
> the TreeView using colors.
>
> I have been looking through the documentation, and I can't seem to find
> a good way of doing this, or if it is even possible.
>
Usually, one is using Gtk::CellRenderer properties to change row (cell)
colors. Gtk::CellRendererText has even more options to change cell
looking.
-andrew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]