inputmethodprivate

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddWordToDictionary

func AddWordToDictionary(word js.String) (ret js.Promise[js.Void])

AddWordToDictionary calls the function "WEBEXT.inputMethodPrivate.addWordToDictionary" directly.

func FetchAllDictionaryWords

func FetchAllDictionaryWords() (ret js.Promise[js.Array[js.String]])

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

func FuncAddWordToDictionary() (fn js.Func[func(word js.String) js.Promise[js.Void]])

FuncAddWordToDictionary returns the function "WEBEXT.inputMethodPrivate.addWordToDictionary".

func FuncFetchAllDictionaryWords

func FuncFetchAllDictionaryWords() (fn js.Func[func() js.Promise[js.Array[js.String]]])

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

func FuncGetCurrentInputMethod() (fn js.Func[func() js.Promise[js.String]])

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

func FuncGetInputMethods() (fn js.Func[func() js.Promise[js.Array[GetInputMethodsReturnTypeElem]]])

FuncGetInputMethods returns the function "WEBEXT.inputMethodPrivate.getInputMethods".

func FuncGetSettings

func FuncGetSettings() (fn js.Func[func(engineID js.String) js.Promise[InputMethodSettings]])

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

func FuncHasOnChanged() (fn js.Func[func(callback js.Func[func(newInputMethodId js.String)]) bool])

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

func FuncHasOnDictionaryLoaded() (fn js.Func[func(callback js.Func[func()]) bool])

FuncHasOnDictionaryLoaded returns the function "WEBEXT.inputMethodPrivate.onDictionaryLoaded.hasListener".

func FuncHasOnFocus

func FuncHasOnFocus() (fn js.Func[func(callback js.Func[func(context *InputContext)]) bool])

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

func FuncHasOnImeMenuListChanged() (fn js.Func[func(callback js.Func[func()]) bool])

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

func FuncHasOnTouch() (fn js.Func[func(callback js.Func[func(pointerType FocusReason)]) bool])

FuncHasOnTouch returns the function "WEBEXT.inputMethodPrivate.onTouch.hasListener".

func FuncHideInputView

func FuncHideInputView() (fn js.Func[func() js.Promise[js.Void]])

FuncHideInputView returns the function "WEBEXT.inputMethodPrivate.hideInputView".

func FuncNotifyInputMethodReadyForTesting

func FuncNotifyInputMethodReadyForTesting() (fn js.Func[func()])

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

func FuncOffChanged() (fn js.Func[func(callback js.Func[func(newInputMethodId js.String)])])

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

func FuncOffDictionaryLoaded() (fn js.Func[func(callback js.Func[func()])])

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

func FuncOffImeMenuActivationChanged() (fn js.Func[func(callback js.Func[func(activation bool)])])

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

func FuncOffImeMenuListChanged() (fn js.Func[func(callback js.Func[func()])])

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

func FuncOffScreenProjectionChanged() (fn js.Func[func(callback js.Func[func(isProjected bool)])])

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

func FuncOnChanged() (fn js.Func[func(callback js.Func[func(newInputMethodId js.String)])])

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

func FuncOnDictionaryLoaded() (fn js.Func[func(callback js.Func[func()])])

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

func FuncOnImeMenuActivationChanged() (fn js.Func[func(callback js.Func[func(activation bool)])])

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

func FuncOnImeMenuListChanged() (fn js.Func[func(callback js.Func[func()])])

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

func FuncOnScreenProjectionChanged() (fn js.Func[func(callback js.Func[func(isProjected bool)])])

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

func FuncOpenOptionsPage() (fn js.Func[func(inputMethodId js.String)])

FuncOpenOptionsPage returns the function "WEBEXT.inputMethodPrivate.openOptionsPage".

func FuncReset

func FuncReset() (fn js.Func[func()])

FuncReset returns the function "WEBEXT.inputMethodPrivate.reset".

func FuncSetCompositionRange

func FuncSetCompositionRange() (fn js.Func[func(parameters SetCompositionRangeArgParameters) js.Promise[js.Boolean]])

FuncSetCompositionRange returns the function "WEBEXT.inputMethodPrivate.setCompositionRange".

func FuncSetCurrentInputMethod

func FuncSetCurrentInputMethod() (fn js.Func[func(inputMethodId js.String) js.Promise[js.Void]])

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

func FuncSetXkbLayout() (fn js.Func[func(xkb_name js.String) js.Promise[js.Void]])

FuncSetXkbLayout returns the function "WEBEXT.inputMethodPrivate.setXkbLayout".

func FuncShowInputView

func FuncShowInputView() (fn js.Func[func() js.Promise[js.Void]])

FuncShowInputView returns the function "WEBEXT.inputMethodPrivate.showInputView".

func FuncSwitchToLastUsedInputMethod

func FuncSwitchToLastUsedInputMethod() (fn js.Func[func() js.Promise[js.Void]])

FuncSwitchToLastUsedInputMethod returns the function "WEBEXT.inputMethodPrivate.switchToLastUsedInputMethod".

func GetCurrentInputMethod

func GetCurrentInputMethod() (ret js.Promise[js.String])

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

func HasOnChanged(callback js.Func[func(newInputMethodId js.String)]) (ret bool)

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

func HasOnDictionaryLoaded(callback js.Func[func()]) (ret bool)

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

func HasOnImeMenuActivationChanged(callback js.Func[func(activation bool)]) (ret bool)

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

func HasOnImeMenuListChanged(callback js.Func[func()]) (ret bool)

HasOnImeMenuListChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.hasListener" directly.

func HasOnInputMethodOptionsChanged

func HasOnInputMethodOptionsChanged(callback js.Func[func(engineID js.String)]) (ret bool)

HasOnInputMethodOptionsChanged calls the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.hasListener" directly.

func HasOnScreenProjectionChanged

func HasOnScreenProjectionChanged(callback js.Func[func(isProjected bool)]) (ret bool)

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

func HasOnSuggestionsChanged(callback js.Func[func(suggestions js.Array[js.String])]) (ret bool)

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

func HideInputView() (ret js.Promise[js.Void])

HideInputView calls the function "WEBEXT.inputMethodPrivate.hideInputView" directly.

func NotifyInputMethodReadyForTesting

func NotifyInputMethodReadyForTesting() (ret js.Void)

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

func OffChanged(callback js.Func[func(newInputMethodId js.String)]) (ret js.Void)

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

func OffDictionaryLoaded(callback js.Func[func()]) (ret js.Void)

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

func OffImeMenuActivationChanged(callback js.Func[func(activation bool)]) (ret js.Void)

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

func OffImeMenuListChanged(callback js.Func[func()]) (ret js.Void)

OffImeMenuListChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.removeListener" directly.

func OffInputMethodOptionsChanged

func OffInputMethodOptionsChanged(callback js.Func[func(engineID js.String)]) (ret js.Void)

OffInputMethodOptionsChanged calls the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.removeListener" directly.

func OffScreenProjectionChanged

func OffScreenProjectionChanged(callback js.Func[func(isProjected bool)]) (ret js.Void)

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

func OffSuggestionsChanged(callback js.Func[func(suggestions js.Array[js.String])]) (ret js.Void)

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

func OnChanged(callback js.Func[func(newInputMethodId js.String)]) (ret js.Void)

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

func OnDictionaryLoaded(callback js.Func[func()]) (ret js.Void)

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

func OnImeMenuActivationChanged(callback js.Func[func(activation bool)]) (ret js.Void)

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

func OnImeMenuListChanged(callback js.Func[func()]) (ret js.Void)

OnImeMenuListChanged calls the function "WEBEXT.inputMethodPrivate.onImeMenuListChanged.addListener" directly.

func OnInputMethodOptionsChanged

func OnInputMethodOptionsChanged(callback js.Func[func(engineID js.String)]) (ret js.Void)

OnInputMethodOptionsChanged calls the function "WEBEXT.inputMethodPrivate.onInputMethodOptionsChanged.addListener" directly.

func OnScreenProjectionChanged

func OnScreenProjectionChanged(callback js.Func[func(isProjected bool)]) (ret js.Void)

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

func OnSuggestionsChanged(callback js.Func[func(suggestions js.Array[js.String])]) (ret js.Void)

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

func OpenOptionsPage(inputMethodId js.String) (ret js.Void)

OpenOptionsPage calls the function "WEBEXT.inputMethodPrivate.openOptionsPage" directly.

func Reset

func Reset() (ret js.Void)

Reset calls the function "WEBEXT.inputMethodPrivate.reset" directly.

func SetCompositionRange

func SetCompositionRange(parameters SetCompositionRangeArgParameters) (ret js.Promise[js.Boolean])

SetCompositionRange calls the function "WEBEXT.inputMethodPrivate.setCompositionRange" directly.

func SetCurrentInputMethod

func SetCurrentInputMethod(inputMethodId js.String) (ret js.Promise[js.Void])

SetCurrentInputMethod calls the function "WEBEXT.inputMethodPrivate.setCurrentInputMethod" directly.

func SetSettings

func SetSettings(engineID js.String, settings InputMethodSettings) (ret js.Promise[js.Void])

SetSettings calls the function "WEBEXT.inputMethodPrivate.setSettings" directly.

func SetXkbLayout

func SetXkbLayout(xkb_name js.String) (ret js.Promise[js.Void])

SetXkbLayout calls the function "WEBEXT.inputMethodPrivate.setXkbLayout" directly.

func ShowInputView

func ShowInputView() (ret js.Promise[js.Void])

ShowInputView calls the function "WEBEXT.inputMethodPrivate.showInputView" directly.

func SwitchToLastUsedInputMethod

func SwitchToLastUsedInputMethod() (ret js.Promise[js.Void])

SwitchToLastUsedInputMethod calls the function "WEBEXT.inputMethodPrivate.switchToLastUsedInputMethod" directly.

func TryAddWordToDictionary

func TryAddWordToDictionary(word js.String) (ret js.Promise[js.Void], exception js.Any, ok bool)

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

func TryFetchAllDictionaryWords() (ret js.Promise[js.Array[js.String]], exception js.Any, ok bool)

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

func TryGetCurrentInputMethod() (ret js.Promise[js.String], exception js.Any, ok bool)

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

func TryHasOnDictionaryLoaded(callback js.Func[func()]) (ret bool, exception js.Any, ok bool)

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

func TryHasOnImeMenuListChanged(callback js.Func[func()]) (ret bool, exception js.Any, ok bool)

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

func TryHideInputView() (ret js.Promise[js.Void], exception js.Any, ok bool)

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

func TryNotifyInputMethodReadyForTesting() (ret js.Void, exception js.Any, ok bool)

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

func TryOffDictionaryLoaded(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)

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

func TryOffImeMenuListChanged(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)

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

func TryOnDictionaryLoaded(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)

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

func TryOnImeMenuListChanged(callback js.Func[func()]) (ret js.Void, exception js.Any, ok bool)

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

func TryOpenOptionsPage(inputMethodId js.String) (ret js.Void, exception js.Any, ok bool)

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

func TryReset() (ret js.Void, exception js.Any, ok bool)

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

func TrySetXkbLayout(xkb_name js.String) (ret js.Promise[js.Void], exception js.Any, ok bool)

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

func TryShowInputView() (ret js.Promise[js.Void], exception js.Any, ok bool)

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

func TrySwitchToLastUsedInputMethod() (ret js.Promise[js.Void], exception js.Any, ok bool)

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) 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

FromRef calls UpdateFrom and returns a FinishComposingTextArgParameters with all fields set.

func (FinishComposingTextArgParameters) New

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

FromRef calls UpdateFrom and returns a GetInputMethodConfigReturnType with all fields set.

func (GetInputMethodConfigReturnType) New

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

FromRef calls UpdateFrom and returns a GetInputMethodsReturnTypeElem with all fields set.

func (GetInputMethodsReturnTypeElem) New

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

FromRef calls UpdateFrom and returns a GetSurroundingTextReturnType with all fields set.

func (GetSurroundingTextReturnType) New

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

FromRef calls UpdateFrom and returns a GetTextFieldBoundsArgParameters with all fields set.

func (GetTextFieldBoundsArgParameters) New

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

FromRef calls UpdateFrom and returns a GetTextFieldBoundsReturnType with all fields set.

func (GetTextFieldBoundsReturnType) New

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

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

FromRef calls UpdateFrom and returns a InputMethodSettingsFieldPinyinFuzzyConfig with all fields set.

func (InputMethodSettingsFieldPinyinFuzzyConfig) New

New creates a new InputMethodSettingsFieldPinyinFuzzyConfig in the application heap.

func (*InputMethodSettingsFieldPinyinFuzzyConfig) Update

Update writes all fields of the p to the heap object referenced by ref.

func (*InputMethodSettingsFieldPinyinFuzzyConfig) UpdateFrom

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 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 (p *MenuItem) FreeMembers(recursive bool)

FreeMembers frees fields with heap reference, if recursive is true free all heap references reachable from p.

func (p MenuItem) FromRef(ref js.Ref) MenuItem

FromRef calls UpdateFrom and returns a MenuItem with all fields set.

func (p MenuItem) New() js.Ref

New creates a new MenuItem in the application heap.

func (p *MenuItem) Update(ref js.Ref)

Update writes all fields of the p to the heap object referenced by ref.

func (p *MenuItem) UpdateFrom(ref js.Ref)

UpdateFrom copies value of all fields of the heap object to p.

type MenuItemStyle uint32
const (
	MenuItemStyle_CHECK MenuItemStyle
	MenuItemStyle_RADIO
	MenuItemStyle_SEPARATOR
)
func (MenuItemStyle) FromRef(str js.Ref) MenuItemStyle
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

FromRef calls UpdateFrom and returns a OnAutocorrectArgParameters with all fields set.

func (OnAutocorrectArgParameters) New

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

FromRef calls UpdateFrom and returns a OnCaretBoundsChangedArgCaretBounds with all fields set.

func (OnCaretBoundsChangedArgCaretBounds) New

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

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,
)

func (*OnChangedEventCallback[T]) Register

func (cb *OnChangedEventCallback[T]) Register() js.Func[func(newInputMethodId js.String)]

type OnChangedEventCallbackFunc

type OnChangedEventCallbackFunc func(this js.Ref, newInputMethodId js.String) js.Ref

func (OnChangedEventCallbackFunc) DispatchCallback

func (fn OnChangedEventCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (OnChangedEventCallbackFunc) Register

func (fn OnChangedEventCallbackFunc) Register() js.Func[func(newInputMethodId js.String)]

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,
)

func (*OnDictionaryChangedEventCallback[T]) Register

func (cb *OnDictionaryChangedEventCallback[T]) Register() js.Func[func(added js.Array[js.String], removed js.Array[js.String])]

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,
)

func (OnDictionaryChangedEventCallbackFunc) Register

func (fn OnDictionaryChangedEventCallbackFunc) Register() js.Func[func(added js.Array[js.String], removed js.Array[js.String])]

type OnDictionaryLoadedEventCallback

type OnDictionaryLoadedEventCallback[T any] struct {
	Fn  func(arg T, this js.Ref) js.Ref
	Arg T
}

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

type OnDictionaryLoadedEventCallbackFunc func(this js.Ref) js.Ref

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,
)

func (*OnImeMenuActivationChangedEventCallback[T]) Register

func (cb *OnImeMenuActivationChangedEventCallback[T]) Register() js.Func[func(activation bool)]

type OnImeMenuActivationChangedEventCallbackFunc

type OnImeMenuActivationChangedEventCallbackFunc func(this js.Ref, activation bool) js.Ref

func (OnImeMenuActivationChangedEventCallbackFunc) DispatchCallback

func (fn OnImeMenuActivationChangedEventCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (OnImeMenuActivationChangedEventCallbackFunc) Register

func (fn OnImeMenuActivationChangedEventCallbackFunc) Register() js.Func[func(activation bool)]

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,
)

func (*OnImeMenuItemsChangedEventCallback[T]) Register

func (cb *OnImeMenuItemsChangedEventCallback[T]) Register() js.Func[func(engineID js.String, items js.Array[MenuItem])]

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,
)

func (OnImeMenuItemsChangedEventCallbackFunc) Register

func (fn OnImeMenuItemsChangedEventCallbackFunc) Register() js.Func[func(engineID js.String, items js.Array[MenuItem])]

type OnImeMenuListChangedEventCallback

type OnImeMenuListChangedEventCallback[T any] struct {
	Fn  func(arg T, this js.Ref) js.Ref
	Arg T
}

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

type OnImeMenuListChangedEventCallbackFunc func(this js.Ref) js.Ref

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,
)

func (*OnInputMethodOptionsChangedEventCallback[T]) Register

func (cb *OnInputMethodOptionsChangedEventCallback[T]) Register() js.Func[func(engineID js.String)]

type OnInputMethodOptionsChangedEventCallbackFunc

type OnInputMethodOptionsChangedEventCallbackFunc func(this js.Ref, engineID js.String) js.Ref

func (OnInputMethodOptionsChangedEventCallbackFunc) DispatchCallback

func (fn OnInputMethodOptionsChangedEventCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (OnInputMethodOptionsChangedEventCallbackFunc) Register

func (fn OnInputMethodOptionsChangedEventCallbackFunc) Register() js.Func[func(engineID js.String)]

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,
)

func (*OnScreenProjectionChangedEventCallback[T]) Register

func (cb *OnScreenProjectionChangedEventCallback[T]) Register() js.Func[func(isProjected bool)]

type OnScreenProjectionChangedEventCallbackFunc

type OnScreenProjectionChangedEventCallbackFunc func(this js.Ref, isProjected bool) js.Ref

func (OnScreenProjectionChangedEventCallbackFunc) DispatchCallback

func (fn OnScreenProjectionChangedEventCallbackFunc) DispatchCallback(
	targetPC uintptr, ctx *js.CallbackContext,
)

func (OnScreenProjectionChangedEventCallbackFunc) Register

func (fn OnScreenProjectionChangedEventCallbackFunc) Register() js.Func[func(isProjected bool)]

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,
)

func (*OnSuggestionsChangedEventCallback[T]) Register

func (cb *OnSuggestionsChangedEventCallback[T]) Register() js.Func[func(suggestions js.Array[js.String])]

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,
)

func (OnSuggestionsChangedEventCallbackFunc) Register

func (fn OnSuggestionsChangedEventCallbackFunc) Register() js.Func[func(suggestions js.Array[js.String])]

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

FromRef calls UpdateFrom and returns a SetCompositionRangeArgParameters with all fields set.

func (SetCompositionRangeArgParameters) New

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

FromRef calls UpdateFrom and returns a SetCompositionRangeArgParametersFieldSegmentsElem with all fields set.

func (SetCompositionRangeArgParametersFieldSegmentsElem) New

New creates a new SetCompositionRangeArgParametersFieldSegmentsElem in the application heap.

func (*SetCompositionRangeArgParametersFieldSegmentsElem) Update

Update writes all fields of the p to the heap object referenced by ref.

func (*SetCompositionRangeArgParametersFieldSegmentsElem) UpdateFrom

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL