public final class ImGuiInputTextFlags
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
AllowTabInput
Pressing TAB input a ' ' character into the text field
|
static int |
AlwaysInsertMode
[renamed in 1.82] name was not matching behavior
|
static int |
AlwaysOverwrite
Overwrite mode
|
static int |
AutoSelectAll
Select entire text when first taking mouse focus
|
static int |
CallbackAlways
Callback on each iteration.
|
static int |
CallbackCharFilter
Callback on character inputs to replace or discard them.
|
static int |
CallbackCompletion
Callback on pressing TAB (for completion handling)
|
static int |
CallbackEdit
Callback on any edit (note that InputText() already returns true on edit, the callback is useful mainly to manipulate the underlying buffer while focus is active)
|
static int |
CallbackHistory
Callback on pressing Up/Down arrows (for history handling)
|
static int |
CallbackResize
Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow.
|
static int |
CharsDecimal
Allow 0123456789.+-* /
|
static int |
CharsHexadecimal
Allow 0123456789ABCDEFabcdef
|
static int |
CharsNoBlank
Filter out spaces, tabs
|
static int |
CharsScientific
Allow 0123456789.+-* /eE (Scientific notation input)
|
static int |
CharsUppercase
Turn a..z into A..Z
|
static int |
CtrlEnterForNewLine
In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter).
|
static int |
EnterReturnsTrue
Return 'true' when Enter is pressed (as opposed to every time the value was modified).
|
static int |
NoHorizontalScroll
Disable following the cursor horizontally
|
static int |
None
Definition:
0 |
static int |
NoUndoRedo
Disable undo/redo.
|
static int |
Password
Password mode, display all characters as '*'
|
static int |
ReadOnly
Read-only mode
|
public static final int None
0
public static final int CharsDecimal
Definition: 1 << 0
public static final int CharsHexadecimal
Definition: 1 << 1
public static final int CharsUppercase
Definition: 1 << 2
public static final int CharsNoBlank
Definition: 1 << 3
public static final int AutoSelectAll
Definition: 1 << 4
public static final int EnterReturnsTrue
Definition: 1 << 5
public static final int CallbackCompletion
Definition: 1 << 6
public static final int CallbackHistory
Definition: 1 << 7
public static final int CallbackAlways
Definition: 1 << 8
public static final int CallbackCharFilter
Definition: 1 << 9
public static final int AllowTabInput
Definition: 1 << 10
public static final int CtrlEnterForNewLine
Definition: 1 << 11
public static final int NoHorizontalScroll
Definition: 1 << 12
public static final int AlwaysOverwrite
Definition: 1 << 13
public static final int ReadOnly
Definition: 1 << 14
public static final int Password
Definition: 1 << 15
public static final int NoUndoRedo
Definition: 1 << 16
public static final int CharsScientific
Definition: 1 << 17
public static final int CallbackResize
Definition: 1 << 18
public static final int CallbackEdit
Definition: 1 << 19
public static final int AlwaysInsertMode
Definition: ImGuiInputTextFlags_AlwaysOverwrite