Input

Input([value, [max_length, [disallowed_chars]]]) - Input widget

Creates an HTML like input field.

Arguments

value
The initial value of the input (defaults to "").
max_length
The maximum number of character that can be put into the Input.
disallowed_chars
A list of characters that are disallowed to enter.

Input.font

Input.font -> pygame.Font

The font that this input is using.