Re: Change row background on a Treeview



On 1/25/08, Pedro Sousa <pasousa ml gmail com> wrote:
> Hi,
>
> I want to change the color background in the rows of a treeview,
> creating an effect on the type
>
>     ------------
>     |color blue|
>     |----------|
>     |color red |
>     |----------|
>     |color blue|
>     |----------|
>     |color red |
>     |----------|
>     |   ...    |
>     ------------
>
> Can anyone give me a pointer to documentation or explain how can I do this?
>
> My best regards
> Pedro Sousa
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list

you might find Gtk::CellRenderer::property_cell_background() useful:
http://gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1CellRenderer.html#e9e9c794b9e66819f1cde4e2604c25ac

-- 
jonner


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]