> >How can I change the default GTK+ input method used by a system? I've >seen mention of the GTK_IM_MODULE enviroment variable, but it does not >seem to have any effect. > In gtkimcontextsimple.c there is a variable "global_context_id" which maintains the input method of gtk. Setting that to "myinputmethod" will help you have it as default. But do this after initialisation of the module, else it will give a undefined refrence to you input method. >For instance, I've tried >export GTK_IM_MODULE="myinputmethod";gtk-demo > >Also, is there any way to change this at runtime, with a C function >call? > >-- >Murray Cumming >murrayc@xxxxxxxxxxx >www.murrayc.com >www.openismus.com -- Anupama Chandwani Celunite Soft Technologies 3rd Floor, Business Avenue Koregaon Park Pune, MS 411001 INDIA _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list