Documentation
¶
Index ¶
- func AddWordToDictionary(word js.String) (ret js.Promise[js.Void])
- func FetchAllDictionaryWords() (ret js.Promise[js.Array[js.String]])
- func FinishComposingText(parameters FinishComposingTextArgParameters) (ret js.Promise[js.Void])
- func FuncAddWordToDictionary() (fn js.Func[func(word js.String) js.Promise[js.Void]])
- func FuncFetchAllDictionaryWords() (fn js.Func[func() js.Promise[js.Array[js.String]]])
- func FuncFinishComposingText() (...)
- func FuncGetCurrentInputMethod() (fn js.Func[func() js.Promise[js.String]])
- func FuncGetInputMethodConfig() (fn js.Func[func() js.Promise[GetInputMethodConfigReturnType]])
- func FuncGetInputMethods() (fn js.Func[func() js.Promise[js.Array[GetInputMethodsReturnTypeElem]]])
- func FuncGetSettings() (fn js.Func[func(engineID js.String) js.Promise[InputMethodSettings]])
- func FuncGetSurroundingText() (...)
- func FuncGetTextFieldBounds() (...)
- func FuncHasOnCaretBoundsChanged() (...)
- func FuncHasOnChanged() (fn js.Func[func(callback js.Func[func(newInputMethodId js.String)]) bool])
- func FuncHasOnDictionaryChanged() (...)
- func FuncHasOnDictionaryLoaded() (fn js.Func[func(callback js.Func[func()]) bool])
- func FuncHasOnFocus() (fn js.Func[func(callback js.Func[func(context *InputContext)]) bool])
- func FuncHasOnImeMenuActivationChanged() (fn js.Func[func(callback js.Func[func(activation bool)]) bool])
- func FuncHasOnImeMenuItemsChanged() (...)
- func FuncHasOnImeMenuListChanged() (fn js.Func[func(callback js.Func[func()]) bool])
- func FuncHasOnInputMethodOptionsChanged() (fn js.Func[func(callback js.Func[func(engineID js.String)]) bool])
- func FuncHasOnScreenProjectionChanged() (fn js.Func[func(callback js.Func[func(isProjected bool)]) bool])
- func FuncHasOnSettingsChanged() (...)
- func FuncHasOnSuggestionsChanged() (fn js.Func[func(callback js.Func[func(suggestions js.Array[js.String])]) bool])
- func FuncHasOnTouch() (fn js.Func[func(callback js.Func[func(pointerType FocusReason)]) bool])
- func FuncHideInputView() (fn js.Func[func() js.Promise[js.Void]])
- func FuncNotifyInputMethodReadyForTesting() (fn js.Func[func()])
- func FuncOffCaretBoundsChanged() (...)
- func FuncOffChanged() (fn js.Func[func(callback js.Func[func(newInputMethodId js.String)])])
- func FuncOffDictionaryChanged() (...)
- func FuncOffDictionaryLoaded() (fn js.Func[func(callback js.Func[func()])])
- func FuncOffFocus() (fn js.Func[func(callback js.Func[func(context *InputContext)])])
- func FuncOffImeMenuActivationChanged() (fn js.Func[func(callback js.Func[func(activation bool)])])
- func FuncOffImeMenuItemsChanged() (...)
- func FuncOffImeMenuListChanged() (fn js.Func[func(callback js.Func[func()])])
- func FuncOffInputMethodOptionsChanged() (fn js.Func[func(callback js.Func[func(engineID js.String)])])
- func FuncOffScreenProjectionChanged() (fn js.Func[func(callback js.Func[func(isProjected bool)])])
- func FuncOffSettingsChanged() (...)
- func FuncOffSuggestionsChanged() (fn js.Func[func(callback js.Func[func(suggestions js.Array[js.String])])])
- func FuncOffTouch() (fn js.Func[func(callback js.Func[func(pointerType FocusReason)])])
- func FuncOnAutocorrect() (fn js.Func[func(parameters OnAutocorrectArgParameters)])
- func FuncOnCaretBoundsChanged() (...)
- func FuncOnChanged() (fn js.Func[func(callback js.Func[func(newInputMethodId js.String)])])
- func FuncOnDictionaryChanged() (...)
- func FuncOnDictionaryLoaded() (fn js.Func[func(callback js.Func[func()])])
- func FuncOnFocus() (fn js.Func[func(callback js.Func[func(context *InputContext)])])
- func FuncOnImeMenuActivationChanged() (fn js.Func[func(callback js.Func[func(activation bool)])])
- func FuncOnImeMenuItemsChanged() (...)
- func FuncOnImeMenuListChanged() (fn js.Func[func(callback js.Func[func()])])
- func FuncOnInputMethodOptionsChanged() (fn js.Func[func(callback js.Func[func(engineID js.String)])])
- func FuncOnScreenProjectionChanged() (fn js.Func[func(callback js.Func[func(isProjected bool)])])
- func FuncOnSettingsChanged() (...)
- func FuncOnSuggestionsChanged() (fn js.Func[func(callback js.Func[func(suggestions js.Array[js.String])])])
- func FuncOnTouch() (fn js.Func[func(callback js.Func[func(pointerType FocusReason)])])
- func FuncOpenOptionsPage() (fn js.Func[func(inputMethodId js.String)])
- func FuncReset() (fn js.Func[func()])
- func FuncSetCompositionRange() (...)
- func FuncSetCurrentInputMethod() (fn js.Func[func(inputMethodId js.String) js.Promise[js.Void]])
- func FuncSetSettings() (...)
- func FuncSetXkbLayout() (fn js.Func[func(xkb_name js.String) js.Promise[js.Void]])
- func FuncShowInputView() (fn js.Func[func() js.Promise[js.Void]])
- func FuncSwitchToLastUsedInputMethod() (fn js.Func[func() js.Promise[js.Void]])
- func GetCurrentInputMethod() (ret js.Promise[js.String])
- func GetInputMethodConfig() (ret js.Promise[GetInputMethodConfigReturnType])
- func GetInputMethods() (ret js.Promise[js.Array[GetInputMethodsReturnTypeElem]])
- func GetSettings(engineID js.String) (ret js.Promise[InputMethodSettings])
- func GetSurroundingText(beforeLength int64, afterLength int64) (ret js.Promise[GetSurroundingTextReturnType])
- func GetTextFieldBounds(parameters GetTextFieldBoundsArgParameters) (ret js.Promise[GetTextFieldBoundsReturnType])
- func HasFuncAddWordToDictionary() bool
- func HasFuncFetchAllDictionaryWords() bool
- func HasFuncFinishComposingText() bool
- func HasFuncGetCurrentInputMethod() bool
- func HasFuncGetInputMethodConfig() bool
- func HasFuncGetInputMethods() bool
- func HasFuncGetSettings() bool
- func HasFuncGetSurroundingText() bool
- func HasFuncGetTextFieldBounds() bool
- func HasFuncHasOnCaretBoundsChanged() bool
- func HasFuncHasOnChanged() bool
- func HasFuncHasOnDictionaryChanged() bool
- func HasFuncHasOnDictionaryLoaded() bool
- func HasFuncHasOnFocus() bool
- func HasFuncHasOnImeMenuActivationChanged() bool
- func HasFuncHasOnImeMenuItemsChanged() bool
- func HasFuncHasOnImeMenuListChanged() bool
- func HasFuncHasOnInputMethodOptionsChanged() bool
- func HasFuncHasOnScreenProjectionChanged() bool
- func HasFuncHasOnSettingsChanged() bool
- func HasFuncHasOnSuggestionsChanged() bool
- func HasFuncHasOnTouch() bool
- func HasFuncHideInputView() bool
- func HasFuncNotifyInputMethodReadyForTesting() bool
- func HasFuncOffCaretBoundsChanged() bool
- func HasFuncOffChanged() bool
- func HasFuncOffDictionaryChanged() bool
- func HasFuncOffDictionaryLoaded() bool
- func HasFuncOffFocus() bool
- func HasFuncOffImeMenuActivationChanged() bool
- func HasFuncOffImeMenuItemsChanged() bool
- func HasFuncOffImeMenuListChanged() bool
- func HasFuncOffInputMethodOptionsChanged() bool
- func HasFuncOffScreenProjectionChanged() bool
- func HasFuncOffSettingsChanged() bool
- func HasFuncOffSuggestionsChanged() bool
- func HasFuncOffTouch() bool
- func HasFuncOnAutocorrect() bool
- func HasFuncOnCaretBoundsChanged() bool
- func HasFuncOnChanged() bool
- func HasFuncOnDictionaryChanged() bool
- func HasFuncOnDictionaryLoaded() bool
- func HasFuncOnFocus() bool
- func HasFuncOnImeMenuActivationChanged() bool
- func HasFuncOnImeMenuItemsChanged() bool
- func HasFuncOnImeMenuListChanged() bool
- func HasFuncOnInputMethodOptionsChanged() bool
- func HasFuncOnScreenProjectionChanged() bool
- func HasFuncOnSettingsChanged() bool
- func HasFuncOnSuggestionsChanged() bool
- func HasFuncOnTouch() bool
- func HasFuncOpenOptionsPage() bool
- func HasFuncReset() bool
- func HasFuncSetCompositionRange() bool
- func HasFuncSetCurrentInputMethod() bool
- func HasFuncSetSettings() bool
- func HasFuncSetXkbLayout() bool
- func HasFuncShowInputView() bool
- func HasFuncSwitchToLastUsedInputMethod() bool
- func HasOnCaretBoundsChanged(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]) (ret bool)
- func HasOnChanged(callback js.Func[func(newInputMethodId js.String)]) (ret bool)
- func HasOnDictionaryChanged(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])]) (ret bool)
- func HasOnDictionaryLoaded(callback js.Func[func()]) (ret bool)
- func HasOnFocus(callback js.Func[func(context *InputContext)]) (ret bool)
- func HasOnImeMenuActivationChanged(callback js.Func[func(activation bool)]) (ret bool)
- func HasOnImeMenuItemsChanged(callback js.Func[func(engineID js.String, items js.Array[MenuItem])]) (ret bool)
- func HasOnImeMenuListChanged(callback js.Func[func()]) (ret bool)
- func HasOnInputMethodOptionsChanged(callback js.Func[func(engineID js.String)]) (ret bool)
- func HasOnScreenProjectionChanged(callback js.Func[func(isProjected bool)]) (ret bool)
- func HasOnSettingsChanged(callback js.Func[func(engineID js.String, settings *InputMethodSettings)]) (ret bool)
- func HasOnSuggestionsChanged(callback js.Func[func(suggestions js.Array[js.String])]) (ret bool)
- func HasOnTouch(callback js.Func[func(pointerType FocusReason)]) (ret bool)
- func HideInputView() (ret js.Promise[js.Void])
- func NotifyInputMethodReadyForTesting() (ret js.Void)
- func OffCaretBoundsChanged(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]) (ret js.Void)
- func OffChanged(callback js.Func[func(newInputMethodId js.String)]) (ret js.Void)
- func OffDictionaryChanged(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])]) (ret js.Void)
- func OffDictionaryLoaded(callback js.Func[func()]) (ret js.Void)
- func OffFocus(callback js.Func[func(context *InputContext)]) (ret js.Void)
- func OffImeMenuActivationChanged(callback js.Func[func(activation bool)]) (ret js.Void)
- func OffImeMenuItemsChanged(callback js.Func[func(engineID js.String, items js.Array[MenuItem])]) (ret js.Void)
- func OffImeMenuListChanged(callback js.Func[func()]) (ret js.Void)
- func OffInputMethodOptionsChanged(callback js.Func[func(engineID js.String)]) (ret js.Void)
- func OffScreenProjectionChanged(callback js.Func[func(isProjected bool)]) (ret js.Void)
- func OffSettingsChanged(callback js.Func[func(engineID js.String, settings *InputMethodSettings)]) (ret js.Void)
- func OffSuggestionsChanged(callback js.Func[func(suggestions js.Array[js.String])]) (ret js.Void)
- func OffTouch(callback js.Func[func(pointerType FocusReason)]) (ret js.Void)
- func OnAutocorrect(parameters OnAutocorrectArgParameters) (ret js.Void)
- func OnCaretBoundsChanged(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]) (ret js.Void)
- func OnChanged(callback js.Func[func(newInputMethodId js.String)]) (ret js.Void)
- func OnDictionaryChanged(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])]) (ret js.Void)
- func OnDictionaryLoaded(callback js.Func[func()]) (ret js.Void)
- func OnFocus(callback js.Func[func(context *InputContext)]) (ret js.Void)
- func OnImeMenuActivationChanged(callback js.Func[func(activation bool)]) (ret js.Void)
- func OnImeMenuItemsChanged(callback js.Func[func(engineID js.String, items js.Array[MenuItem])]) (ret js.Void)
- func OnImeMenuListChanged(callback js.Func[func()]) (ret js.Void)
- func OnInputMethodOptionsChanged(callback js.Func[func(engineID js.String)]) (ret js.Void)
- func OnScreenProjectionChanged(callback js.Func[func(isProjected bool)]) (ret js.Void)
- func OnSettingsChanged(callback js.Func[func(engineID js.String, settings *InputMethodSettings)]) (ret js.Void)
- func OnSuggestionsChanged(callback js.Func[func(suggestions js.Array[js.String])]) (ret js.Void)
- func OnTouch(callback js.Func[func(pointerType FocusReason)]) (ret js.Void)
- func OpenOptionsPage(inputMethodId js.String) (ret js.Void)
- func Reset() (ret js.Void)
- func SetCompositionRange(parameters SetCompositionRangeArgParameters) (ret js.Promise[js.Boolean])
- func SetCurrentInputMethod(inputMethodId js.String) (ret js.Promise[js.Void])
- func SetSettings(engineID js.String, settings InputMethodSettings) (ret js.Promise[js.Void])
- func SetXkbLayout(xkb_name js.String) (ret js.Promise[js.Void])
- func ShowInputView() (ret js.Promise[js.Void])
- func SwitchToLastUsedInputMethod() (ret js.Promise[js.Void])
- func TryAddWordToDictionary(word js.String) (ret js.Promise[js.Void], exception js.Any, ok bool)
- func TryFetchAllDictionaryWords() (ret js.Promise[js.Array[js.String]], exception js.Any, ok bool)
- func TryFinishComposingText(parameters FinishComposingTextArgParameters) (ret js.Promise[js.Void], exception js.Any, ok bool)
- func TryGetCurrentInputMethod() (ret js.Promise[js.String], exception js.Any, ok bool)
- func TryGetInputMethodConfig() (ret js.Promise[GetInputMethodConfigReturnType], exception js.Any, ok bool)
- func TryGetInputMethods() (ret js.Promise[js.Array[GetInputMethodsReturnTypeElem]], exception js.Any, ...)
- func TryGetSettings(engineID js.String) (ret js.Promise[InputMethodSettings], exception js.Any, ok bool)
- func TryGetSurroundingText(beforeLength int64, afterLength int64) (ret js.Promise[GetSurroundingTextReturnType], exception js.Any, ok bool)
- func TryGetTextFieldBounds(parameters GetTextFieldBoundsArgParameters) (ret js.Promise[GetTextFieldBoundsReturnType], exception js.Any, ok bool)
- func TryHasOnCaretBoundsChanged(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]) (ret bool, exception js.Any, ok bool)
- func TryHasOnChanged(callback js.Func[func(newInputMethodId js.String)]) (ret bool, exception js.Any, ok bool)
- func TryHasOnDictionaryChanged(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])]) (ret bool, exception js.Any, ok bool)
- func TryHasOnDictionaryLoaded(callback js.Func[func()]) (ret bool, exception js.Any, ok bool)
- func TryHasOnFocus(callback js.Func[func(context *InputContext)]) (ret bool, exception js.Any, ok bool)
- func TryHasOnImeMenuActivationChanged(callback js.Func[func(activation bool)]) (ret bool, exception js.Any, ok bool)
- func TryHasOnImeMenuItemsChanged(callback js.Func[func(engineID js.String, items js.Array[MenuItem])]) (ret bool, exception js.Any, ok bool)
- func TryHasOnImeMenuListChanged(callback js.Func[func()]) (ret bool, exception js.Any, ok bool)
- func TryHasOnInputMethodOptionsChanged(callback js.Func[func(engineID js.String)]) (ret bool, exception js.Any, ok bool)
- func TryHasOnScreenProjectionChanged(callback js.Func[func(isProjected bool)]) (ret bool, exception js.Any, ok bool)
- func TryHasOnSettingsChanged(callback js.Func[func(engineID js.String, settings *InputMethodSettings)]) (ret bool, exception js.Any, ok bool)
- func TryHasOnSuggestionsChanged(callback js.Func[func(suggestions js.Array[js.String])]) (ret bool, exception js.Any, ok bool)
- func TryHasOnTouch(callback js.Func[func(pointerType FocusReason)]) (ret bool, exception js.Any, ok bool)
- func TryHideInputView() (ret js.Promise[js.Void], exception js.Any, ok bool)
- func TryNotifyInputMethodReadyForTesting() (ret js.Void, exception js.Any, ok bool)
- func TryOffCaretBoundsChanged(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]) (ret js.Void, exception js.Any, ok bool)
- func TryOffChanged(callback js.Func[func(newInputMethodId js.String)]) (ret js.Void, exception js.Any, ok bool)
- func TryOffDictionaryChanged(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])]) (ret js.Void, exception js.Any, ok bool)
- func TryOffDictionaryLoaded(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)
- func TryOffFocus(callback js.Func[func(context *InputContext)]) (ret js.Void, exception js.Any, ok bool)
- func TryOffImeMenuActivationChanged(callback js.Func[func(activation bool)]) (ret js.Void, exception js.Any, ok bool)
- func TryOffImeMenuItemsChanged(callback js.Func[func(engineID js.String, items js.Array[MenuItem])]) (ret js.Void, exception js.Any, ok bool)
- func TryOffImeMenuListChanged(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)
- func TryOffInputMethodOptionsChanged(callback js.Func[func(engineID js.String)]) (ret js.Void, exception js.Any, ok bool)
- func TryOffScreenProjectionChanged(callback js.Func[func(isProjected bool)]) (ret js.Void, exception js.Any, ok bool)
- func TryOffSettingsChanged(callback js.Func[func(engineID js.String, settings *InputMethodSettings)]) (ret js.Void, exception js.Any, ok bool)
- func TryOffSuggestionsChanged(callback js.Func[func(suggestions js.Array[js.String])]) (ret js.Void, exception js.Any, ok bool)
- func TryOffTouch(callback js.Func[func(pointerType FocusReason)]) (ret js.Void, exception js.Any, ok bool)
- func TryOnAutocorrect(parameters OnAutocorrectArgParameters) (ret js.Void, exception js.Any, ok bool)
- func TryOnCaretBoundsChanged(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]) (ret js.Void, exception js.Any, ok bool)
- func TryOnChanged(callback js.Func[func(newInputMethodId js.String)]) (ret js.Void, exception js.Any, ok bool)
- func TryOnDictionaryChanged(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])]) (ret js.Void, exception js.Any, ok bool)
- func TryOnDictionaryLoaded(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)
- func TryOnFocus(callback js.Func[func(context *InputContext)]) (ret js.Void, exception js.Any, ok bool)
- func TryOnImeMenuActivationChanged(callback js.Func[func(activation bool)]) (ret js.Void, exception js.Any, ok bool)
- func TryOnImeMenuItemsChanged(callback js.Func[func(engineID js.String, items js.Array[MenuItem])]) (ret js.Void, exception js.Any, ok bool)
- func TryOnImeMenuListChanged(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)
- func TryOnInputMethodOptionsChanged(callback js.Func[func(engineID js.String)]) (ret js.Void, exception js.Any, ok bool)
- func TryOnScreenProjectionChanged(callback js.Func[func(isProjected bool)]) (ret js.Void, exception js.Any, ok bool)
- func TryOnSettingsChanged(callback js.Func[func(engineID js.String, settings *InputMethodSettings)]) (ret js.Void, exception js.Any, ok bool)
- func TryOnSuggestionsChanged(callback js.Func[func(suggestions js.Array[js.String])]) (ret js.Void, exception js.Any, ok bool)
- func TryOnTouch(callback js.Func[func(pointerType FocusReason)]) (ret js.Void, exception js.Any, ok bool)
- func TryOpenOptionsPage(inputMethodId js.String) (ret js.Void, exception js.Any, ok bool)
- func TryReset() (ret js.Void, exception js.Any, ok bool)
- func TrySetCompositionRange(parameters SetCompositionRangeArgParameters) (ret js.Promise[js.Boolean], exception js.Any, ok bool)
- func TrySetCurrentInputMethod(inputMethodId js.String) (ret js.Promise[js.Void], exception js.Any, ok bool)
- func TrySetSettings(engineID js.String, settings InputMethodSettings) (ret js.Promise[js.Void], exception js.Any, ok bool)
- func TrySetXkbLayout(xkb_name js.String) (ret js.Promise[js.Void], exception js.Any, ok bool)
- func TryShowInputView() (ret js.Promise[js.Void], exception js.Any, ok bool)
- func TrySwitchToLastUsedInputMethod() (ret js.Promise[js.Void], exception js.Any, ok bool)
- type AutoCapitalizeType
- type FinishComposingTextArgParameters
- func (p *FinishComposingTextArgParameters) FreeMembers(recursive bool)
- func (p FinishComposingTextArgParameters) FromRef(ref js.Ref) FinishComposingTextArgParameters
- func (p FinishComposingTextArgParameters) New() js.Ref
- func (p *FinishComposingTextArgParameters) Update(ref js.Ref)
- func (p *FinishComposingTextArgParameters) UpdateFrom(ref js.Ref)
- type FocusReason
- type GetInputMethodConfigReturnType
- func (p *GetInputMethodConfigReturnType) FreeMembers(recursive bool)
- func (p GetInputMethodConfigReturnType) FromRef(ref js.Ref) GetInputMethodConfigReturnType
- func (p GetInputMethodConfigReturnType) New() js.Ref
- func (p *GetInputMethodConfigReturnType) Update(ref js.Ref)
- func (p *GetInputMethodConfigReturnType) UpdateFrom(ref js.Ref)
- type GetInputMethodsReturnTypeElem
- func (p *GetInputMethodsReturnTypeElem) FreeMembers(recursive bool)
- func (p GetInputMethodsReturnTypeElem) FromRef(ref js.Ref) GetInputMethodsReturnTypeElem
- func (p GetInputMethodsReturnTypeElem) New() js.Ref
- func (p *GetInputMethodsReturnTypeElem) Update(ref js.Ref)
- func (p *GetInputMethodsReturnTypeElem) UpdateFrom(ref js.Ref)
- type GetSurroundingTextReturnType
- func (p *GetSurroundingTextReturnType) FreeMembers(recursive bool)
- func (p GetSurroundingTextReturnType) FromRef(ref js.Ref) GetSurroundingTextReturnType
- func (p GetSurroundingTextReturnType) New() js.Ref
- func (p *GetSurroundingTextReturnType) Update(ref js.Ref)
- func (p *GetSurroundingTextReturnType) UpdateFrom(ref js.Ref)
- type GetTextFieldBoundsArgParameters
- func (p *GetTextFieldBoundsArgParameters) FreeMembers(recursive bool)
- func (p GetTextFieldBoundsArgParameters) FromRef(ref js.Ref) GetTextFieldBoundsArgParameters
- func (p GetTextFieldBoundsArgParameters) New() js.Ref
- func (p *GetTextFieldBoundsArgParameters) Update(ref js.Ref)
- func (p *GetTextFieldBoundsArgParameters) UpdateFrom(ref js.Ref)
- type GetTextFieldBoundsReturnType
- func (p *GetTextFieldBoundsReturnType) FreeMembers(recursive bool)
- func (p GetTextFieldBoundsReturnType) FromRef(ref js.Ref) GetTextFieldBoundsReturnType
- func (p GetTextFieldBoundsReturnType) New() js.Ref
- func (p *GetTextFieldBoundsReturnType) Update(ref js.Ref)
- func (p *GetTextFieldBoundsReturnType) UpdateFrom(ref js.Ref)
- type InputContext
- type InputContextType
- type InputMethodSettings
- type InputMethodSettingsFieldPinyinFuzzyConfig
- func (p *InputMethodSettingsFieldPinyinFuzzyConfig) FreeMembers(recursive bool)
- func (p InputMethodSettingsFieldPinyinFuzzyConfig) FromRef(ref js.Ref) InputMethodSettingsFieldPinyinFuzzyConfig
- func (p InputMethodSettingsFieldPinyinFuzzyConfig) New() js.Ref
- func (p *InputMethodSettingsFieldPinyinFuzzyConfig) Update(ref js.Ref)
- func (p *InputMethodSettingsFieldPinyinFuzzyConfig) UpdateFrom(ref js.Ref)
- type InputModeType
- type MenuItem
- type MenuItemStyle
- type OnAutocorrectArgParameters
- func (p *OnAutocorrectArgParameters) FreeMembers(recursive bool)
- func (p OnAutocorrectArgParameters) FromRef(ref js.Ref) OnAutocorrectArgParameters
- func (p OnAutocorrectArgParameters) New() js.Ref
- func (p *OnAutocorrectArgParameters) Update(ref js.Ref)
- func (p *OnAutocorrectArgParameters) UpdateFrom(ref js.Ref)
- type OnCaretBoundsChangedArgCaretBounds
- func (p *OnCaretBoundsChangedArgCaretBounds) FreeMembers(recursive bool)
- func (p OnCaretBoundsChangedArgCaretBounds) FromRef(ref js.Ref) OnCaretBoundsChangedArgCaretBounds
- func (p OnCaretBoundsChangedArgCaretBounds) New() js.Ref
- func (p *OnCaretBoundsChangedArgCaretBounds) Update(ref js.Ref)
- func (p *OnCaretBoundsChangedArgCaretBounds) UpdateFrom(ref js.Ref)
- type OnCaretBoundsChangedEventCallback
- type OnCaretBoundsChangedEventCallbackFunc
- type OnChangedEventCallback
- type OnChangedEventCallbackFunc
- type OnDictionaryChangedEventCallback
- type OnDictionaryChangedEventCallbackFunc
- type OnDictionaryLoadedEventCallback
- type OnDictionaryLoadedEventCallbackFunc
- type OnFocusEventCallback
- type OnFocusEventCallbackFunc
- type OnImeMenuActivationChangedEventCallback
- type OnImeMenuActivationChangedEventCallbackFunc
- type OnImeMenuItemsChangedEventCallback
- type OnImeMenuItemsChangedEventCallbackFunc
- type OnImeMenuListChangedEventCallback
- type OnImeMenuListChangedEventCallbackFunc
- type OnInputMethodOptionsChangedEventCallback
- type OnInputMethodOptionsChangedEventCallbackFunc
- type OnScreenProjectionChangedEventCallback
- type OnScreenProjectionChangedEventCallbackFunc
- type OnSettingsChangedEventCallback
- type OnSettingsChangedEventCallbackFunc
- type OnSuggestionsChangedEventCallback
- type OnSuggestionsChangedEventCallbackFunc
- type OnTouchEventCallback
- type OnTouchEventCallbackFunc
- type SetCompositionRangeArgParameters
- func (p *SetCompositionRangeArgParameters) FreeMembers(recursive bool)
- func (p SetCompositionRangeArgParameters) FromRef(ref js.Ref) SetCompositionRangeArgParameters
- func (p SetCompositionRangeArgParameters) New() js.Ref
- func (p *SetCompositionRangeArgParameters) Update(ref js.Ref)
- func (p *SetCompositionRangeArgParameters) UpdateFrom(ref js.Ref)
- type SetCompositionRangeArgParametersFieldSegmentsElem
- func (p *SetCompositionRangeArgParametersFieldSegmentsElem) FreeMembers(recursive bool)
- func (p SetCompositionRangeArgParametersFieldSegmentsElem) FromRef(ref js.Ref) SetCompositionRangeArgParametersFieldSegmentsElem
- func (p SetCompositionRangeArgParametersFieldSegmentsElem) New() js.Ref
- func (p *SetCompositionRangeArgParametersFieldSegmentsElem) Update(ref js.Ref)
- func (p *SetCompositionRangeArgParametersFieldSegmentsElem) UpdateFrom(ref js.Ref)
- type UnderlineStyle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddWordToDictionary ¶
AddWordToDictionary calls the function "WEBEXT.inputMethodPrivate.addWordToDictionary" directly.
func FetchAllDictionaryWords ¶
FetchAllDictionaryWords calls the function "WEBEXT.inputMethodPrivate.fetchAllDictionaryWords" directly.
func FinishComposingText ¶
func FinishComposingText(parameters FinishComposingTextArgParameters) (ret js.Promise[js.Void])
FinishComposingText calls the function "WEBEXT.inputMethodPrivate.finishComposingText" directly.
func FuncAddWordToDictionary ¶
FuncAddWordToDictionary returns the function "WEBEXT.inputMethodPrivate.addWordToDictionary".
func FuncFetchAllDictionaryWords ¶
FuncFetchAllDictionaryWords returns the function "WEBEXT.inputMethodPrivate.fetchAllDictionaryWords".
func FuncFinishComposingText ¶
func FuncFinishComposingText() (fn js.Func[func(parameters FinishComposingTextArgParameters) js.Promise[js.Void]])
FuncFinishComposingText returns the function "WEBEXT.inputMethodPrivate.finishComposingText".
func FuncGetCurrentInputMethod ¶
FuncGetCurrentInputMethod returns the function "WEBEXT.inputMethodPrivate.getCurrentInputMethod".
func FuncGetInputMethodConfig ¶
func FuncGetInputMethodConfig() (fn js.Func[func() js.Promise[GetInputMethodConfigReturnType]])
FuncGetInputMethodConfig returns the function "WEBEXT.inputMethodPrivate.getInputMethodConfig".
func FuncGetInputMethods ¶
FuncGetInputMethods returns the function "WEBEXT.inputMethodPrivate.getInputMethods".
func FuncGetSettings ¶
FuncGetSettings returns the function "WEBEXT.inputMethodPrivate.getSettings".
func FuncGetSurroundingText ¶
func FuncGetSurroundingText() (fn js.Func[func(beforeLength int64, afterLength int64) js.Promise[GetSurroundingTextReturnType]])
FuncGetSurroundingText returns the function "WEBEXT.inputMethodPrivate.getSurroundingText".
func FuncGetTextFieldBounds ¶
func FuncGetTextFieldBounds() (fn js.Func[func(parameters GetTextFieldBoundsArgParameters) js.Promise[GetTextFieldBoundsReturnType]])
FuncGetTextFieldBounds returns the function "WEBEXT.inputMethodPrivate.getTextFieldBounds".
func FuncHasOnCaretBoundsChanged ¶
func FuncHasOnCaretBoundsChanged() (fn js.Func[func(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]) bool])
FuncHasOnCaretBoundsChanged returns the function "WEBEXT.inputMethodPrivate.onCaretBoundsChanged.hasListener".
func FuncHasOnChanged ¶
FuncHasOnChanged returns the function "WEBEXT.inputMethodPrivate.onChanged.hasListener".
func FuncHasOnDictionaryChanged ¶
func FuncHasOnDictionaryChanged() (fn js.Func[func(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])]) bool])
FuncHasOnDictionaryChanged returns the function "WEBEXT.inputMethodPrivate.onDictionaryChanged.hasListener".
func FuncHasOnDictionaryLoaded ¶
FuncHasOnDictionaryLoaded returns the function "WEBEXT.inputMethodPrivate.onDictionaryLoaded.hasListener".
func FuncHasOnFocus ¶
FuncHasOnFocus returns the function "WEBEXT.inputMethodPrivate.onFocus.hasListener".
func FuncHasOnImeMenuActivationChanged ¶
func FuncHasOnImeMenuActivationChanged() (fn js.Func[func(callback js.Func[func(activation bool)]) bool])
FuncHasOnImeMenuActivationChanged returns the function "WEBEXT.inputMethodPrivate.onImeMenuActivationChanged.hasListener".
func FuncHasOnImeMenuItemsChanged ¶
func FuncHasOnImeMenuItemsChanged() (fn js.Func[func(callback js.Func[func(engineID js.String, items js.Array[MenuItem])]) bool])
FuncHasOnImeMenuItemsChanged returns the function "WEBEXT.inputMethodPrivate.onImeMenuItemsChanged.hasListener".
func FuncHasOnImeMenuListChanged ¶
FuncHasOnImeMenuListChanged returns the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.hasListener".
func FuncHasOnInputMethodOptionsChanged ¶
func FuncHasOnInputMethodOptionsChanged() (fn js.Func[func(callback js.Func[func(engineID js.String)]) bool])
FuncHasOnInputMethodOptionsChanged returns the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.hasListener".
func FuncHasOnScreenProjectionChanged ¶
func FuncHasOnScreenProjectionChanged() (fn js.Func[func(callback js.Func[func(isProjected bool)]) bool])
FuncHasOnScreenProjectionChanged returns the function "WEBEXT.inputMethodPrivate.onScreenProjectionChanged.hasListener".
func FuncHasOnSettingsChanged ¶
func FuncHasOnSettingsChanged() (fn js.Func[func(callback js.Func[func(engineID js.String, settings *InputMethodSettings)]) bool])
FuncHasOnSettingsChanged returns the function "WEBEXT.inputMethodPrivate.onSettingsChanged.hasListener".
func FuncHasOnSuggestionsChanged ¶
func FuncHasOnSuggestionsChanged() (fn js.Func[func(callback js.Func[func(suggestions js.Array[js.String])]) bool])
FuncHasOnSuggestionsChanged returns the function "WEBEXT.inputMethodPrivate.onSuggestionsChanged.hasListener".
func FuncHasOnTouch ¶
FuncHasOnTouch returns the function "WEBEXT.inputMethodPrivate.onTouch.hasListener".
func FuncHideInputView ¶
FuncHideInputView returns the function "WEBEXT.inputMethodPrivate.hideInputView".
func FuncNotifyInputMethodReadyForTesting ¶
FuncNotifyInputMethodReadyForTesting returns the function "WEBEXT.inputMethodPrivate.notifyInputMethodReadyForTesting".
func FuncOffCaretBoundsChanged ¶
func FuncOffCaretBoundsChanged() (fn js.Func[func(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)])])
FuncOffCaretBoundsChanged returns the function "WEBEXT.inputMethodPrivate.onCaretBoundsChanged.removeListener".
func FuncOffChanged ¶
FuncOffChanged returns the function "WEBEXT.inputMethodPrivate.onChanged.removeListener".
func FuncOffDictionaryChanged ¶
func FuncOffDictionaryChanged() (fn js.Func[func(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])])])
FuncOffDictionaryChanged returns the function "WEBEXT.inputMethodPrivate.onDictionaryChanged.removeListener".
func FuncOffDictionaryLoaded ¶
FuncOffDictionaryLoaded returns the function "WEBEXT.inputMethodPrivate.onDictionaryLoaded.removeListener".
func FuncOffFocus ¶
func FuncOffFocus() (fn js.Func[func(callback js.Func[func(context *InputContext)])])
FuncOffFocus returns the function "WEBEXT.inputMethodPrivate.onFocus.removeListener".
func FuncOffImeMenuActivationChanged ¶
FuncOffImeMenuActivationChanged returns the function "WEBEXT.inputMethodPrivate.onImeMenuActivationChanged.removeListener".
func FuncOffImeMenuItemsChanged ¶
func FuncOffImeMenuItemsChanged() (fn js.Func[func(callback js.Func[func(engineID js.String, items js.Array[MenuItem])])])
FuncOffImeMenuItemsChanged returns the function "WEBEXT.inputMethodPrivate.onImeMenuItemsChanged.removeListener".
func FuncOffImeMenuListChanged ¶
FuncOffImeMenuListChanged returns the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.removeListener".
func FuncOffInputMethodOptionsChanged ¶
func FuncOffInputMethodOptionsChanged() (fn js.Func[func(callback js.Func[func(engineID js.String)])])
FuncOffInputMethodOptionsChanged returns the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.removeListener".
func FuncOffScreenProjectionChanged ¶
FuncOffScreenProjectionChanged returns the function "WEBEXT.inputMethodPrivate.onScreenProjectionChanged.removeListener".
func FuncOffSettingsChanged ¶
func FuncOffSettingsChanged() (fn js.Func[func(callback js.Func[func(engineID js.String, settings *InputMethodSettings)])])
FuncOffSettingsChanged returns the function "WEBEXT.inputMethodPrivate.onSettingsChanged.removeListener".
func FuncOffSuggestionsChanged ¶
func FuncOffSuggestionsChanged() (fn js.Func[func(callback js.Func[func(suggestions js.Array[js.String])])])
FuncOffSuggestionsChanged returns the function "WEBEXT.inputMethodPrivate.onSuggestionsChanged.removeListener".
func FuncOffTouch ¶
func FuncOffTouch() (fn js.Func[func(callback js.Func[func(pointerType FocusReason)])])
FuncOffTouch returns the function "WEBEXT.inputMethodPrivate.onTouch.removeListener".
func FuncOnAutocorrect ¶
func FuncOnAutocorrect() (fn js.Func[func(parameters OnAutocorrectArgParameters)])
FuncOnAutocorrect returns the function "WEBEXT.inputMethodPrivate.onAutocorrect".
func FuncOnCaretBoundsChanged ¶
func FuncOnCaretBoundsChanged() (fn js.Func[func(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)])])
FuncOnCaretBoundsChanged returns the function "WEBEXT.inputMethodPrivate.onCaretBoundsChanged.addListener".
func FuncOnChanged ¶
FuncOnChanged returns the function "WEBEXT.inputMethodPrivate.onChanged.addListener".
func FuncOnDictionaryChanged ¶
func FuncOnDictionaryChanged() (fn js.Func[func(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])])])
FuncOnDictionaryChanged returns the function "WEBEXT.inputMethodPrivate.onDictionaryChanged.addListener".
func FuncOnDictionaryLoaded ¶
FuncOnDictionaryLoaded returns the function "WEBEXT.inputMethodPrivate.onDictionaryLoaded.addListener".
func FuncOnFocus ¶
func FuncOnFocus() (fn js.Func[func(callback js.Func[func(context *InputContext)])])
FuncOnFocus returns the function "WEBEXT.inputMethodPrivate.onFocus.addListener".
func FuncOnImeMenuActivationChanged ¶
FuncOnImeMenuActivationChanged returns the function "WEBEXT.inputMethodPrivate.onImeMenuActivationChanged.addListener".
func FuncOnImeMenuItemsChanged ¶
func FuncOnImeMenuItemsChanged() (fn js.Func[func(callback js.Func[func(engineID js.String, items js.Array[MenuItem])])])
FuncOnImeMenuItemsChanged returns the function "WEBEXT.inputMethodPrivate.onImeMenuItemsChanged.addListener".
func FuncOnImeMenuListChanged ¶
FuncOnImeMenuListChanged returns the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.addListener".
func FuncOnInputMethodOptionsChanged ¶
func FuncOnInputMethodOptionsChanged() (fn js.Func[func(callback js.Func[func(engineID js.String)])])
FuncOnInputMethodOptionsChanged returns the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.addListener".
func FuncOnScreenProjectionChanged ¶
FuncOnScreenProjectionChanged returns the function "WEBEXT.inputMethodPrivate.onScreenProjectionChanged.addListener".
func FuncOnSettingsChanged ¶
func FuncOnSettingsChanged() (fn js.Func[func(callback js.Func[func(engineID js.String, settings *InputMethodSettings)])])
FuncOnSettingsChanged returns the function "WEBEXT.inputMethodPrivate.onSettingsChanged.addListener".
func FuncOnSuggestionsChanged ¶
func FuncOnSuggestionsChanged() (fn js.Func[func(callback js.Func[func(suggestions js.Array[js.String])])])
FuncOnSuggestionsChanged returns the function "WEBEXT.inputMethodPrivate.onSuggestionsChanged.addListener".
func FuncOnTouch ¶
func FuncOnTouch() (fn js.Func[func(callback js.Func[func(pointerType FocusReason)])])
FuncOnTouch returns the function "WEBEXT.inputMethodPrivate.onTouch.addListener".
func FuncOpenOptionsPage ¶
FuncOpenOptionsPage returns the function "WEBEXT.inputMethodPrivate.openOptionsPage".
func FuncSetCompositionRange ¶
func FuncSetCompositionRange() (fn js.Func[func(parameters SetCompositionRangeArgParameters) js.Promise[js.Boolean]])
FuncSetCompositionRange returns the function "WEBEXT.inputMethodPrivate.setCompositionRange".
func FuncSetCurrentInputMethod ¶
FuncSetCurrentInputMethod returns the function "WEBEXT.inputMethodPrivate.setCurrentInputMethod".
func FuncSetSettings ¶
func FuncSetSettings() (fn js.Func[func(engineID js.String, settings InputMethodSettings) js.Promise[js.Void]])
FuncSetSettings returns the function "WEBEXT.inputMethodPrivate.setSettings".
func FuncSetXkbLayout ¶
FuncSetXkbLayout returns the function "WEBEXT.inputMethodPrivate.setXkbLayout".
func FuncShowInputView ¶
FuncShowInputView returns the function "WEBEXT.inputMethodPrivate.showInputView".
func FuncSwitchToLastUsedInputMethod ¶
FuncSwitchToLastUsedInputMethod returns the function "WEBEXT.inputMethodPrivate.switchToLastUsedInputMethod".
func GetCurrentInputMethod ¶
GetCurrentInputMethod calls the function "WEBEXT.inputMethodPrivate.getCurrentInputMethod" directly.
func GetInputMethodConfig ¶
func GetInputMethodConfig() (ret js.Promise[GetInputMethodConfigReturnType])
GetInputMethodConfig calls the function "WEBEXT.inputMethodPrivate.getInputMethodConfig" directly.
func GetInputMethods ¶
func GetInputMethods() (ret js.Promise[js.Array[GetInputMethodsReturnTypeElem]])
GetInputMethods calls the function "WEBEXT.inputMethodPrivate.getInputMethods" directly.
func GetSettings ¶
func GetSettings(engineID js.String) (ret js.Promise[InputMethodSettings])
GetSettings calls the function "WEBEXT.inputMethodPrivate.getSettings" directly.
func GetSurroundingText ¶
func GetSurroundingText(beforeLength int64, afterLength int64) (ret js.Promise[GetSurroundingTextReturnType])
GetSurroundingText calls the function "WEBEXT.inputMethodPrivate.getSurroundingText" directly.
func GetTextFieldBounds ¶
func GetTextFieldBounds(parameters GetTextFieldBoundsArgParameters) (ret js.Promise[GetTextFieldBoundsReturnType])
GetTextFieldBounds calls the function "WEBEXT.inputMethodPrivate.getTextFieldBounds" directly.
func HasFuncAddWordToDictionary ¶
func HasFuncAddWordToDictionary() bool
HasFuncAddWordToDictionary returns true if the function "WEBEXT.inputMethodPrivate.addWordToDictionary" exists.
func HasFuncFetchAllDictionaryWords ¶
func HasFuncFetchAllDictionaryWords() bool
HasFuncFetchAllDictionaryWords returns true if the function "WEBEXT.inputMethodPrivate.fetchAllDictionaryWords" exists.
func HasFuncFinishComposingText ¶
func HasFuncFinishComposingText() bool
HasFuncFinishComposingText returns true if the function "WEBEXT.inputMethodPrivate.finishComposingText" exists.
func HasFuncGetCurrentInputMethod ¶
func HasFuncGetCurrentInputMethod() bool
HasFuncGetCurrentInputMethod returns true if the function "WEBEXT.inputMethodPrivate.getCurrentInputMethod" exists.
func HasFuncGetInputMethodConfig ¶
func HasFuncGetInputMethodConfig() bool
HasFuncGetInputMethodConfig returns true if the function "WEBEXT.inputMethodPrivate.getInputMethodConfig" exists.
func HasFuncGetInputMethods ¶
func HasFuncGetInputMethods() bool
HasFuncGetInputMethods returns true if the function "WEBEXT.inputMethodPrivate.getInputMethods" exists.
func HasFuncGetSettings ¶
func HasFuncGetSettings() bool
HasFuncGetSettings returns true if the function "WEBEXT.inputMethodPrivate.getSettings" exists.
func HasFuncGetSurroundingText ¶
func HasFuncGetSurroundingText() bool
HasFuncGetSurroundingText returns true if the function "WEBEXT.inputMethodPrivate.getSurroundingText" exists.
func HasFuncGetTextFieldBounds ¶
func HasFuncGetTextFieldBounds() bool
HasFuncGetTextFieldBounds returns true if the function "WEBEXT.inputMethodPrivate.getTextFieldBounds" exists.
func HasFuncHasOnCaretBoundsChanged ¶
func HasFuncHasOnCaretBoundsChanged() bool
HasFuncHasOnCaretBoundsChanged returns true if the function "WEBEXT.inputMethodPrivate.onCaretBoundsChanged.hasListener" exists.
func HasFuncHasOnChanged ¶
func HasFuncHasOnChanged() bool
HasFuncHasOnChanged returns true if the function "WEBEXT.inputMethodPrivate.onChanged.hasListener" exists.
func HasFuncHasOnDictionaryChanged ¶
func HasFuncHasOnDictionaryChanged() bool
HasFuncHasOnDictionaryChanged returns true if the function "WEBEXT.inputMethodPrivate.onDictionaryChanged.hasListener" exists.
func HasFuncHasOnDictionaryLoaded ¶
func HasFuncHasOnDictionaryLoaded() bool
HasFuncHasOnDictionaryLoaded returns true if the function "WEBEXT.inputMethodPrivate.onDictionaryLoaded.hasListener" exists.
func HasFuncHasOnFocus ¶
func HasFuncHasOnFocus() bool
HasFuncHasOnFocus returns true if the function "WEBEXT.inputMethodPrivate.onFocus.hasListener" exists.
func HasFuncHasOnImeMenuActivationChanged ¶
func HasFuncHasOnImeMenuActivationChanged() bool
HasFuncHasOnImeMenuActivationChanged returns true if the function "WEBEXT.inputMethodPrivate.onImeMenuActivationChanged.hasListener" exists.
func HasFuncHasOnImeMenuItemsChanged ¶
func HasFuncHasOnImeMenuItemsChanged() bool
HasFuncHasOnImeMenuItemsChanged returns true if the function "WEBEXT.inputMethodPrivate.onImeMenuItemsChanged.hasListener" exists.
func HasFuncHasOnImeMenuListChanged ¶
func HasFuncHasOnImeMenuListChanged() bool
HasFuncHasOnImeMenuListChanged returns true if the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.hasListener" exists.
func HasFuncHasOnInputMethodOptionsChanged ¶
func HasFuncHasOnInputMethodOptionsChanged() bool
HasFuncHasOnInputMethodOptionsChanged returns true if the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.hasListener" exists.
func HasFuncHasOnScreenProjectionChanged ¶
func HasFuncHasOnScreenProjectionChanged() bool
HasFuncHasOnScreenProjectionChanged returns true if the function "WEBEXT.inputMethodPrivate.onScreenProjectionChanged.hasListener" exists.
func HasFuncHasOnSettingsChanged ¶
func HasFuncHasOnSettingsChanged() bool
HasFuncHasOnSettingsChanged returns true if the function "WEBEXT.inputMethodPrivate.onSettingsChanged.hasListener" exists.
func HasFuncHasOnSuggestionsChanged ¶
func HasFuncHasOnSuggestionsChanged() bool
HasFuncHasOnSuggestionsChanged returns true if the function "WEBEXT.inputMethodPrivate.onSuggestionsChanged.hasListener" exists.
func HasFuncHasOnTouch ¶
func HasFuncHasOnTouch() bool
HasFuncHasOnTouch returns true if the function "WEBEXT.inputMethodPrivate.onTouch.hasListener" exists.
func HasFuncHideInputView ¶
func HasFuncHideInputView() bool
HasFuncHideInputView returns true if the function "WEBEXT.inputMethodPrivate.hideInputView" exists.
func HasFuncNotifyInputMethodReadyForTesting ¶
func HasFuncNotifyInputMethodReadyForTesting() bool
HasFuncNotifyInputMethodReadyForTesting returns true if the function "WEBEXT.inputMethodPrivate.notifyInputMethodReadyForTesting" exists.
func HasFuncOffCaretBoundsChanged ¶
func HasFuncOffCaretBoundsChanged() bool
HasFuncOffCaretBoundsChanged returns true if the function "WEBEXT.inputMethodPrivate.onCaretBoundsChanged.removeListener" exists.
func HasFuncOffChanged ¶
func HasFuncOffChanged() bool
HasFuncOffChanged returns true if the function "WEBEXT.inputMethodPrivate.onChanged.removeListener" exists.
func HasFuncOffDictionaryChanged ¶
func HasFuncOffDictionaryChanged() bool
HasFuncOffDictionaryChanged returns true if the function "WEBEXT.inputMethodPrivate.onDictionaryChanged.removeListener" exists.
func HasFuncOffDictionaryLoaded ¶
func HasFuncOffDictionaryLoaded() bool
HasFuncOffDictionaryLoaded returns true if the function "WEBEXT.inputMethodPrivate.onDictionaryLoaded.removeListener" exists.
func HasFuncOffFocus ¶
func HasFuncOffFocus() bool
HasFuncOffFocus returns true if the function "WEBEXT.inputMethodPrivate.onFocus.removeListener" exists.
func HasFuncOffImeMenuActivationChanged ¶
func HasFuncOffImeMenuActivationChanged() bool
HasFuncOffImeMenuActivationChanged returns true if the function "WEBEXT.inputMethodPrivate.onImeMenuActivationChanged.removeListener" exists.
func HasFuncOffImeMenuItemsChanged ¶
func HasFuncOffImeMenuItemsChanged() bool
HasFuncOffImeMenuItemsChanged returns true if the function "WEBEXT.inputMethodPrivate.onImeMenuItemsChanged.removeListener" exists.
func HasFuncOffImeMenuListChanged ¶
func HasFuncOffImeMenuListChanged() bool
HasFuncOffImeMenuListChanged returns true if the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.removeListener" exists.
func HasFuncOffInputMethodOptionsChanged ¶
func HasFuncOffInputMethodOptionsChanged() bool
HasFuncOffInputMethodOptionsChanged returns true if the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.removeListener" exists.
func HasFuncOffScreenProjectionChanged ¶
func HasFuncOffScreenProjectionChanged() bool
HasFuncOffScreenProjectionChanged returns true if the function "WEBEXT.inputMethodPrivate.onScreenProjectionChanged.removeListener" exists.
func HasFuncOffSettingsChanged ¶
func HasFuncOffSettingsChanged() bool
HasFuncOffSettingsChanged returns true if the function "WEBEXT.inputMethodPrivate.onSettingsChanged.removeListener" exists.
func HasFuncOffSuggestionsChanged ¶
func HasFuncOffSuggestionsChanged() bool
HasFuncOffSuggestionsChanged returns true if the function "WEBEXT.inputMethodPrivate.onSuggestionsChanged.removeListener" exists.
func HasFuncOffTouch ¶
func HasFuncOffTouch() bool
HasFuncOffTouch returns true if the function "WEBEXT.inputMethodPrivate.onTouch.removeListener" exists.
func HasFuncOnAutocorrect ¶
func HasFuncOnAutocorrect() bool
HasFuncOnAutocorrect returns true if the function "WEBEXT.inputMethodPrivate.onAutocorrect" exists.
func HasFuncOnCaretBoundsChanged ¶
func HasFuncOnCaretBoundsChanged() bool
HasFuncOnCaretBoundsChanged returns true if the function "WEBEXT.inputMethodPrivate.onCaretBoundsChanged.addListener" exists.
func HasFuncOnChanged ¶
func HasFuncOnChanged() bool
HasFuncOnChanged returns true if the function "WEBEXT.inputMethodPrivate.onChanged.addListener" exists.
func HasFuncOnDictionaryChanged ¶
func HasFuncOnDictionaryChanged() bool
HasFuncOnDictionaryChanged returns true if the function "WEBEXT.inputMethodPrivate.onDictionaryChanged.addListener" exists.
func HasFuncOnDictionaryLoaded ¶
func HasFuncOnDictionaryLoaded() bool
HasFuncOnDictionaryLoaded returns true if the function "WEBEXT.inputMethodPrivate.onDictionaryLoaded.addListener" exists.
func HasFuncOnFocus ¶
func HasFuncOnFocus() bool
HasFuncOnFocus returns true if the function "WEBEXT.inputMethodPrivate.onFocus.addListener" exists.
func HasFuncOnImeMenuActivationChanged ¶
func HasFuncOnImeMenuActivationChanged() bool
HasFuncOnImeMenuActivationChanged returns true if the function "WEBEXT.inputMethodPrivate.onImeMenuActivationChanged.addListener" exists.
func HasFuncOnImeMenuItemsChanged ¶
func HasFuncOnImeMenuItemsChanged() bool
HasFuncOnImeMenuItemsChanged returns true if the function "WEBEXT.inputMethodPrivate.onImeMenuItemsChanged.addListener" exists.
func HasFuncOnImeMenuListChanged ¶
func HasFuncOnImeMenuListChanged() bool
HasFuncOnImeMenuListChanged returns true if the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.addListener" exists.
func HasFuncOnInputMethodOptionsChanged ¶
func HasFuncOnInputMethodOptionsChanged() bool
HasFuncOnInputMethodOptionsChanged returns true if the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.addListener" exists.
func HasFuncOnScreenProjectionChanged ¶
func HasFuncOnScreenProjectionChanged() bool
HasFuncOnScreenProjectionChanged returns true if the function "WEBEXT.inputMethodPrivate.onScreenProjectionChanged.addListener" exists.
func HasFuncOnSettingsChanged ¶
func HasFuncOnSettingsChanged() bool
HasFuncOnSettingsChanged returns true if the function "WEBEXT.inputMethodPrivate.onSettingsChanged.addListener" exists.
func HasFuncOnSuggestionsChanged ¶
func HasFuncOnSuggestionsChanged() bool
HasFuncOnSuggestionsChanged returns true if the function "WEBEXT.inputMethodPrivate.onSuggestionsChanged.addListener" exists.
func HasFuncOnTouch ¶
func HasFuncOnTouch() bool
HasFuncOnTouch returns true if the function "WEBEXT.inputMethodPrivate.onTouch.addListener" exists.
func HasFuncOpenOptionsPage ¶
func HasFuncOpenOptionsPage() bool
HasFuncOpenOptionsPage returns true if the function "WEBEXT.inputMethodPrivate.openOptionsPage" exists.
func HasFuncReset ¶
func HasFuncReset() bool
HasFuncReset returns true if the function "WEBEXT.inputMethodPrivate.reset" exists.
func HasFuncSetCompositionRange ¶
func HasFuncSetCompositionRange() bool
HasFuncSetCompositionRange returns true if the function "WEBEXT.inputMethodPrivate.setCompositionRange" exists.
func HasFuncSetCurrentInputMethod ¶
func HasFuncSetCurrentInputMethod() bool
HasFuncSetCurrentInputMethod returns true if the function "WEBEXT.inputMethodPrivate.setCurrentInputMethod" exists.
func HasFuncSetSettings ¶
func HasFuncSetSettings() bool
HasFuncSetSettings returns true if the function "WEBEXT.inputMethodPrivate.setSettings" exists.
func HasFuncSetXkbLayout ¶
func HasFuncSetXkbLayout() bool
HasFuncSetXkbLayout returns true if the function "WEBEXT.inputMethodPrivate.setXkbLayout" exists.
func HasFuncShowInputView ¶
func HasFuncShowInputView() bool
HasFuncShowInputView returns true if the function "WEBEXT.inputMethodPrivate.showInputView" exists.
func HasFuncSwitchToLastUsedInputMethod ¶
func HasFuncSwitchToLastUsedInputMethod() bool
HasFuncSwitchToLastUsedInputMethod returns true if the function "WEBEXT.inputMethodPrivate.switchToLastUsedInputMethod" exists.
func HasOnCaretBoundsChanged ¶
func HasOnCaretBoundsChanged(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]) (ret bool)
HasOnCaretBoundsChanged calls the function "WEBEXT.inputMethodPrivate.onCaretBoundsChanged.hasListener" directly.
func HasOnChanged ¶
HasOnChanged calls the function "WEBEXT.inputMethodPrivate.onChanged.hasListener" directly.
func HasOnDictionaryChanged ¶
func HasOnDictionaryChanged(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])]) (ret bool)
HasOnDictionaryChanged calls the function "WEBEXT.inputMethodPrivate.onDictionaryChanged.hasListener" directly.
func HasOnDictionaryLoaded ¶
HasOnDictionaryLoaded calls the function "WEBEXT.inputMethodPrivate.onDictionaryLoaded.hasListener" directly.
func HasOnFocus ¶
func HasOnFocus(callback js.Func[func(context *InputContext)]) (ret bool)
HasOnFocus calls the function "WEBEXT.inputMethodPrivate.onFocus.hasListener" directly.
func HasOnImeMenuActivationChanged ¶
HasOnImeMenuActivationChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuActivationChanged.hasListener" directly.
func HasOnImeMenuItemsChanged ¶
func HasOnImeMenuItemsChanged(callback js.Func[func(engineID js.String, items js.Array[MenuItem])]) (ret bool)
HasOnImeMenuItemsChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuItemsChanged.hasListener" directly.
func HasOnImeMenuListChanged ¶
HasOnImeMenuListChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.hasListener" directly.
func HasOnInputMethodOptionsChanged ¶
HasOnInputMethodOptionsChanged calls the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.hasListener" directly.
func HasOnScreenProjectionChanged ¶
HasOnScreenProjectionChanged calls the function "WEBEXT.inputMethodPrivate.onScreenProjectionChanged.hasListener" directly.
func HasOnSettingsChanged ¶
func HasOnSettingsChanged(callback js.Func[func(engineID js.String, settings *InputMethodSettings)]) (ret bool)
HasOnSettingsChanged calls the function "WEBEXT.inputMethodPrivate.onSettingsChanged.hasListener" directly.
func HasOnSuggestionsChanged ¶
HasOnSuggestionsChanged calls the function "WEBEXT.inputMethodPrivate.onSuggestionsChanged.hasListener" directly.
func HasOnTouch ¶
func HasOnTouch(callback js.Func[func(pointerType FocusReason)]) (ret bool)
HasOnTouch calls the function "WEBEXT.inputMethodPrivate.onTouch.hasListener" directly.
func HideInputView ¶
HideInputView calls the function "WEBEXT.inputMethodPrivate.hideInputView" directly.
func NotifyInputMethodReadyForTesting ¶
NotifyInputMethodReadyForTesting calls the function "WEBEXT.inputMethodPrivate.notifyInputMethodReadyForTesting" directly.
func OffCaretBoundsChanged ¶
func OffCaretBoundsChanged(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]) (ret js.Void)
OffCaretBoundsChanged calls the function "WEBEXT.inputMethodPrivate.onCaretBoundsChanged.removeListener" directly.
func OffChanged ¶
OffChanged calls the function "WEBEXT.inputMethodPrivate.onChanged.removeListener" directly.
func OffDictionaryChanged ¶
func OffDictionaryChanged(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])]) (ret js.Void)
OffDictionaryChanged calls the function "WEBEXT.inputMethodPrivate.onDictionaryChanged.removeListener" directly.
func OffDictionaryLoaded ¶
OffDictionaryLoaded calls the function "WEBEXT.inputMethodPrivate.onDictionaryLoaded.removeListener" directly.
func OffFocus ¶
func OffFocus(callback js.Func[func(context *InputContext)]) (ret js.Void)
OffFocus calls the function "WEBEXT.inputMethodPrivate.onFocus.removeListener" directly.
func OffImeMenuActivationChanged ¶
OffImeMenuActivationChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuActivationChanged.removeListener" directly.
func OffImeMenuItemsChanged ¶
func OffImeMenuItemsChanged(callback js.Func[func(engineID js.String, items js.Array[MenuItem])]) (ret js.Void)
OffImeMenuItemsChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuItemsChanged.removeListener" directly.
func OffImeMenuListChanged ¶
OffImeMenuListChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.removeListener" directly.
func OffInputMethodOptionsChanged ¶
OffInputMethodOptionsChanged calls the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.removeListener" directly.
func OffScreenProjectionChanged ¶
OffScreenProjectionChanged calls the function "WEBEXT.inputMethodPrivate.onScreenProjectionChanged.removeListener" directly.
func OffSettingsChanged ¶
func OffSettingsChanged(callback js.Func[func(engineID js.String, settings *InputMethodSettings)]) (ret js.Void)
OffSettingsChanged calls the function "WEBEXT.inputMethodPrivate.onSettingsChanged.removeListener" directly.
func OffSuggestionsChanged ¶
OffSuggestionsChanged calls the function "WEBEXT.inputMethodPrivate.onSuggestionsChanged.removeListener" directly.
func OffTouch ¶
func OffTouch(callback js.Func[func(pointerType FocusReason)]) (ret js.Void)
OffTouch calls the function "WEBEXT.inputMethodPrivate.onTouch.removeListener" directly.
func OnAutocorrect ¶
func OnAutocorrect(parameters OnAutocorrectArgParameters) (ret js.Void)
OnAutocorrect calls the function "WEBEXT.inputMethodPrivate.onAutocorrect" directly.
func OnCaretBoundsChanged ¶
func OnCaretBoundsChanged(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]) (ret js.Void)
OnCaretBoundsChanged calls the function "WEBEXT.inputMethodPrivate.onCaretBoundsChanged.addListener" directly.
func OnChanged ¶
OnChanged calls the function "WEBEXT.inputMethodPrivate.onChanged.addListener" directly.
func OnDictionaryChanged ¶
func OnDictionaryChanged(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])]) (ret js.Void)
OnDictionaryChanged calls the function "WEBEXT.inputMethodPrivate.onDictionaryChanged.addListener" directly.
func OnDictionaryLoaded ¶
OnDictionaryLoaded calls the function "WEBEXT.inputMethodPrivate.onDictionaryLoaded.addListener" directly.
func OnFocus ¶
func OnFocus(callback js.Func[func(context *InputContext)]) (ret js.Void)
OnFocus calls the function "WEBEXT.inputMethodPrivate.onFocus.addListener" directly.
func OnImeMenuActivationChanged ¶
OnImeMenuActivationChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuActivationChanged.addListener" directly.
func OnImeMenuItemsChanged ¶
func OnImeMenuItemsChanged(callback js.Func[func(engineID js.String, items js.Array[MenuItem])]) (ret js.Void)
OnImeMenuItemsChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuItemsChanged.addListener" directly.
func OnImeMenuListChanged ¶
OnImeMenuListChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.addListener" directly.
func OnInputMethodOptionsChanged ¶
OnInputMethodOptionsChanged calls the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.addListener" directly.
func OnScreenProjectionChanged ¶
OnScreenProjectionChanged calls the function "WEBEXT.inputMethodPrivate.onScreenProjectionChanged.addListener" directly.
func OnSettingsChanged ¶
func OnSettingsChanged(callback js.Func[func(engineID js.String, settings *InputMethodSettings)]) (ret js.Void)
OnSettingsChanged calls the function "WEBEXT.inputMethodPrivate.onSettingsChanged.addListener" directly.
func OnSuggestionsChanged ¶
OnSuggestionsChanged calls the function "WEBEXT.inputMethodPrivate.onSuggestionsChanged.addListener" directly.
func OnTouch ¶
func OnTouch(callback js.Func[func(pointerType FocusReason)]) (ret js.Void)
OnTouch calls the function "WEBEXT.inputMethodPrivate.onTouch.addListener" directly.
func OpenOptionsPage ¶
OpenOptionsPage calls the function "WEBEXT.inputMethodPrivate.openOptionsPage" directly.
func SetCompositionRange ¶
func SetCompositionRange(parameters SetCompositionRangeArgParameters) (ret js.Promise[js.Boolean])
SetCompositionRange calls the function "WEBEXT.inputMethodPrivate.setCompositionRange" directly.
func SetCurrentInputMethod ¶
SetCurrentInputMethod calls the function "WEBEXT.inputMethodPrivate.setCurrentInputMethod" directly.
func SetSettings ¶
SetSettings calls the function "WEBEXT.inputMethodPrivate.setSettings" directly.
func SetXkbLayout ¶
SetXkbLayout calls the function "WEBEXT.inputMethodPrivate.setXkbLayout" directly.
func ShowInputView ¶
ShowInputView calls the function "WEBEXT.inputMethodPrivate.showInputView" directly.
func SwitchToLastUsedInputMethod ¶
SwitchToLastUsedInputMethod calls the function "WEBEXT.inputMethodPrivate.switchToLastUsedInputMethod" directly.
func TryAddWordToDictionary ¶
TryAddWordToDictionary calls the function "WEBEXT.inputMethodPrivate.addWordToDictionary" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryFetchAllDictionaryWords ¶
TryFetchAllDictionaryWords calls the function "WEBEXT.inputMethodPrivate.fetchAllDictionaryWords" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryFinishComposingText ¶
func TryFinishComposingText(parameters FinishComposingTextArgParameters) (ret js.Promise[js.Void], exception js.Any, ok bool)
TryFinishComposingText calls the function "WEBEXT.inputMethodPrivate.finishComposingText" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryGetCurrentInputMethod ¶
TryGetCurrentInputMethod calls the function "WEBEXT.inputMethodPrivate.getCurrentInputMethod" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryGetInputMethodConfig ¶
func TryGetInputMethodConfig() (ret js.Promise[GetInputMethodConfigReturnType], exception js.Any, ok bool)
TryGetInputMethodConfig calls the function "WEBEXT.inputMethodPrivate.getInputMethodConfig" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryGetInputMethods ¶
func TryGetInputMethods() (ret js.Promise[js.Array[GetInputMethodsReturnTypeElem]], exception js.Any, ok bool)
TryGetInputMethods calls the function "WEBEXT.inputMethodPrivate.getInputMethods" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryGetSettings ¶
func TryGetSettings(engineID js.String) (ret js.Promise[InputMethodSettings], exception js.Any, ok bool)
TryGetSettings calls the function "WEBEXT.inputMethodPrivate.getSettings" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryGetSurroundingText ¶
func TryGetSurroundingText(beforeLength int64, afterLength int64) (ret js.Promise[GetSurroundingTextReturnType], exception js.Any, ok bool)
TryGetSurroundingText calls the function "WEBEXT.inputMethodPrivate.getSurroundingText" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryGetTextFieldBounds ¶
func TryGetTextFieldBounds(parameters GetTextFieldBoundsArgParameters) (ret js.Promise[GetTextFieldBoundsReturnType], exception js.Any, ok bool)
TryGetTextFieldBounds calls the function "WEBEXT.inputMethodPrivate.getTextFieldBounds" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnCaretBoundsChanged ¶
func TryHasOnCaretBoundsChanged(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]) (ret bool, exception js.Any, ok bool)
TryHasOnCaretBoundsChanged calls the function "WEBEXT.inputMethodPrivate.onCaretBoundsChanged.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnChanged ¶
func TryHasOnChanged(callback js.Func[func(newInputMethodId js.String)]) (ret bool, exception js.Any, ok bool)
TryHasOnChanged calls the function "WEBEXT.inputMethodPrivate.onChanged.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnDictionaryChanged ¶
func TryHasOnDictionaryChanged(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])]) (ret bool, exception js.Any, ok bool)
TryHasOnDictionaryChanged calls the function "WEBEXT.inputMethodPrivate.onDictionaryChanged.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnDictionaryLoaded ¶
TryHasOnDictionaryLoaded calls the function "WEBEXT.inputMethodPrivate.onDictionaryLoaded.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnFocus ¶
func TryHasOnFocus(callback js.Func[func(context *InputContext)]) (ret bool, exception js.Any, ok bool)
TryHasOnFocus calls the function "WEBEXT.inputMethodPrivate.onFocus.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnImeMenuActivationChanged ¶
func TryHasOnImeMenuActivationChanged(callback js.Func[func(activation bool)]) (ret bool, exception js.Any, ok bool)
TryHasOnImeMenuActivationChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuActivationChanged.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnImeMenuItemsChanged ¶
func TryHasOnImeMenuItemsChanged(callback js.Func[func(engineID js.String, items js.Array[MenuItem])]) (ret bool, exception js.Any, ok bool)
TryHasOnImeMenuItemsChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuItemsChanged.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnImeMenuListChanged ¶
TryHasOnImeMenuListChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnInputMethodOptionsChanged ¶
func TryHasOnInputMethodOptionsChanged(callback js.Func[func(engineID js.String)]) (ret bool, exception js.Any, ok bool)
TryHasOnInputMethodOptionsChanged calls the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnScreenProjectionChanged ¶
func TryHasOnScreenProjectionChanged(callback js.Func[func(isProjected bool)]) (ret bool, exception js.Any, ok bool)
TryHasOnScreenProjectionChanged calls the function "WEBEXT.inputMethodPrivate.onScreenProjectionChanged.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnSettingsChanged ¶
func TryHasOnSettingsChanged(callback js.Func[func(engineID js.String, settings *InputMethodSettings)]) (ret bool, exception js.Any, ok bool)
TryHasOnSettingsChanged calls the function "WEBEXT.inputMethodPrivate.onSettingsChanged.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnSuggestionsChanged ¶
func TryHasOnSuggestionsChanged(callback js.Func[func(suggestions js.Array[js.String])]) (ret bool, exception js.Any, ok bool)
TryHasOnSuggestionsChanged calls the function "WEBEXT.inputMethodPrivate.onSuggestionsChanged.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHasOnTouch ¶
func TryHasOnTouch(callback js.Func[func(pointerType FocusReason)]) (ret bool, exception js.Any, ok bool)
TryHasOnTouch calls the function "WEBEXT.inputMethodPrivate.onTouch.hasListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryHideInputView ¶
TryHideInputView calls the function "WEBEXT.inputMethodPrivate.hideInputView" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryNotifyInputMethodReadyForTesting ¶
TryNotifyInputMethodReadyForTesting calls the function "WEBEXT.inputMethodPrivate.notifyInputMethodReadyForTesting" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffCaretBoundsChanged ¶
func TryOffCaretBoundsChanged(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]) (ret js.Void, exception js.Any, ok bool)
TryOffCaretBoundsChanged calls the function "WEBEXT.inputMethodPrivate.onCaretBoundsChanged.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffChanged ¶
func TryOffChanged(callback js.Func[func(newInputMethodId js.String)]) (ret js.Void, exception js.Any, ok bool)
TryOffChanged calls the function "WEBEXT.inputMethodPrivate.onChanged.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffDictionaryChanged ¶
func TryOffDictionaryChanged(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])]) (ret js.Void, exception js.Any, ok bool)
TryOffDictionaryChanged calls the function "WEBEXT.inputMethodPrivate.onDictionaryChanged.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffDictionaryLoaded ¶
TryOffDictionaryLoaded calls the function "WEBEXT.inputMethodPrivate.onDictionaryLoaded.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffFocus ¶
func TryOffFocus(callback js.Func[func(context *InputContext)]) (ret js.Void, exception js.Any, ok bool)
TryOffFocus calls the function "WEBEXT.inputMethodPrivate.onFocus.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffImeMenuActivationChanged ¶
func TryOffImeMenuActivationChanged(callback js.Func[func(activation bool)]) (ret js.Void, exception js.Any, ok bool)
TryOffImeMenuActivationChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuActivationChanged.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffImeMenuItemsChanged ¶
func TryOffImeMenuItemsChanged(callback js.Func[func(engineID js.String, items js.Array[MenuItem])]) (ret js.Void, exception js.Any, ok bool)
TryOffImeMenuItemsChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuItemsChanged.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffImeMenuListChanged ¶
TryOffImeMenuListChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffInputMethodOptionsChanged ¶
func TryOffInputMethodOptionsChanged(callback js.Func[func(engineID js.String)]) (ret js.Void, exception js.Any, ok bool)
TryOffInputMethodOptionsChanged calls the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffScreenProjectionChanged ¶
func TryOffScreenProjectionChanged(callback js.Func[func(isProjected bool)]) (ret js.Void, exception js.Any, ok bool)
TryOffScreenProjectionChanged calls the function "WEBEXT.inputMethodPrivate.onScreenProjectionChanged.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffSettingsChanged ¶
func TryOffSettingsChanged(callback js.Func[func(engineID js.String, settings *InputMethodSettings)]) (ret js.Void, exception js.Any, ok bool)
TryOffSettingsChanged calls the function "WEBEXT.inputMethodPrivate.onSettingsChanged.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffSuggestionsChanged ¶
func TryOffSuggestionsChanged(callback js.Func[func(suggestions js.Array[js.String])]) (ret js.Void, exception js.Any, ok bool)
TryOffSuggestionsChanged calls the function "WEBEXT.inputMethodPrivate.onSuggestionsChanged.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOffTouch ¶
func TryOffTouch(callback js.Func[func(pointerType FocusReason)]) (ret js.Void, exception js.Any, ok bool)
TryOffTouch calls the function "WEBEXT.inputMethodPrivate.onTouch.removeListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnAutocorrect ¶
func TryOnAutocorrect(parameters OnAutocorrectArgParameters) (ret js.Void, exception js.Any, ok bool)
TryOnAutocorrect calls the function "WEBEXT.inputMethodPrivate.onAutocorrect" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnCaretBoundsChanged ¶
func TryOnCaretBoundsChanged(callback js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]) (ret js.Void, exception js.Any, ok bool)
TryOnCaretBoundsChanged calls the function "WEBEXT.inputMethodPrivate.onCaretBoundsChanged.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnChanged ¶
func TryOnChanged(callback js.Func[func(newInputMethodId js.String)]) (ret js.Void, exception js.Any, ok bool)
TryOnChanged calls the function "WEBEXT.inputMethodPrivate.onChanged.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnDictionaryChanged ¶
func TryOnDictionaryChanged(callback js.Func[func(added js.Array[js.String], removed js.Array[js.String])]) (ret js.Void, exception js.Any, ok bool)
TryOnDictionaryChanged calls the function "WEBEXT.inputMethodPrivate.onDictionaryChanged.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnDictionaryLoaded ¶
TryOnDictionaryLoaded calls the function "WEBEXT.inputMethodPrivate.onDictionaryLoaded.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnFocus ¶
func TryOnFocus(callback js.Func[func(context *InputContext)]) (ret js.Void, exception js.Any, ok bool)
TryOnFocus calls the function "WEBEXT.inputMethodPrivate.onFocus.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnImeMenuActivationChanged ¶
func TryOnImeMenuActivationChanged(callback js.Func[func(activation bool)]) (ret js.Void, exception js.Any, ok bool)
TryOnImeMenuActivationChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuActivationChanged.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnImeMenuItemsChanged ¶
func TryOnImeMenuItemsChanged(callback js.Func[func(engineID js.String, items js.Array[MenuItem])]) (ret js.Void, exception js.Any, ok bool)
TryOnImeMenuItemsChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuItemsChanged.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnImeMenuListChanged ¶
TryOnImeMenuListChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnInputMethodOptionsChanged ¶
func TryOnInputMethodOptionsChanged(callback js.Func[func(engineID js.String)]) (ret js.Void, exception js.Any, ok bool)
TryOnInputMethodOptionsChanged calls the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnScreenProjectionChanged ¶
func TryOnScreenProjectionChanged(callback js.Func[func(isProjected bool)]) (ret js.Void, exception js.Any, ok bool)
TryOnScreenProjectionChanged calls the function "WEBEXT.inputMethodPrivate.onScreenProjectionChanged.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnSettingsChanged ¶
func TryOnSettingsChanged(callback js.Func[func(engineID js.String, settings *InputMethodSettings)]) (ret js.Void, exception js.Any, ok bool)
TryOnSettingsChanged calls the function "WEBEXT.inputMethodPrivate.onSettingsChanged.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnSuggestionsChanged ¶
func TryOnSuggestionsChanged(callback js.Func[func(suggestions js.Array[js.String])]) (ret js.Void, exception js.Any, ok bool)
TryOnSuggestionsChanged calls the function "WEBEXT.inputMethodPrivate.onSuggestionsChanged.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOnTouch ¶
func TryOnTouch(callback js.Func[func(pointerType FocusReason)]) (ret js.Void, exception js.Any, ok bool)
TryOnTouch calls the function "WEBEXT.inputMethodPrivate.onTouch.addListener" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryOpenOptionsPage ¶
TryOpenOptionsPage calls the function "WEBEXT.inputMethodPrivate.openOptionsPage" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryReset ¶
TryReset calls the function "WEBEXT.inputMethodPrivate.reset" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TrySetCompositionRange ¶
func TrySetCompositionRange(parameters SetCompositionRangeArgParameters) (ret js.Promise[js.Boolean], exception js.Any, ok bool)
TrySetCompositionRange calls the function "WEBEXT.inputMethodPrivate.setCompositionRange" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TrySetCurrentInputMethod ¶
func TrySetCurrentInputMethod(inputMethodId js.String) (ret js.Promise[js.Void], exception js.Any, ok bool)
TrySetCurrentInputMethod calls the function "WEBEXT.inputMethodPrivate.setCurrentInputMethod" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TrySetSettings ¶
func TrySetSettings(engineID js.String, settings InputMethodSettings) (ret js.Promise[js.Void], exception js.Any, ok bool)
TrySetSettings calls the function "WEBEXT.inputMethodPrivate.setSettings" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TrySetXkbLayout ¶
TrySetXkbLayout calls the function "WEBEXT.inputMethodPrivate.setXkbLayout" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TryShowInputView ¶
TryShowInputView calls the function "WEBEXT.inputMethodPrivate.showInputView" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
func TrySwitchToLastUsedInputMethod ¶
TrySwitchToLastUsedInputMethod calls the function "WEBEXT.inputMethodPrivate.switchToLastUsedInputMethod" in a try/catch block and returns (_, err, ok = false) when it went through the catch clause.
Types ¶
type AutoCapitalizeType ¶
type AutoCapitalizeType uint32
const ( AutoCapitalizeType_OFF AutoCapitalizeType AutoCapitalizeType_CHARACTERS AutoCapitalizeType_WORDS AutoCapitalizeType_SENTENCES )
func (AutoCapitalizeType) FromRef ¶
func (AutoCapitalizeType) FromRef(str js.Ref) AutoCapitalizeType
func (AutoCapitalizeType) String ¶
func (x AutoCapitalizeType) String() (string, bool)
type FinishComposingTextArgParameters ¶
type FinishComposingTextArgParameters struct {
// ContextID is "FinishComposingTextArgParameters.contextID"
//
// Required
ContextID int64
FFI_USE bool
}
func (*FinishComposingTextArgParameters) FreeMembers ¶
func (p *FinishComposingTextArgParameters) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (FinishComposingTextArgParameters) FromRef ¶
func (p FinishComposingTextArgParameters) FromRef(ref js.Ref) FinishComposingTextArgParameters
FromRef calls UpdateFrom and returns a FinishComposingTextArgParameters with all fields set.
func (FinishComposingTextArgParameters) New ¶
func (p FinishComposingTextArgParameters) New() js.Ref
New creates a new FinishComposingTextArgParameters in the application heap.
func (*FinishComposingTextArgParameters) Update ¶
func (p *FinishComposingTextArgParameters) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*FinishComposingTextArgParameters) UpdateFrom ¶
func (p *FinishComposingTextArgParameters) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type FocusReason ¶
type FocusReason uint32
const ( FocusReason_MOUSE FocusReason FocusReason_TOUCH FocusReason_PEN FocusReason_OTHER )
func (FocusReason) FromRef ¶
func (FocusReason) FromRef(str js.Ref) FocusReason
func (FocusReason) String ¶
func (x FocusReason) String() (string, bool)
type GetInputMethodConfigReturnType ¶
type GetInputMethodConfigReturnType struct {
// IsImeMenuActivated is "GetInputMethodConfigReturnType.isImeMenuActivated"
//
// Required
IsImeMenuActivated bool
// IsPhysicalKeyboardAutocorrectEnabled is "GetInputMethodConfigReturnType.isPhysicalKeyboardAutocorrectEnabled"
//
// Required
IsPhysicalKeyboardAutocorrectEnabled bool
FFI_USE bool
}
func (*GetInputMethodConfigReturnType) FreeMembers ¶
func (p *GetInputMethodConfigReturnType) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (GetInputMethodConfigReturnType) FromRef ¶
func (p GetInputMethodConfigReturnType) FromRef(ref js.Ref) GetInputMethodConfigReturnType
FromRef calls UpdateFrom and returns a GetInputMethodConfigReturnType with all fields set.
func (GetInputMethodConfigReturnType) New ¶
func (p GetInputMethodConfigReturnType) New() js.Ref
New creates a new GetInputMethodConfigReturnType in the application heap.
func (*GetInputMethodConfigReturnType) Update ¶
func (p *GetInputMethodConfigReturnType) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*GetInputMethodConfigReturnType) UpdateFrom ¶
func (p *GetInputMethodConfigReturnType) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type GetInputMethodsReturnTypeElem ¶
type GetInputMethodsReturnTypeElem struct {
// Id is "GetInputMethodsReturnTypeElem.id"
//
// Required
Id js.String
// Indicator is "GetInputMethodsReturnTypeElem.indicator"
//
// Required
Indicator js.String
// Name is "GetInputMethodsReturnTypeElem.name"
//
// Required
Name js.String
FFI_USE bool
}
func (*GetInputMethodsReturnTypeElem) FreeMembers ¶
func (p *GetInputMethodsReturnTypeElem) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (GetInputMethodsReturnTypeElem) FromRef ¶
func (p GetInputMethodsReturnTypeElem) FromRef(ref js.Ref) GetInputMethodsReturnTypeElem
FromRef calls UpdateFrom and returns a GetInputMethodsReturnTypeElem with all fields set.
func (GetInputMethodsReturnTypeElem) New ¶
func (p GetInputMethodsReturnTypeElem) New() js.Ref
New creates a new GetInputMethodsReturnTypeElem in the application heap.
func (*GetInputMethodsReturnTypeElem) Update ¶
func (p *GetInputMethodsReturnTypeElem) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*GetInputMethodsReturnTypeElem) UpdateFrom ¶
func (p *GetInputMethodsReturnTypeElem) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type GetSurroundingTextReturnType ¶
type GetSurroundingTextReturnType struct {
// After is "GetSurroundingTextReturnType.after"
//
// Required
After js.String
// Before is "GetSurroundingTextReturnType.before"
//
// Required
Before js.String
// Selected is "GetSurroundingTextReturnType.selected"
//
// Required
Selected js.String
FFI_USE bool
}
func (*GetSurroundingTextReturnType) FreeMembers ¶
func (p *GetSurroundingTextReturnType) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (GetSurroundingTextReturnType) FromRef ¶
func (p GetSurroundingTextReturnType) FromRef(ref js.Ref) GetSurroundingTextReturnType
FromRef calls UpdateFrom and returns a GetSurroundingTextReturnType with all fields set.
func (GetSurroundingTextReturnType) New ¶
func (p GetSurroundingTextReturnType) New() js.Ref
New creates a new GetSurroundingTextReturnType in the application heap.
func (*GetSurroundingTextReturnType) Update ¶
func (p *GetSurroundingTextReturnType) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*GetSurroundingTextReturnType) UpdateFrom ¶
func (p *GetSurroundingTextReturnType) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type GetTextFieldBoundsArgParameters ¶
type GetTextFieldBoundsArgParameters struct {
// ContextID is "GetTextFieldBoundsArgParameters.contextID"
//
// Required
ContextID int64
FFI_USE bool
}
func (*GetTextFieldBoundsArgParameters) FreeMembers ¶
func (p *GetTextFieldBoundsArgParameters) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (GetTextFieldBoundsArgParameters) FromRef ¶
func (p GetTextFieldBoundsArgParameters) FromRef(ref js.Ref) GetTextFieldBoundsArgParameters
FromRef calls UpdateFrom and returns a GetTextFieldBoundsArgParameters with all fields set.
func (GetTextFieldBoundsArgParameters) New ¶
func (p GetTextFieldBoundsArgParameters) New() js.Ref
New creates a new GetTextFieldBoundsArgParameters in the application heap.
func (*GetTextFieldBoundsArgParameters) Update ¶
func (p *GetTextFieldBoundsArgParameters) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*GetTextFieldBoundsArgParameters) UpdateFrom ¶
func (p *GetTextFieldBoundsArgParameters) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type GetTextFieldBoundsReturnType ¶
type GetTextFieldBoundsReturnType struct {
// Height is "GetTextFieldBoundsReturnType.height"
//
// Required
Height int64
// Width is "GetTextFieldBoundsReturnType.width"
//
// Required
Width int64
// X is "GetTextFieldBoundsReturnType.x"
//
// Required
X int64
// Y is "GetTextFieldBoundsReturnType.y"
//
// Required
Y int64
FFI_USE bool
}
func (*GetTextFieldBoundsReturnType) FreeMembers ¶
func (p *GetTextFieldBoundsReturnType) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (GetTextFieldBoundsReturnType) FromRef ¶
func (p GetTextFieldBoundsReturnType) FromRef(ref js.Ref) GetTextFieldBoundsReturnType
FromRef calls UpdateFrom and returns a GetTextFieldBoundsReturnType with all fields set.
func (GetTextFieldBoundsReturnType) New ¶
func (p GetTextFieldBoundsReturnType) New() js.Ref
New creates a new GetTextFieldBoundsReturnType in the application heap.
func (*GetTextFieldBoundsReturnType) Update ¶
func (p *GetTextFieldBoundsReturnType) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*GetTextFieldBoundsReturnType) UpdateFrom ¶
func (p *GetTextFieldBoundsReturnType) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type InputContext ¶
type InputContext struct {
// AppKey is "InputContext.appKey"
//
// Optional
AppKey js.String
// AutoCapitalize is "InputContext.autoCapitalize"
//
// Required
AutoCapitalize AutoCapitalizeType
// AutoComplete is "InputContext.autoComplete"
//
// Required
AutoComplete bool
// AutoCorrect is "InputContext.autoCorrect"
//
// Required
AutoCorrect bool
// ContextID is "InputContext.contextID"
//
// Required
ContextID int64
// FocusReason is "InputContext.focusReason"
//
// Required
FocusReason FocusReason
// Mode is "InputContext.mode"
//
// Required
Mode InputModeType
// ShouldDoLearning is "InputContext.shouldDoLearning"
//
// Required
ShouldDoLearning bool
// SpellCheck is "InputContext.spellCheck"
//
// Required
SpellCheck bool
// Type is "InputContext.type"
//
// Required
Type InputContextType
FFI_USE bool
}
func (*InputContext) FreeMembers ¶
func (p *InputContext) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (InputContext) FromRef ¶
func (p InputContext) FromRef(ref js.Ref) InputContext
FromRef calls UpdateFrom and returns a InputContext with all fields set.
func (InputContext) New ¶
func (p InputContext) New() js.Ref
New creates a new InputContext in the application heap.
func (*InputContext) Update ¶
func (p *InputContext) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*InputContext) UpdateFrom ¶
func (p *InputContext) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type InputContextType ¶
type InputContextType uint32
const ( InputContextType_TEXT InputContextType InputContextType_SEARCH InputContextType_TEL InputContextType_URL InputContextType_EMAIL InputContextType_NUMBER InputContextType_PASSWORD InputContextType_NULL )
func (InputContextType) FromRef ¶
func (InputContextType) FromRef(str js.Ref) InputContextType
func (InputContextType) String ¶
func (x InputContextType) String() (string, bool)
type InputMethodSettings ¶
type InputMethodSettings struct {
// EnableCompletion is "InputMethodSettings.enableCompletion"
//
// Optional
//
// NOTE: FFI_USE_EnableCompletion MUST be set to true to make this field effective.
EnableCompletion bool
// EnableDoubleSpacePeriod is "InputMethodSettings.enableDoubleSpacePeriod"
//
// Optional
//
// NOTE: FFI_USE_EnableDoubleSpacePeriod MUST be set to true to make this field effective.
EnableDoubleSpacePeriod bool
// EnableGestureTyping is "InputMethodSettings.enableGestureTyping"
//
// Optional
//
// NOTE: FFI_USE_EnableGestureTyping MUST be set to true to make this field effective.
EnableGestureTyping bool
// EnablePrediction is "InputMethodSettings.enablePrediction"
//
// Optional
//
// NOTE: FFI_USE_EnablePrediction MUST be set to true to make this field effective.
EnablePrediction bool
// EnableSoundOnKeypress is "InputMethodSettings.enableSoundOnKeypress"
//
// Optional
//
// NOTE: FFI_USE_EnableSoundOnKeypress MUST be set to true to make this field effective.
EnableSoundOnKeypress bool
// KoreanEnableSyllableInput is "InputMethodSettings.koreanEnableSyllableInput"
//
// Optional
//
// NOTE: FFI_USE_KoreanEnableSyllableInput MUST be set to true to make this field effective.
KoreanEnableSyllableInput bool
// KoreanKeyboardLayout is "InputMethodSettings.koreanKeyboardLayout"
//
// Optional
KoreanKeyboardLayout js.String
// KoreanShowHangulCandidate is "InputMethodSettings.koreanShowHangulCandidate"
//
// Optional
//
// NOTE: FFI_USE_KoreanShowHangulCandidate MUST be set to true to make this field effective.
KoreanShowHangulCandidate bool
// PhysicalKeyboardAutoCorrectionEnabledByDefault is "InputMethodSettings.physicalKeyboardAutoCorrectionEnabledByDefault"
//
// Optional
//
// NOTE: FFI_USE_PhysicalKeyboardAutoCorrectionEnabledByDefault MUST be set to true to make this field effective.
PhysicalKeyboardAutoCorrectionEnabledByDefault bool
// PhysicalKeyboardAutoCorrectionLevel is "InputMethodSettings.physicalKeyboardAutoCorrectionLevel"
//
// Optional
//
// NOTE: FFI_USE_PhysicalKeyboardAutoCorrectionLevel MUST be set to true to make this field effective.
PhysicalKeyboardAutoCorrectionLevel int64
// PhysicalKeyboardEnableCapitalization is "InputMethodSettings.physicalKeyboardEnableCapitalization"
//
// Optional
//
// NOTE: FFI_USE_PhysicalKeyboardEnableCapitalization MUST be set to true to make this field effective.
PhysicalKeyboardEnableCapitalization bool
// PhysicalKeyboardEnableDiacriticsOnLongpress is "InputMethodSettings.physicalKeyboardEnableDiacriticsOnLongpress"
//
// Optional
//
// NOTE: FFI_USE_PhysicalKeyboardEnableDiacriticsOnLongpress MUST be set to true to make this field effective.
PhysicalKeyboardEnableDiacriticsOnLongpress bool
// PhysicalKeyboardEnablePredictiveWriting is "InputMethodSettings.physicalKeyboardEnablePredictiveWriting"
//
// Optional
//
// NOTE: FFI_USE_PhysicalKeyboardEnablePredictiveWriting MUST be set to true to make this field effective.
PhysicalKeyboardEnablePredictiveWriting bool
// PinyinChinesePunctuation is "InputMethodSettings.pinyinChinesePunctuation"
//
// Optional
//
// NOTE: FFI_USE_PinyinChinesePunctuation MUST be set to true to make this field effective.
PinyinChinesePunctuation bool
// PinyinDefaultChinese is "InputMethodSettings.pinyinDefaultChinese"
//
// Optional
//
// NOTE: FFI_USE_PinyinDefaultChinese MUST be set to true to make this field effective.
PinyinDefaultChinese bool
// PinyinEnableFuzzy is "InputMethodSettings.pinyinEnableFuzzy"
//
// Optional
//
// NOTE: FFI_USE_PinyinEnableFuzzy MUST be set to true to make this field effective.
PinyinEnableFuzzy bool
// PinyinEnableLowerPaging is "InputMethodSettings.pinyinEnableLowerPaging"
//
// Optional
//
// NOTE: FFI_USE_PinyinEnableLowerPaging MUST be set to true to make this field effective.
PinyinEnableLowerPaging bool
// PinyinEnableUpperPaging is "InputMethodSettings.pinyinEnableUpperPaging"
//
// Optional
//
// NOTE: FFI_USE_PinyinEnableUpperPaging MUST be set to true to make this field effective.
PinyinEnableUpperPaging bool
// PinyinFullWidthCharacter is "InputMethodSettings.pinyinFullWidthCharacter"
//
// Optional
//
// NOTE: FFI_USE_PinyinFullWidthCharacter MUST be set to true to make this field effective.
PinyinFullWidthCharacter bool
// PinyinFuzzyConfig is "InputMethodSettings.pinyinFuzzyConfig"
//
// Optional
//
// NOTE: PinyinFuzzyConfig.FFI_USE MUST be set to true to get PinyinFuzzyConfig used.
PinyinFuzzyConfig InputMethodSettingsFieldPinyinFuzzyConfig
// VietnameseTelexAllowFlexibleDiacritics is "InputMethodSettings.vietnameseTelexAllowFlexibleDiacritics"
//
// Optional
//
// NOTE: FFI_USE_VietnameseTelexAllowFlexibleDiacritics MUST be set to true to make this field effective.
VietnameseTelexAllowFlexibleDiacritics bool
// VietnameseTelexInsertDoubleHornOnUo is "InputMethodSettings.vietnameseTelexInsertDoubleHornOnUo"
//
// Optional
//
// NOTE: FFI_USE_VietnameseTelexInsertDoubleHornOnUo MUST be set to true to make this field effective.
VietnameseTelexInsertDoubleHornOnUo bool
// VietnameseTelexInsertUHornOnW is "InputMethodSettings.vietnameseTelexInsertUHornOnW"
//
// Optional
//
// NOTE: FFI_USE_VietnameseTelexInsertUHornOnW MUST be set to true to make this field effective.
VietnameseTelexInsertUHornOnW bool
// VietnameseTelexNewStyleToneMarkPlacement is "InputMethodSettings.vietnameseTelexNewStyleToneMarkPlacement"
//
// Optional
//
// NOTE: FFI_USE_VietnameseTelexNewStyleToneMarkPlacement MUST be set to true to make this field effective.
VietnameseTelexNewStyleToneMarkPlacement bool
// VietnameseTelexShowUnderline is "InputMethodSettings.vietnameseTelexShowUnderline"
//
// Optional
//
// NOTE: FFI_USE_VietnameseTelexShowUnderline MUST be set to true to make this field effective.
VietnameseTelexShowUnderline bool
// VietnameseVniAllowFlexibleDiacritics is "InputMethodSettings.vietnameseVniAllowFlexibleDiacritics"
//
// Optional
//
// NOTE: FFI_USE_VietnameseVniAllowFlexibleDiacritics MUST be set to true to make this field effective.
VietnameseVniAllowFlexibleDiacritics bool
// VietnameseVniInsertDoubleHornOnUo is "InputMethodSettings.vietnameseVniInsertDoubleHornOnUo"
//
// Optional
//
// NOTE: FFI_USE_VietnameseVniInsertDoubleHornOnUo MUST be set to true to make this field effective.
VietnameseVniInsertDoubleHornOnUo bool
// VietnameseVniNewStyleToneMarkPlacement is "InputMethodSettings.vietnameseVniNewStyleToneMarkPlacement"
//
// Optional
//
// NOTE: FFI_USE_VietnameseVniNewStyleToneMarkPlacement MUST be set to true to make this field effective.
VietnameseVniNewStyleToneMarkPlacement bool
// VietnameseVniShowUnderline is "InputMethodSettings.vietnameseVniShowUnderline"
//
// Optional
//
// NOTE: FFI_USE_VietnameseVniShowUnderline MUST be set to true to make this field effective.
VietnameseVniShowUnderline bool
// VirtualKeyboardAutoCorrectionLevel is "InputMethodSettings.virtualKeyboardAutoCorrectionLevel"
//
// Optional
//
// NOTE: FFI_USE_VirtualKeyboardAutoCorrectionLevel MUST be set to true to make this field effective.
VirtualKeyboardAutoCorrectionLevel int64
// VirtualKeyboardEnableCapitalization is "InputMethodSettings.virtualKeyboardEnableCapitalization"
//
// Optional
//
// NOTE: FFI_USE_VirtualKeyboardEnableCapitalization MUST be set to true to make this field effective.
VirtualKeyboardEnableCapitalization bool
// XkbLayout is "InputMethodSettings.xkbLayout"
//
// Optional
XkbLayout js.String
// ZhuyinKeyboardLayout is "InputMethodSettings.zhuyinKeyboardLayout"
//
// Optional
ZhuyinKeyboardLayout js.String
// ZhuyinPageSize is "InputMethodSettings.zhuyinPageSize"
//
// Optional
//
// NOTE: FFI_USE_ZhuyinPageSize MUST be set to true to make this field effective.
ZhuyinPageSize int64
// ZhuyinSelectKeys is "InputMethodSettings.zhuyinSelectKeys"
//
// Optional
ZhuyinSelectKeys js.String
FFI_USE_EnableCompletion bool // for EnableCompletion.
FFI_USE_EnableDoubleSpacePeriod bool // for EnableDoubleSpacePeriod.
FFI_USE_EnableGestureTyping bool // for EnableGestureTyping.
FFI_USE_EnablePrediction bool // for EnablePrediction.
FFI_USE_EnableSoundOnKeypress bool // for EnableSoundOnKeypress.
FFI_USE_KoreanEnableSyllableInput bool // for KoreanEnableSyllableInput.
FFI_USE_KoreanShowHangulCandidate bool // for KoreanShowHangulCandidate.
FFI_USE_PhysicalKeyboardAutoCorrectionEnabledByDefault bool // for PhysicalKeyboardAutoCorrectionEnabledByDefault.
FFI_USE_PhysicalKeyboardAutoCorrectionLevel bool // for PhysicalKeyboardAutoCorrectionLevel.
FFI_USE_PhysicalKeyboardEnableCapitalization bool // for PhysicalKeyboardEnableCapitalization.
FFI_USE_PhysicalKeyboardEnableDiacriticsOnLongpress bool // for PhysicalKeyboardEnableDiacriticsOnLongpress.
FFI_USE_PhysicalKeyboardEnablePredictiveWriting bool // for PhysicalKeyboardEnablePredictiveWriting.
FFI_USE_PinyinChinesePunctuation bool // for PinyinChinesePunctuation.
FFI_USE_PinyinDefaultChinese bool // for PinyinDefaultChinese.
FFI_USE_PinyinEnableFuzzy bool // for PinyinEnableFuzzy.
FFI_USE_PinyinEnableLowerPaging bool // for PinyinEnableLowerPaging.
FFI_USE_PinyinEnableUpperPaging bool // for PinyinEnableUpperPaging.
FFI_USE_PinyinFullWidthCharacter bool // for PinyinFullWidthCharacter.
FFI_USE_VietnameseTelexAllowFlexibleDiacritics bool // for VietnameseTelexAllowFlexibleDiacritics.
FFI_USE_VietnameseTelexInsertDoubleHornOnUo bool // for VietnameseTelexInsertDoubleHornOnUo.
FFI_USE_VietnameseTelexInsertUHornOnW bool // for VietnameseTelexInsertUHornOnW.
FFI_USE_VietnameseTelexNewStyleToneMarkPlacement bool // for VietnameseTelexNewStyleToneMarkPlacement.
FFI_USE_VietnameseTelexShowUnderline bool // for VietnameseTelexShowUnderline.
FFI_USE_VietnameseVniAllowFlexibleDiacritics bool // for VietnameseVniAllowFlexibleDiacritics.
FFI_USE_VietnameseVniInsertDoubleHornOnUo bool // for VietnameseVniInsertDoubleHornOnUo.
FFI_USE_VietnameseVniNewStyleToneMarkPlacement bool // for VietnameseVniNewStyleToneMarkPlacement.
FFI_USE_VietnameseVniShowUnderline bool // for VietnameseVniShowUnderline.
FFI_USE_VirtualKeyboardAutoCorrectionLevel bool // for VirtualKeyboardAutoCorrectionLevel.
FFI_USE_VirtualKeyboardEnableCapitalization bool // for VirtualKeyboardEnableCapitalization.
FFI_USE_ZhuyinPageSize bool // for ZhuyinPageSize.
FFI_USE bool
}
func (*InputMethodSettings) FreeMembers ¶
func (p *InputMethodSettings) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (InputMethodSettings) FromRef ¶
func (p InputMethodSettings) FromRef(ref js.Ref) InputMethodSettings
FromRef calls UpdateFrom and returns a InputMethodSettings with all fields set.
func (InputMethodSettings) New ¶
func (p InputMethodSettings) New() js.Ref
New creates a new InputMethodSettings in the application heap.
func (*InputMethodSettings) Update ¶
func (p *InputMethodSettings) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*InputMethodSettings) UpdateFrom ¶
func (p *InputMethodSettings) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type InputMethodSettingsFieldPinyinFuzzyConfig ¶
type InputMethodSettingsFieldPinyinFuzzyConfig struct {
// AnAng is "InputMethodSettingsFieldPinyinFuzzyConfig.an_ang"
//
// Optional
//
// NOTE: FFI_USE_AnAng MUST be set to true to make this field effective.
AnAng bool
// CCh is "InputMethodSettingsFieldPinyinFuzzyConfig.c_ch"
//
// Optional
//
// NOTE: FFI_USE_CCh MUST be set to true to make this field effective.
CCh bool
// EnEng is "InputMethodSettingsFieldPinyinFuzzyConfig.en_eng"
//
// Optional
//
// NOTE: FFI_USE_EnEng MUST be set to true to make this field effective.
EnEng bool
// FH is "InputMethodSettingsFieldPinyinFuzzyConfig.f_h"
//
// Optional
//
// NOTE: FFI_USE_FH MUST be set to true to make this field effective.
FH bool
// IanIang is "InputMethodSettingsFieldPinyinFuzzyConfig.ian_iang"
//
// Optional
//
// NOTE: FFI_USE_IanIang MUST be set to true to make this field effective.
IanIang bool
// InIng is "InputMethodSettingsFieldPinyinFuzzyConfig.in_ing"
//
// Optional
//
// NOTE: FFI_USE_InIng MUST be set to true to make this field effective.
InIng bool
// KG is "InputMethodSettingsFieldPinyinFuzzyConfig.k_g"
//
// Optional
//
// NOTE: FFI_USE_KG MUST be set to true to make this field effective.
KG bool
// LN is "InputMethodSettingsFieldPinyinFuzzyConfig.l_n"
//
// Optional
//
// NOTE: FFI_USE_LN MUST be set to true to make this field effective.
LN bool
// RL is "InputMethodSettingsFieldPinyinFuzzyConfig.r_l"
//
// Optional
//
// NOTE: FFI_USE_RL MUST be set to true to make this field effective.
RL bool
// SSh is "InputMethodSettingsFieldPinyinFuzzyConfig.s_sh"
//
// Optional
//
// NOTE: FFI_USE_SSh MUST be set to true to make this field effective.
SSh bool
// UanUang is "InputMethodSettingsFieldPinyinFuzzyConfig.uan_uang"
//
// Optional
//
// NOTE: FFI_USE_UanUang MUST be set to true to make this field effective.
UanUang bool
// ZZh is "InputMethodSettingsFieldPinyinFuzzyConfig.z_zh"
//
// Optional
//
// NOTE: FFI_USE_ZZh MUST be set to true to make this field effective.
ZZh bool
FFI_USE_AnAng bool // for AnAng.
FFI_USE_CCh bool // for CCh.
FFI_USE_EnEng bool // for EnEng.
FFI_USE_FH bool // for FH.
FFI_USE_IanIang bool // for IanIang.
FFI_USE_InIng bool // for InIng.
FFI_USE_KG bool // for KG.
FFI_USE_LN bool // for LN.
FFI_USE_RL bool // for RL.
FFI_USE_SSh bool // for SSh.
FFI_USE_UanUang bool // for UanUang.
FFI_USE_ZZh bool // for ZZh.
FFI_USE bool
}
func (*InputMethodSettingsFieldPinyinFuzzyConfig) FreeMembers ¶
func (p *InputMethodSettingsFieldPinyinFuzzyConfig) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (InputMethodSettingsFieldPinyinFuzzyConfig) FromRef ¶
func (p InputMethodSettingsFieldPinyinFuzzyConfig) FromRef(ref js.Ref) InputMethodSettingsFieldPinyinFuzzyConfig
FromRef calls UpdateFrom and returns a InputMethodSettingsFieldPinyinFuzzyConfig with all fields set.
func (InputMethodSettingsFieldPinyinFuzzyConfig) New ¶
func (p InputMethodSettingsFieldPinyinFuzzyConfig) New() js.Ref
New creates a new InputMethodSettingsFieldPinyinFuzzyConfig in the application heap.
func (*InputMethodSettingsFieldPinyinFuzzyConfig) Update ¶
func (p *InputMethodSettingsFieldPinyinFuzzyConfig) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*InputMethodSettingsFieldPinyinFuzzyConfig) UpdateFrom ¶
func (p *InputMethodSettingsFieldPinyinFuzzyConfig) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type InputModeType ¶
type InputModeType uint32
const ( InputModeType_NO_KEYBOARD InputModeType InputModeType_TEXT InputModeType_TEL InputModeType_URL InputModeType_EMAIL InputModeType_NUMERIC InputModeType_DECIMAL InputModeType_SEARCH )
func (InputModeType) FromRef ¶
func (InputModeType) FromRef(str js.Ref) InputModeType
func (InputModeType) String ¶
func (x InputModeType) String() (string, bool)
type MenuItem ¶
type MenuItem struct {
// Checked is "MenuItem.checked"
//
// Optional
//
// NOTE: FFI_USE_Checked MUST be set to true to make this field effective.
Checked bool
// Enabled is "MenuItem.enabled"
//
// Optional
//
// NOTE: FFI_USE_Enabled MUST be set to true to make this field effective.
Enabled bool
// Id is "MenuItem.id"
//
// Required
Id js.String
// Label is "MenuItem.label"
//
// Optional
Label js.String
// Style is "MenuItem.style"
//
// Optional
Style MenuItemStyle
// Visible is "MenuItem.visible"
//
// Optional
//
// NOTE: FFI_USE_Visible MUST be set to true to make this field effective.
Visible bool
FFI_USE_Checked bool // for Checked.
FFI_USE_Enabled bool // for Enabled.
FFI_USE_Visible bool // for Visible.
FFI_USE bool
}
func (*MenuItem) FreeMembers ¶
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (*MenuItem) UpdateFrom ¶
UpdateFrom copies value of all fields of the heap object to p.
type MenuItemStyle ¶
type MenuItemStyle uint32
const ( MenuItemStyle_CHECK MenuItemStyle MenuItemStyle_RADIO MenuItemStyle_SEPARATOR )
func (MenuItemStyle) FromRef ¶
func (MenuItemStyle) FromRef(str js.Ref) MenuItemStyle
func (MenuItemStyle) String ¶
func (x MenuItemStyle) String() (string, bool)
type OnAutocorrectArgParameters ¶
type OnAutocorrectArgParameters struct {
// ContextID is "OnAutocorrectArgParameters.contextID"
//
// Required
ContextID int64
// CorrectedWord is "OnAutocorrectArgParameters.correctedWord"
//
// Required
CorrectedWord js.String
// StartIndex is "OnAutocorrectArgParameters.startIndex"
//
// Required
StartIndex int64
// TypedWord is "OnAutocorrectArgParameters.typedWord"
//
// Required
TypedWord js.String
FFI_USE bool
}
func (*OnAutocorrectArgParameters) FreeMembers ¶
func (p *OnAutocorrectArgParameters) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (OnAutocorrectArgParameters) FromRef ¶
func (p OnAutocorrectArgParameters) FromRef(ref js.Ref) OnAutocorrectArgParameters
FromRef calls UpdateFrom and returns a OnAutocorrectArgParameters with all fields set.
func (OnAutocorrectArgParameters) New ¶
func (p OnAutocorrectArgParameters) New() js.Ref
New creates a new OnAutocorrectArgParameters in the application heap.
func (*OnAutocorrectArgParameters) Update ¶
func (p *OnAutocorrectArgParameters) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*OnAutocorrectArgParameters) UpdateFrom ¶
func (p *OnAutocorrectArgParameters) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type OnCaretBoundsChangedArgCaretBounds ¶
type OnCaretBoundsChangedArgCaretBounds struct {
// H is "OnCaretBoundsChangedArgCaretBounds.h"
//
// Required
H int64
// W is "OnCaretBoundsChangedArgCaretBounds.w"
//
// Required
W int64
// X is "OnCaretBoundsChangedArgCaretBounds.x"
//
// Required
X int64
// Y is "OnCaretBoundsChangedArgCaretBounds.y"
//
// Required
Y int64
FFI_USE bool
}
func (*OnCaretBoundsChangedArgCaretBounds) FreeMembers ¶
func (p *OnCaretBoundsChangedArgCaretBounds) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (OnCaretBoundsChangedArgCaretBounds) FromRef ¶
func (p OnCaretBoundsChangedArgCaretBounds) FromRef(ref js.Ref) OnCaretBoundsChangedArgCaretBounds
FromRef calls UpdateFrom and returns a OnCaretBoundsChangedArgCaretBounds with all fields set.
func (OnCaretBoundsChangedArgCaretBounds) New ¶
func (p OnCaretBoundsChangedArgCaretBounds) New() js.Ref
New creates a new OnCaretBoundsChangedArgCaretBounds in the application heap.
func (*OnCaretBoundsChangedArgCaretBounds) Update ¶
func (p *OnCaretBoundsChangedArgCaretBounds) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*OnCaretBoundsChangedArgCaretBounds) UpdateFrom ¶
func (p *OnCaretBoundsChangedArgCaretBounds) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type OnCaretBoundsChangedEventCallback ¶
type OnCaretBoundsChangedEventCallback[T any] struct { Fn func(arg T, this js.Ref, caretBounds *OnCaretBoundsChangedArgCaretBounds) js.Ref Arg T }
func (*OnCaretBoundsChangedEventCallback[T]) DispatchCallback ¶
func (cb *OnCaretBoundsChangedEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (*OnCaretBoundsChangedEventCallback[T]) Register ¶
func (cb *OnCaretBoundsChangedEventCallback[T]) Register() js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]
type OnCaretBoundsChangedEventCallbackFunc ¶
type OnCaretBoundsChangedEventCallbackFunc func(this js.Ref, caretBounds *OnCaretBoundsChangedArgCaretBounds) js.Ref
func (OnCaretBoundsChangedEventCallbackFunc) DispatchCallback ¶
func (fn OnCaretBoundsChangedEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (OnCaretBoundsChangedEventCallbackFunc) Register ¶
func (fn OnCaretBoundsChangedEventCallbackFunc) Register() js.Func[func(caretBounds *OnCaretBoundsChangedArgCaretBounds)]
type OnChangedEventCallback ¶
type OnChangedEventCallback[T any] struct { Fn func(arg T, this js.Ref, newInputMethodId js.String) js.Ref Arg T }
func (*OnChangedEventCallback[T]) DispatchCallback ¶
func (cb *OnChangedEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnChangedEventCallbackFunc ¶
func (OnChangedEventCallbackFunc) DispatchCallback ¶
func (fn OnChangedEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnDictionaryChangedEventCallback ¶
type OnDictionaryChangedEventCallback[T any] struct { Fn func(arg T, this js.Ref, added js.Array[js.String], removed js.Array[js.String]) js.Ref Arg T }
func (*OnDictionaryChangedEventCallback[T]) DispatchCallback ¶
func (cb *OnDictionaryChangedEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnDictionaryChangedEventCallbackFunc ¶
type OnDictionaryChangedEventCallbackFunc func(this js.Ref, added js.Array[js.String], removed js.Array[js.String]) js.Ref
func (OnDictionaryChangedEventCallbackFunc) DispatchCallback ¶
func (fn OnDictionaryChangedEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnDictionaryLoadedEventCallback ¶
func (*OnDictionaryLoadedEventCallback[T]) DispatchCallback ¶
func (cb *OnDictionaryLoadedEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (*OnDictionaryLoadedEventCallback[T]) Register ¶
func (cb *OnDictionaryLoadedEventCallback[T]) Register() js.Func[func()]
type OnDictionaryLoadedEventCallbackFunc ¶
func (OnDictionaryLoadedEventCallbackFunc) DispatchCallback ¶
func (fn OnDictionaryLoadedEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (OnDictionaryLoadedEventCallbackFunc) Register ¶
func (fn OnDictionaryLoadedEventCallbackFunc) Register() js.Func[func()]
type OnFocusEventCallback ¶
type OnFocusEventCallback[T any] struct { Fn func(arg T, this js.Ref, context *InputContext) js.Ref Arg T }
func (*OnFocusEventCallback[T]) DispatchCallback ¶
func (cb *OnFocusEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (*OnFocusEventCallback[T]) Register ¶
func (cb *OnFocusEventCallback[T]) Register() js.Func[func(context *InputContext)]
type OnFocusEventCallbackFunc ¶
type OnFocusEventCallbackFunc func(this js.Ref, context *InputContext) js.Ref
func (OnFocusEventCallbackFunc) DispatchCallback ¶
func (fn OnFocusEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (OnFocusEventCallbackFunc) Register ¶
func (fn OnFocusEventCallbackFunc) Register() js.Func[func(context *InputContext)]
type OnImeMenuActivationChangedEventCallback ¶
type OnImeMenuActivationChangedEventCallback[T any] struct { Fn func(arg T, this js.Ref, activation bool) js.Ref Arg T }
func (*OnImeMenuActivationChangedEventCallback[T]) DispatchCallback ¶
func (cb *OnImeMenuActivationChangedEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnImeMenuActivationChangedEventCallbackFunc ¶
func (OnImeMenuActivationChangedEventCallbackFunc) DispatchCallback ¶
func (fn OnImeMenuActivationChangedEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnImeMenuItemsChangedEventCallback ¶
type OnImeMenuItemsChangedEventCallback[T any] struct { Fn func(arg T, this js.Ref, engineID js.String, items js.Array[MenuItem]) js.Ref Arg T }
func (*OnImeMenuItemsChangedEventCallback[T]) DispatchCallback ¶
func (cb *OnImeMenuItemsChangedEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnImeMenuItemsChangedEventCallbackFunc ¶
type OnImeMenuItemsChangedEventCallbackFunc func(this js.Ref, engineID js.String, items js.Array[MenuItem]) js.Ref
func (OnImeMenuItemsChangedEventCallbackFunc) DispatchCallback ¶
func (fn OnImeMenuItemsChangedEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnImeMenuListChangedEventCallback ¶
func (*OnImeMenuListChangedEventCallback[T]) DispatchCallback ¶
func (cb *OnImeMenuListChangedEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (*OnImeMenuListChangedEventCallback[T]) Register ¶
func (cb *OnImeMenuListChangedEventCallback[T]) Register() js.Func[func()]
type OnImeMenuListChangedEventCallbackFunc ¶
func (OnImeMenuListChangedEventCallbackFunc) DispatchCallback ¶
func (fn OnImeMenuListChangedEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (OnImeMenuListChangedEventCallbackFunc) Register ¶
func (fn OnImeMenuListChangedEventCallbackFunc) Register() js.Func[func()]
type OnInputMethodOptionsChangedEventCallback ¶
type OnInputMethodOptionsChangedEventCallback[T any] struct { Fn func(arg T, this js.Ref, engineID js.String) js.Ref Arg T }
func (*OnInputMethodOptionsChangedEventCallback[T]) DispatchCallback ¶
func (cb *OnInputMethodOptionsChangedEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnInputMethodOptionsChangedEventCallbackFunc ¶
func (OnInputMethodOptionsChangedEventCallbackFunc) DispatchCallback ¶
func (fn OnInputMethodOptionsChangedEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnScreenProjectionChangedEventCallback ¶
type OnScreenProjectionChangedEventCallback[T any] struct { Fn func(arg T, this js.Ref, isProjected bool) js.Ref Arg T }
func (*OnScreenProjectionChangedEventCallback[T]) DispatchCallback ¶
func (cb *OnScreenProjectionChangedEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnScreenProjectionChangedEventCallbackFunc ¶
func (OnScreenProjectionChangedEventCallbackFunc) DispatchCallback ¶
func (fn OnScreenProjectionChangedEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnSettingsChangedEventCallback ¶
type OnSettingsChangedEventCallback[T any] struct { Fn func(arg T, this js.Ref, engineID js.String, settings *InputMethodSettings) js.Ref Arg T }
func (*OnSettingsChangedEventCallback[T]) DispatchCallback ¶
func (cb *OnSettingsChangedEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (*OnSettingsChangedEventCallback[T]) Register ¶
func (cb *OnSettingsChangedEventCallback[T]) Register() js.Func[func(engineID js.String, settings *InputMethodSettings)]
type OnSettingsChangedEventCallbackFunc ¶
type OnSettingsChangedEventCallbackFunc func(this js.Ref, engineID js.String, settings *InputMethodSettings) js.Ref
func (OnSettingsChangedEventCallbackFunc) DispatchCallback ¶
func (fn OnSettingsChangedEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (OnSettingsChangedEventCallbackFunc) Register ¶
func (fn OnSettingsChangedEventCallbackFunc) Register() js.Func[func(engineID js.String, settings *InputMethodSettings)]
type OnSuggestionsChangedEventCallback ¶
type OnSuggestionsChangedEventCallback[T any] struct { Fn func(arg T, this js.Ref, suggestions js.Array[js.String]) js.Ref Arg T }
func (*OnSuggestionsChangedEventCallback[T]) DispatchCallback ¶
func (cb *OnSuggestionsChangedEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnSuggestionsChangedEventCallbackFunc ¶
type OnSuggestionsChangedEventCallbackFunc func(this js.Ref, suggestions js.Array[js.String]) js.Ref
func (OnSuggestionsChangedEventCallbackFunc) DispatchCallback ¶
func (fn OnSuggestionsChangedEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
type OnTouchEventCallback ¶
type OnTouchEventCallback[T any] struct { Fn func(arg T, this js.Ref, pointerType FocusReason) js.Ref Arg T }
func (*OnTouchEventCallback[T]) DispatchCallback ¶
func (cb *OnTouchEventCallback[T]) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (*OnTouchEventCallback[T]) Register ¶
func (cb *OnTouchEventCallback[T]) Register() js.Func[func(pointerType FocusReason)]
type OnTouchEventCallbackFunc ¶
type OnTouchEventCallbackFunc func(this js.Ref, pointerType FocusReason) js.Ref
func (OnTouchEventCallbackFunc) DispatchCallback ¶
func (fn OnTouchEventCallbackFunc) DispatchCallback( targetPC uintptr, ctx *js.CallbackContext, )
func (OnTouchEventCallbackFunc) Register ¶
func (fn OnTouchEventCallbackFunc) Register() js.Func[func(pointerType FocusReason)]
type SetCompositionRangeArgParameters ¶
type SetCompositionRangeArgParameters struct {
// ContextID is "SetCompositionRangeArgParameters.contextID"
//
// Required
ContextID int64
// Segments is "SetCompositionRangeArgParameters.segments"
//
// Optional
Segments js.Array[SetCompositionRangeArgParametersFieldSegmentsElem]
// SelectionAfter is "SetCompositionRangeArgParameters.selectionAfter"
//
// Required
SelectionAfter int64
// SelectionBefore is "SetCompositionRangeArgParameters.selectionBefore"
//
// Required
SelectionBefore int64
FFI_USE bool
}
func (*SetCompositionRangeArgParameters) FreeMembers ¶
func (p *SetCompositionRangeArgParameters) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (SetCompositionRangeArgParameters) FromRef ¶
func (p SetCompositionRangeArgParameters) FromRef(ref js.Ref) SetCompositionRangeArgParameters
FromRef calls UpdateFrom and returns a SetCompositionRangeArgParameters with all fields set.
func (SetCompositionRangeArgParameters) New ¶
func (p SetCompositionRangeArgParameters) New() js.Ref
New creates a new SetCompositionRangeArgParameters in the application heap.
func (*SetCompositionRangeArgParameters) Update ¶
func (p *SetCompositionRangeArgParameters) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*SetCompositionRangeArgParameters) UpdateFrom ¶
func (p *SetCompositionRangeArgParameters) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type SetCompositionRangeArgParametersFieldSegmentsElem ¶
type SetCompositionRangeArgParametersFieldSegmentsElem struct {
// End is "SetCompositionRangeArgParametersFieldSegmentsElem.end"
//
// Required
End int64
// Start is "SetCompositionRangeArgParametersFieldSegmentsElem.start"
//
// Required
Start int64
// Style is "SetCompositionRangeArgParametersFieldSegmentsElem.style"
//
// Required
Style UnderlineStyle
FFI_USE bool
}
func (*SetCompositionRangeArgParametersFieldSegmentsElem) FreeMembers ¶
func (p *SetCompositionRangeArgParametersFieldSegmentsElem) FreeMembers(recursive bool)
FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.
func (SetCompositionRangeArgParametersFieldSegmentsElem) FromRef ¶
func (p SetCompositionRangeArgParametersFieldSegmentsElem) FromRef(ref js.Ref) SetCompositionRangeArgParametersFieldSegmentsElem
FromRef calls UpdateFrom and returns a SetCompositionRangeArgParametersFieldSegmentsElem with all fields set.
func (SetCompositionRangeArgParametersFieldSegmentsElem) New ¶
func (p SetCompositionRangeArgParametersFieldSegmentsElem) New() js.Ref
New creates a new SetCompositionRangeArgParametersFieldSegmentsElem in the application heap.
func (*SetCompositionRangeArgParametersFieldSegmentsElem) Update ¶
func (p *SetCompositionRangeArgParametersFieldSegmentsElem) Update(ref js.Ref)
Update writes all fields of the p to the heap object referenced by ref.
func (*SetCompositionRangeArgParametersFieldSegmentsElem) UpdateFrom ¶
func (p *SetCompositionRangeArgParametersFieldSegmentsElem) UpdateFrom(ref js.Ref)
UpdateFrom copies value of all fields of the heap object to p.
type UnderlineStyle ¶
type UnderlineStyle uint32
const ( UnderlineStyle_UNDERLINE UnderlineStyle UnderlineStyle_DOUBLE_UNDERLINE UnderlineStyle_NO_UNDERLINE )
func (UnderlineStyle) FromRef ¶
func (UnderlineStyle) FromRef(str js.Ref) UnderlineStyle
func (UnderlineStyle) String ¶
func (x UnderlineStyle) String() (string, bool)