The function
set-default-use-native-input-method
controls whether the native input method is used by default. Currently it has an effect only on GTK+.
The values of the keyword arguments are booleans. editor-pane changes the default for editor-pane and subclasses. output-pane controls the default for output-pane and subclasses, except editor-pane and its subclasses.
If a keyword argument is not supplied, the corresponding default is not set.
CAPI Reference Manual - 15 Dec 2011