Enumeration

WebKitInputEnterKeyHint

unstable since: 2.56

Declaration

enum WebKit.InputEnterKeyHint

Description [src]

Enum values used to describe the action of the “Enter” key of the active editable element, as requested by its enterkeyhint HTML attribute. Input methods can use it to choose the label of the “Enter” key of an on-screen keyboard.

Unlike WebKitInputPurpose, this does not indicate which characters the element expects. When the value is different from WEBKIT_INPUT_ENTER_KEY_HINT_UNSPECIFIED, input methods should prefer it to any “Enter” key action they derive from the purpose, like the one of WEBKIT_INPUT_PURPOSE_SEARCH.

Available since: 2.56

Members

WEBKIT_INPUT_ENTER_KEY_HINT_UNSPECIFIED

No enter key action was requested.

  • Value: 0
  • Nickname: unspecified
  • Available since: 2.56
WEBKIT_INPUT_ENTER_KEY_HINT_ENTER

Insert a new line.

  • Value: 1
  • Nickname: enter
  • Available since: 2.56
WEBKIT_INPUT_ENTER_KEY_HINT_DONE

Nothing more to input, close the input method.

  • Value: 2
  • Nickname: done
  • Available since: 2.56
WEBKIT_INPUT_ENTER_KEY_HINT_GO

Take the user to the target of the typed text.

  • Value: 3
  • Nickname: go
  • Available since: 2.56

Take the user to the next field accepting text.

  • Value: 4
  • Nickname: next
  • Available since: 2.56

Take the user to the previous field accepting text.

  • Value: 5
  • Nickname: previous
  • Available since: 2.56
WEBKIT_INPUT_ENTER_KEY_HINT_SEARCH

Take the user to the results of the typed search terms.

  • Value: 6
  • Nickname: search
  • Available since: 2.56
WEBKIT_INPUT_ENTER_KEY_HINT_SEND

Deliver the typed text to its target.

  • Value: 7
  • Nickname: send
  • Available since: 2.56