Package ch.bailu.gtk.gtk
Class IMMulticontext
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.gtk.IMContext
ch.bailu.gtk.gtk.IMMulticontext
- All Implemented Interfaces:
PointerInterface
`GtkIMMulticontext` is an input method context supporting multiple,
switchable input methods.
Text widgets such as `GtkText` or `GtkTextView` use a `GtkIMMultiContext`
to implement their `im-module` property for switching between different
input methods.
switchable input methods.
Text widgets such as `GtkText` or `GtkTextView` use a `GtkIMMultiContext`
to implement their `im-module` property for switching between different
input methods.
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gtk.IMContext
IMContext.OnCommit, IMContext.OnDeleteSurrounding, IMContext.OnPreeditChanged, IMContext.OnPreeditEnd, IMContext.OnPreeditStart, IMContext.OnRetrieveSurroundingNested classes/interfaces inherited from class ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify -
Field Summary
Fields inherited from class ch.bailu.gtk.gtk.IMContext
SIGNAL_ON_COMMIT, SIGNAL_ON_DELETE_SURROUNDING, SIGNAL_ON_PREEDIT_CHANGED, SIGNAL_ON_PREEDIT_END, SIGNAL_ON_PREEDIT_START, SIGNAL_ON_RETRIEVE_SURROUNDINGFields inherited from class ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerGets the id of the currently active delegate of the @context.static intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizevoidsetContextId(Str context_id) Sets the context id for @context.voidsetContextId(String context_id) Sets the context id for @context.Methods inherited from class ch.bailu.gtk.gtk.IMContext
deleteSurrounding, filterKey, filterKeypress, focusIn, focusOut, getSurroundingWithSelection, onCommit, onDeleteSurrounding, onPreeditChanged, onPreeditEnd, onPreeditStart, onRetrieveSurrounding, reset, setClientWidget, setCursorLocation, setSurroundingWithSelection, setSurroundingWithSelection, setUsePreeditMethods inherited from class ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnrefMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
IMMulticontext
-
IMMulticontext
public IMMulticontext()Creates a new `GtkIMMulticontext`.
-
-
Method Details
-
getClassHandler
-
getContextId
Gets the id of the currently active delegate of the @context.- Returns:
- the id of the currently active delegate
-
setContextId
Sets the context id for @context.
This causes the currently active delegate of @context to be
replaced by the delegate corresponding to the new context id.
Setting this to a non-%NULL value overrides the system-wide
IM module setting. See the [property@Gtk.Settings:gtk-im-module]
property.- Parameters:
context_id- the id to use
-
setContextId
Sets the context id for @context.
This causes the currently active delegate of @context to be
replaced by the delegate corresponding to the new context id.
Setting this to a non-%NULL value overrides the system-wide
IM module setting. See the [property@Gtk.Settings:gtk-im-module]
property.- Parameters:
context_id- the id to use
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-