InputPurpose
Description:
[ CCode ( cprefix = "IBUS_INPUT_PURPOSE_" , type_id = "ibus_input_purpose_get_type ()" ) ]
public enum InputPurpose
Describes primary purpose of the input context.
This information is particularly useful to implement intelligent behavior in engines, such as automatic input-mode switch and text
prediction.
This enumeration may be extended in the future; engines should interpret unknown values as 'free form'.
Content:
Enum values:
- ALPHA - Allow only alphabetic characters
- DIGITS - Allow only digits
- EMAIL - Edited field expects email address
- FREE_FORM - Allow any character
- NAME - Edited field expects the name of a
person
- NUMBER - Edited field expects numbers
- PASSWORD - Like
IBUS_INPUT_PURPOSE_FREE_FORM
, but characters are hidden
- PHONE - Edited field expects phone number
- PIN - Like
IBUS_INPUT_PURPOSE_DIGITS
, but characters are hidden
- URL - Edited field expects URL