How to set default name to GtkComboBox?

Posted by PP on Stack Overflow See other posts from Stack Overflow or by PP
Published on 2010-04-14T07:39:09Z Indexed on 2010/04/14 11:43 UTC
Read the original article Hit count: 130

Filed under:
|
|

I want to set my GtkComboBox to have some default value/name, on it as follows:

+---------------+---+
| Image Options | X |
+---------------+---+
| Image Option 1    |         
+-------------------+
| Image Option 2    |         
+-------------------+
| Image Option 3    |         
+-------------------+

"Image Options" will be just a Title and it will disappear once user selects any option from list. when user click on the list and selects "Image Option 3" then it will display selected value insted of "Image Options". "Image Options" will not be a part of option list.

© Stack Overflow or respective owner

Related posts about gtk

Related posts about gtk+