Versions in this module Expand all Collapse all v0 v0.6.18 Aug 22, 2026 v0.6.17 Aug 22, 2026 Changes in this version + var IMKCandidatesOpacityAttributeName string + var IMKCandidatesSendServerKeyEventFirst string + var IMKControllerClass string + var IMKDelegateClass string + var IMKModeDictionary string + var KIMKCommandClientName string + var KIMKCommandMenuItemName string + type IIMKCandidates interface + AttachChildToCandidateType func(child IIMKCandidates, candidateIdentifier int, theType IMKStyleType) + Attributes func() foundation.INSDictionary + CandidateFrame func() corefoundation.CGRect + CandidateIdentifierAtLineNumber func(lineNumber int) int + CandidateStringIdentifier func(candidateString objectivec.IObject) int + ClearSelection func() + DetachChild func(candidateIdentifier int) + DismissesAutomatically func() bool + Hide func() + HideChild func() + InitWithServerPanelType func(server IIMKServer, panelType IMKCandidatePanelType) IMKCandidates + InitWithServerPanelTypeStyleType func(server IIMKServer, panelType IMKCandidatePanelType, style IMKStyleType) IMKCandidates + IsVisible func() bool + LineNumberForCandidateWithIdentifier func(candidateIdentifier int) int + PanelType func() IMKCandidatePanelType + SelectCandidate func(candidateIdentifier int) + SelectCandidateWithIdentifier func(candidateIdentifier int) bool + SelectedCandidate func() int + SelectedCandidateString func() foundation.NSAttributedString + SelectionKeys func() foundation.INSArray + SelectionKeysKeylayout func() uintptr + SetAttributes func(attributes foundation.INSDictionary) + SetCandidateData func(candidatesArray foundation.INSArray) + SetCandidateFrameTopLeft func(point corefoundation.CGPoint) + SetDismissesAutomatically func(flag bool) + SetPanelType func(panelType IMKCandidatePanelType) + SetSelectionKeys func(keyCodes foundation.INSArray) + SetSelectionKeysKeylayout func(layout uintptr) + Show func(locationHint IMKCandidatesLocationHint) + ShowAnnotation func(annotationString foundation.NSAttributedString) + ShowCandidates func() + ShowChild func() + ShowSublistSubListDelegate func(candidates foundation.INSArray, delegate objectivec.IObject) + UpdateCandidates func() + type IIMKInputController interface + ActivateServer func(sender objectivec.IObject) + AnnotationSelectedForCandidate func(annotationString foundation.NSAttributedString, ...) + CancelComposition func() + CandidateSelected func(candidateString foundation.NSAttributedString) + CandidateSelectionChanged func(candidateString foundation.NSAttributedString) + Client func() objectivec.IObject + CompositionAttributesAtRange func(range_ foundation.NSRange) foundation.INSDictionary + DeactivateServer func(sender objectivec.IObject) + Delegate func() objectivec.IObject + DoCommandBySelectorCommandDictionary func(aSelector objc.SEL, infoDictionary foundation.INSDictionary) + HidePalettes func() + InitWithServerDelegateClient func(server IIMKServer, delegate objectivec.IObject, inputClient objectivec.IObject) IMKInputController + InputControllerWillClose func() + MarkForStyleAtRange func(style int, range_ foundation.NSRange) foundation.INSDictionary + Menu func() appkit.NSMenu + Modes func(sender objectivec.IObject) foundation.INSDictionary + MouseDownOnCharacterIndexCoordinateWithModifierContinueTrackingClient func(index uint, point corefoundation.CGPoint, flags uint, ...) (bool, bool) + MouseMovedOnCharacterIndexCoordinateWithModifierClient func(index uint, point corefoundation.CGPoint, flags uint, ...) bool + MouseUpOnCharacterIndexCoordinateWithModifierClient func(index uint, point corefoundation.CGPoint, flags uint, ...) bool + RecognizedEvents func(sender objectivec.IObject) uint + ReplacementRange func() foundation.NSRange + SelectionRange func() foundation.NSRange + Server func() IIMKServer + SetDelegate func(newDelegate objectivec.IObject) + SetValueForTagClient func(value objectivec.IObject, tag int, sender objectivec.IObject) + ShowPreferences func(sender objectivec.IObject) + UpdateComposition func() + ValueForTagClient func(tag int, sender objectivec.IObject) objectivec.IObject + type IIMKServer interface + Bundle func() foundation.Bundle + InitWithNameBundleIdentifier func(name string, bundleIdentifier string) IMKServer + InitWithNameControllerClassDelegateClass func(name string, controllerClassID objectivec.Class, ...) IMKServer + LastKeyEventWasDeadKey func() bool + PaletteWillTerminate func() bool + type IMKCandidatePanelType = uint + type IMKCandidates struct + func IMKCandidatesFromID(id objc.ID) IMKCandidates + func NewIMKCandidates() IMKCandidates + func NewIMKCandidatesWithServerPanelType(server IIMKServer, panelType IMKCandidatePanelType) IMKCandidates + func NewIMKCandidatesWithServerPanelTypeStyleType(server IIMKServer, panelType IMKCandidatePanelType, style IMKStyleType) IMKCandidates + func (i IMKCandidates) AttachChildToCandidateType(child IIMKCandidates, candidateIdentifier int, theType IMKStyleType) + func (i IMKCandidates) Attributes() foundation.INSDictionary + func (i IMKCandidates) Autorelease() IMKCandidates + func (i IMKCandidates) CandidateFrame() corefoundation.CGRect + func (i IMKCandidates) CandidateIdentifierAtLineNumber(lineNumber int) int + func (i IMKCandidates) CandidateStringIdentifier(candidateString objectivec.IObject) int + func (i IMKCandidates) ClearSelection() + func (i IMKCandidates) DetachChild(candidateIdentifier int) + func (i IMKCandidates) DismissesAutomatically() bool + func (i IMKCandidates) Hide() + func (i IMKCandidates) HideChild() + func (i IMKCandidates) Init() IMKCandidates + func (i IMKCandidates) InitWithServerPanelType(server IIMKServer, panelType IMKCandidatePanelType) IMKCandidates + func (i IMKCandidates) InitWithServerPanelTypeStyleType(server IIMKServer, panelType IMKCandidatePanelType, style IMKStyleType) IMKCandidates + func (i IMKCandidates) IsVisible() bool + func (i IMKCandidates) LineNumberForCandidateWithIdentifier(candidateIdentifier int) int + func (i IMKCandidates) PanelType() IMKCandidatePanelType + func (i IMKCandidates) SelectCandidate(candidateIdentifier int) + func (i IMKCandidates) SelectCandidateWithIdentifier(candidateIdentifier int) bool + func (i IMKCandidates) SelectedCandidate() int + func (i IMKCandidates) SelectedCandidateString() foundation.NSAttributedString + func (i IMKCandidates) SelectionKeys() foundation.INSArray + func (i IMKCandidates) SelectionKeysKeylayout() uintptr + func (i IMKCandidates) SetAttributes(attributes foundation.INSDictionary) + func (i IMKCandidates) SetCandidateData(candidatesArray foundation.INSArray) + func (i IMKCandidates) SetCandidateFrameTopLeft(point corefoundation.CGPoint) + func (i IMKCandidates) SetDismissesAutomatically(flag bool) + func (i IMKCandidates) SetPanelType(panelType IMKCandidatePanelType) + func (i IMKCandidates) SetSelectionKeys(keyCodes foundation.INSArray) + func (i IMKCandidates) SetSelectionKeysKeylayout(layout uintptr) + func (i IMKCandidates) Show(locationHint IMKCandidatesLocationHint) + func (i IMKCandidates) ShowAnnotation(annotationString foundation.NSAttributedString) + func (i IMKCandidates) ShowCandidates() + func (i IMKCandidates) ShowChild() + func (i IMKCandidates) ShowSublistSubListDelegate(candidates foundation.INSArray, delegate objectivec.IObject) + func (i IMKCandidates) UpdateCandidates() + type IMKCandidatesClass struct + func GetIMKCandidatesClass() IMKCandidatesClass + func (ic IMKCandidatesClass) Alloc() IMKCandidates + func (ic IMKCandidatesClass) Class() objc.Class + type IMKCandidatesLocationHint = uint + type IMKInputController struct + func IMKInputControllerFromID(id objc.ID) IMKInputController + func NewIMKInputController() IMKInputController + func NewIMKInputControllerWithServerDelegateClient(server IIMKServer, delegate objectivec.IObject, inputClient objectivec.IObject) IMKInputController + func (i IMKInputController) ActivateServer(sender objectivec.IObject) + func (i IMKInputController) AnnotationSelectedForCandidate(annotationString foundation.NSAttributedString, ...) + func (i IMKInputController) Autorelease() IMKInputController + func (i IMKInputController) CancelComposition() + func (i IMKInputController) CandidateSelected(candidateString foundation.NSAttributedString) + func (i IMKInputController) CandidateSelectionChanged(candidateString foundation.NSAttributedString) + func (i IMKInputController) Client() objectivec.IObject + func (i IMKInputController) CompositionAttributesAtRange(range_ foundation.NSRange) foundation.INSDictionary + func (i IMKInputController) DeactivateServer(sender objectivec.IObject) + func (i IMKInputController) Delegate() objectivec.IObject + func (i IMKInputController) DoCommandBySelectorCommandDictionary(aSelector objc.SEL, infoDictionary foundation.INSDictionary) + func (i IMKInputController) HidePalettes() + func (i IMKInputController) Init() IMKInputController + func (i IMKInputController) InitWithServerDelegateClient(server IIMKServer, delegate objectivec.IObject, inputClient objectivec.IObject) IMKInputController + func (i IMKInputController) InputControllerWillClose() + func (i IMKInputController) MarkForStyleAtRange(style int, range_ foundation.NSRange) foundation.INSDictionary + func (i IMKInputController) Menu() appkit.NSMenu + func (i IMKInputController) Modes(sender objectivec.IObject) foundation.INSDictionary + func (i IMKInputController) MouseDownOnCharacterIndexCoordinateWithModifierContinueTrackingClient(index uint, point corefoundation.CGPoint, flags uint, ...) (bool, bool) + func (i IMKInputController) MouseMovedOnCharacterIndexCoordinateWithModifierClient(index uint, point corefoundation.CGPoint, flags uint, ...) bool + func (i IMKInputController) MouseUpOnCharacterIndexCoordinateWithModifierClient(index uint, point corefoundation.CGPoint, flags uint, ...) bool + func (i IMKInputController) RecognizedEvents(sender objectivec.IObject) uint + func (i IMKInputController) ReplacementRange() foundation.NSRange + func (i IMKInputController) SelectionRange() foundation.NSRange + func (i IMKInputController) Server() IIMKServer + func (i IMKInputController) SetDelegate(newDelegate objectivec.IObject) + func (i IMKInputController) SetValueForTagClient(value objectivec.IObject, tag int, sender objectivec.IObject) + func (i IMKInputController) ShowPreferences(sender objectivec.IObject) + func (i IMKInputController) UpdateComposition() + func (i IMKInputController) ValueForTagClient(tag int, sender objectivec.IObject) objectivec.IObject + type IMKInputControllerClass struct + func GetIMKInputControllerClass() IMKInputControllerClass + func (ic IMKInputControllerClass) Alloc() IMKInputController + func (ic IMKInputControllerClass) Class() objc.Class + type IMKMouseHandling interface + MouseDownOnCharacterIndexCoordinateWithModifierContinueTrackingClient func(index uint, point corefoundation.CGPoint, flags uint, ...) (bool, bool) + MouseMovedOnCharacterIndexCoordinateWithModifierClient func(index uint, point corefoundation.CGPoint, flags uint, ...) bool + MouseUpOnCharacterIndexCoordinateWithModifierClient func(index uint, point corefoundation.CGPoint, flags uint, ...) bool + type IMKMouseHandlingObject struct + func IMKMouseHandlingObjectFromID(id objc.ID) IMKMouseHandlingObject + func (o IMKMouseHandlingObject) BaseObject() objectivec.Object + func (o IMKMouseHandlingObject) MouseDownOnCharacterIndexCoordinateWithModifierContinueTrackingClient(index uint, point corefoundation.CGPoint, flags uint, ...) (bool, bool) + func (o IMKMouseHandlingObject) MouseMovedOnCharacterIndexCoordinateWithModifierClient(index uint, point corefoundation.CGPoint, flags uint, ...) bool + func (o IMKMouseHandlingObject) MouseUpOnCharacterIndexCoordinateWithModifierClient(index uint, point corefoundation.CGPoint, flags uint, ...) bool + type IMKServer struct + func IMKServerFromID(id objc.ID) IMKServer + func NewIMKServer() IMKServer + func NewIMKServerWithNameBundleIdentifier(name string, bundleIdentifier string) IMKServer + func NewIMKServerWithNameControllerClassDelegateClass(name string, controllerClassID objectivec.Class, ...) IMKServer + func (i IMKServer) Autorelease() IMKServer + func (i IMKServer) Bundle() foundation.Bundle + func (i IMKServer) Init() IMKServer + func (i IMKServer) InitWithNameBundleIdentifier(name string, bundleIdentifier string) IMKServer + func (i IMKServer) InitWithNameControllerClassDelegateClass(name string, controllerClassID objectivec.Class, ...) IMKServer + func (i IMKServer) LastKeyEventWasDeadKey() bool + func (i IMKServer) PaletteWillTerminate() bool + type IMKServerClass struct + func GetIMKServerClass() IMKServerClass + func (ic IMKServerClass) Alloc() IMKServer + func (ic IMKServerClass) Class() objc.Class + type IMKStateSetting interface + ActivateServer func(sender objectivec.IObject) + DeactivateServer func(sender objectivec.IObject) + Modes func(sender objectivec.IObject) foundation.INSDictionary + RecognizedEvents func(sender objectivec.IObject) uint + SetValueForTagClient func(value objectivec.IObject, tag int, sender objectivec.IObject) + ShowPreferences func(sender objectivec.IObject) + ValueForTagClient func(tag int, sender objectivec.IObject) objectivec.IObject + type IMKStateSettingObject struct + func IMKStateSettingObjectFromID(id objc.ID) IMKStateSettingObject + func (o IMKStateSettingObject) ActivateServer(sender objectivec.IObject) + func (o IMKStateSettingObject) BaseObject() objectivec.Object + func (o IMKStateSettingObject) DeactivateServer(sender objectivec.IObject) + func (o IMKStateSettingObject) Modes(sender objectivec.IObject) foundation.INSDictionary + func (o IMKStateSettingObject) RecognizedEvents(sender objectivec.IObject) uint + func (o IMKStateSettingObject) SetValueForTagClient(value objectivec.IObject, tag int, sender objectivec.IObject) + func (o IMKStateSettingObject) ShowPreferences(sender objectivec.IObject) + func (o IMKStateSettingObject) ValueForTagClient(tag int, sender objectivec.IObject) objectivec.IObject + type IMKStyleType = uint + type KIMKLocateCandidates uint32 + const KIMKLocateCandidatesAboveHint + const KIMKLocateCandidatesBelowHint + const KIMKLocateCandidatesLeftHint + const KIMKLocateCandidatesRightHint + func (e KIMKLocateCandidates) String() string + type KIMKMain uint32 + const KIMKAnnotation + const KIMKMainValue + const KIMKSubList + func (e KIMKMain) String() string + type KIMKSingleColumnScrollingCandidatePanel uint32 + const KIMKScrollingGridCandidatePanel + const KIMKSingleColumnScrollingCandidatePanelValue + const KIMKSingleRowSteppingCandidatePanel + func (e KIMKSingleColumnScrollingCandidatePanel) String() string