Replacement of GtkOptionMenu by GtkOptionBox



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?=



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