Re: [gtkmm] cell rendering



> Like the examples (I think), either
> 1. Use a callback to set the cellrenderer color based on data in the
> model.

this gets back to my original question, in that i was having problems
setting up the slot properly in the set_cell_data_func call. Does anyone
have an example lying around?

> or
> 2. Store the color in an invisible model column, and tell the
> cellrenderer to render that as a color.

that looks promising, is it faster than using a callback?





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