set up combobox in treeview with colors

Suppose you have set up combobox in treeview using GtkCellRendererCombo.

Andre Colomb wrote to me in Aug 2007 with the first method of color-coding the options of the pulldown menu:

http://www.kksou.com/php-gtk2/articles/set-up-combobox-in-treeview-with-colors—Part-1.php

He wrote to me again in Oct 2007 with a second method of displaying the options in color:

http://www.kksou.com/php-gtk2/articles/set-up-combobox-in-treeview-with-colors—Part-3.php

Do take a look at the second method. It’s really cool, allowing you to do other exciting stuff such as displaying the options with two or more columns of data, changing the font of the options, etc.

/kksou

http://www.kksou.com/php-gtk2
The place for php-gtk2 sample codes

Leave a Reply