using GtkComboBox with widgets in c
I'm writing an application and I'm still using deprecated GtkOptionMenu, but today I really want to migrate. I tried to find out how to pack widget's in a GtkComboBox but I didn't find an answer. So help me please! One more question I'm asking me about GtkComboBox, is how to set hidden user data to text, which I would append. Are there created GtkLabel's where I can call g_object_set_data to do so?
|
I don't believe GtkComboBoxes are allowed to contain widgets, just strings. I imagine you'll have to define your own type of combo box. Try this reference for ideas:
http://www.kksou.com/php-gtk2/articl...d-combobox.php |
All times are GMT -5. The time now is 11:23 PM. |