Replacement of GtkOptionMenu by GtkOptionBox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am currently  trying to repplace occurrences of the deprecated
GtkOptionMenu by GtkComboBox. I would like to know if it is possible to
make one of the options insensitive. The following code comes from
gnumeric (src/dialogs/dialog-stf-export.c). 


> 		gtk_widget_set_sensitive (
> 			GTK_WIDGET (g_list_nth_data (GTK_MENU_SHELL (gtk_option_menu_get_menu (state->format.transliterate))->children,
> 			TRANSLITERATE_MODE_TRANS)),
> 			FALSE);*/

With which code can I replace this to obtain the same behavior?

Regards,

Jean

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux