carlos Familiar Face
Joined: 25 Mar 2008 Posts: 7
|
Posted: Mon Apr 28, 2008 9:56 pm Post subject: How to handle row sensitivity in GtkComboBox menus? |
|
|
Hi all,
Two questions regarding sensitivity in combobox menus:
1) How can I dinamically set a row in a GtkComboBox menu as sentitive/insensitive and know what is the current sensitive
state?
Let's say user clicked on a button, as a result, row 0 should become insensitive and row 1 should become sensitive. How can I do this?
With widgets I would use:
gtk_widget_set_sensitive (menu_item, TRUE);
if (GTK_WIDGET_SENSITIVE (menu_item) == TRUE)
but store rows are not widgets... so this takes me to the second question:
2) is it possible to handle rows in combobox menus as widgets, so they work as menuitems in option menus?
I suppose this is not possible, but I would like to confirm...
I really need this to convert my option menus to combox menus... many, many, thanks for your help!
Carlos |
|