KeyboardType¶
- class pyto_ui.KeyboardType(*values)¶
Keyboard layouts.
- ASCII_CAPABLE = 1¶
Specifies a keyboard that displays standard ASCII characters.
- ASCII_CAPABLE_NUMBER_PAD = 11¶
Specifies a number pad that outputs only ASCII digits.
- DECIMAL_PAD = 8¶
Specifies a keyboard with numbers and a decimal point.
- DEFAULT = 0¶
Specifies the default keyboard for the current input method.
- EMAIL_ADDRESS = 7¶
Specifies a keyboard optimized for entering email addresses. This keyboard type prominently features the at (“@”), period (“.”) and space characters.
- NAME_PHONE_PAD = 6¶
Specifies a keypad designed for entering a person’s name or phone number. This keyboard type does not support auto-capitalization.
- NUMBERS_AND_PUNCTUATION = 2¶
Specifies the numbers and punctuation keyboard.
- NUMBER_PAD = 4¶
Specifies a numeric keypad designed for PIN entry. This keyboard type prominently features the numbers 0 through 9. This keyboard type does not support auto-capitalization.
- PHONE_PAD = 5¶
Specifies a keypad designed for entering telephone numbers. This keyboard type prominently features the numbers 0 through 9 and the “*” and “#” characters. This keyboard type does not support auto-capitalization.
- TWITTER = 9¶
Specifies a keyboard optimized for Twitter text entry, with easy access to the at (“@”) and hash (“#”) characters.
- URL = 3¶
Specifies a keyboard optimized for URL entry. This keyboard type prominently features the period (“.”) and slash (“/”) characters and the “.com” string.
- WEB_SEARCH = 10¶
Specifies a keyboard optimized for web search terms and URL entry. This keyboard type prominently features the space and period (“.”) characters.