Skip to content

TSdlTextInputType

Text input type.

These are the valid values for TSdlProperty.TextInputType. Not every value is valid on every platform, but where a value isn't supported, a reasonable fallback will be used.

Definition

Unit: Neslib.Sdl3.Video

type TSdlTextInputType = (Text, TextName, TextEmail, TextUsername, TextPasswordHidden, TextPasswordVisible, Number, NumberPasswordHidden, NumberPasswordVisible)

See Also

Enumeration Values

Text = SDL_TEXTINPUT_TYPE_TEXT

The input is text


TextName = SDL_TEXTINPUT_TYPE_TEXT_NAME

The input is a person's name


TextEmail = SDL_TEXTINPUT_TYPE_TEXT_EMAIL

The input is an e-mail address


TextUsername = SDL_TEXTINPUT_TYPE_TEXT_USERNAME

The input is a username


TextPasswordHidden = SDL_TEXTINPUT_TYPE_TEXT_PASSWORD_HIDDEN

The input is a secure password that is hidden


TextPasswordVisible = SDL_TEXTINPUT_TYPE_TEXT_PASSWORD_VISIBLE

The input is a secure password that is visible


Number = SDL_TEXTINPUT_TYPE_NUMBER

The input is a number


NumberPasswordHidden = SDL_TEXTINPUT_TYPE_NUMBER_PASSWORD_HIDDEN

The input is a secure PIN that is hidden


NumberPasswordVisible = SDL_TEXTINPUT_TYPE_NUMBER_PASSWORD_VISIBLE

The input is a secure PIN that is visible