logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_TextInputType - Text input type.

Availability

       This enum is available since SDL 3.2.0.

Description

       These are the valid values for

       SDL_PROP_TEXTINPUT_TYPE_NUMBER  .  Not  every  value  is valid on every platform, but where a value isn't
       supported, a reasonable fallback will be used.

Header File

       Defined in SDL3/SDL_keyboard.h

Name

       SDL_TextInputType - Text input type.

See Also

(3), SDL_StartTextInputWithProperties(3)

Simple Directmedia Layer                           SDL 3.2.10                           SDL_TextInputType(3type)

Synopsis

#include"SDL3/SDL.h"typedefenumSDL_TextInputType{SDL_TEXTINPUT_TYPE_TEXT,/**<Theinputistext*/SDL_TEXTINPUT_TYPE_TEXT_NAME,/**<Theinputisaperson'sname*/SDL_TEXTINPUT_TYPE_TEXT_EMAIL,/**<Theinputisane-mailaddress*/SDL_TEXTINPUT_TYPE_TEXT_USERNAME,/**<Theinputisausername*/SDL_TEXTINPUT_TYPE_TEXT_PASSWORD_HIDDEN,/**<Theinputisasecurepasswordthatishidden*/SDL_TEXTINPUT_TYPE_TEXT_PASSWORD_VISIBLE,/**<Theinputisasecurepasswordthatisvisible*/SDL_TEXTINPUT_TYPE_NUMBER,/**<Theinputisanumber*/SDL_TEXTINPUT_TYPE_NUMBER_PASSWORD_HIDDEN,/**<TheinputisasecurePINthatishidden*/SDL_TEXTINPUT_TYPE_NUMBER_PASSWORD_VISIBLE/**<TheinputisasecurePINthatisvisible*/}SDL_TextInputType;

See Also