Re: EuGTK - GtkListStore - color?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Yes, you can certainly do that, and I had a demo somewhere, can't find it at the moment. Basically, you add a column to your list (which does not necessarily have to be shown) which contains the color for that row.

For example: Name Age [color] Bill 23 "blue" Jane 55 "red" etc.

Then you set the color of the textrenderer text or background. I'll dig around or write a new demo showing how that works.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu