imgui package

imgui.ALWAYS = 1

Set the variable always

imgui.ONCE = 2

Only set the variable on the first call per runtime session

imgui.FIRST_USE_EVER = 4

Only set the variable if the window doesn’t exist in the .ini file

imgui.APPEARING = 8

Only set the variable if the window is appearing after being inactive (or the first time)

imgui.KEY_TAB = 0

for tabbing through fields

imgui.KEY_LEFT_ARROW = 1

for text edit

imgui.KEY_RIGHT_ARROW = 3

for text edit

imgui.KEY_UP_ARROW = 3

for text edit

imgui.KEY_DOWN_ARROW = 4

for text edit

imgui.KEY_HOME = 7

for text edit

imgui.KEY_END = 8

for text edit

imgui.KEY_DELETE = 9

for text edit

imgui.KEY_BACKSPACE = 10

for text edit

imgui.KEY_ENTER = 11

for text edit

imgui.KEY_ESCAPE = 12

for text edit

imgui.KEY_A = 13

for text edit CTRL+A – select all

imgui.KEY_C = 14

for text edit CTRL+C – copy

imgui.KEY_V = 15

for text edit CTRL+V – paste

imgui.KEY_X = 16

for text edit CTRL+X – cut

imgui.KEY_Y = 17

for text edit CTRL+Y – redo

imgui.KEY_Z = 18

for text edit CTRL+Z – undo

imgui.STYLE_ALPHA = 0

associated typefloat.

imgui.STYLE_WINDOW_PADDING = 1

associated typeVec2.

imgui.STYLE_WINDOW_ROUNDING = 2

associated typefloat.

imgui.STYLE_WINDOW_MIN_SIZE = 3

associated typeVec2.

imgui.STYLE_CHILD_WINDOW_ROUNDING = 4

associated typefloat.

imgui.STYLE_FRAME_PADDING = 5

associated typeVec2.

imgui.STYLE_FRAME_ROUNDING = 6

associated typefloat.

imgui.STYLE_ITEM_SPACING = 7

associated typeVec2.

imgui.STYLE_ITEM_INNER_SPACING = 8

associated typeVec2.

imgui.STYLE_INDENT_SPACING = 9

associated typefloat.

imgui.STYLE_GRAB_MIN_SIZE = 10

associated typefloat.

imgui.WINDOW_NO_TITLE_BAR = 1

Disable title-bar.

imgui.WINDOW_NO_RESIZE = 2

Disable user resizing with the lower-right grip.

imgui.WINDOW_NO_MOVE = 4

Disable user moving the window.

imgui.WINDOW_NO_SCROLLBAR = 8

Disable scrollbars (window can still scroll with mouse or programatically).

imgui.WINDOW_NO_SCROLL_WITH_MOUSE = 16

Disable user vertically scrolling with mouse wheel.

imgui.WINDOW_NO_COLLAPSE = 32

Disable user collapsing window by double-clicking on it.

imgui.WINDOW_ALWAYS_AUTO_RESIZE = 64

Resize every window to its content every frame.

imgui.WINDOW_SHOW_BORDERS = 128

Show borders around windows and items.

imgui.WINDOW_NO_SAVED_SETTINGS = 256

Never load/save settings in .ini file.

imgui.WINDOW_NO_INPUTS = 512

Disable catching mouse or keyboard inputs.

imgui.WINDOW_MENU_BAR = 1024

Has a menu-bar.

imgui.WINDOW_HORIZONTAL_SCROLLING_BAR = 2048

Allow horizontal scrollbar to appear (off by default).

imgui.WINDOW_NO_FOCUS_ON_APPEARING = 4096

Disable taking focus when transitioning from hidden to visible state.

imgui.WINDOW_NO_BRING_TO_FRONT_ON_FOCUS = 8192

Disable bringing window to front when taking focus (e.g. clicking on it or programatically giving it focus).

imgui.WINDOW_ALWAYS_VERTICAL_SCROLLBAR = 16384

Always show vertical scrollbar (even if ContentSize.y < Size.y).

imgui.WINDOW_ALWAYS_HORIZONTAL_SCROLLBAR = 32768

Always show horizontal scrollbar (even if ContentSize.x < Size.x).

imgui.WINDOW_ALWAYS_USE_WINDOW_PADDING = 65536

Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient).

imgui.TREE_NODE_SELECTED = 1

Draw as selected

imgui.TREE_NODE_FRAMED = 2

Full colored frame (e.g. for imgui.core.collapsing_header()).

imgui.TREE_NODE_ALLOW_OVERLAP_MODE = 4

Hit testing to allow subsequent widgets to overlap this one.

imgui.TREE_NODE_NO_TREE_PUSH_ON_OPEN = 8

Don’t do a TreePush() when open (e.g. for imgui.core.collapsing_header()). No extra indent nor pushing on ID stack.

imgui.TREE_NODE_NO_AUTO_OPEN_ON_LOG = 16

Don’t automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes).

imgui.TREE_NODE_DEFAULT_OPEN = 32

Default node to be open.

imgui.TREE_NODE_OPEN_ON_DOUBLE_CLICK = 64

Need double-click to open node.

imgui.TREE_NODE_OPEN_ON_ARROW = 128

Only open when clicking on the arrow part. If TREE_NODE_OPEN_ON_DOUBLE_CLICK is also set, single-click arrow or double-click all box to open.

imgui.TREE_NODE_LEAF = 256

No collapsing, no arrow (use as a convenience for leaf nodes).

imgui.TREE_NODE_BULLET = 512

Display a bullet instead of arrow.

imgui.TREE_NODE_COLLAPSING_HEADER = 18

Shortcutimgui.TREE_NODE_FRAMED | imgui.TREE_NODE_NO_AUTO_OPEN_ON_LOG.

imgui.SELECTABLE_DONT_CLOSE_POPUPS = 1

Clicking this don’t close parent popup window.

imgui.SELECTABLE_SPAN_ALL_COLUMNS = 2

Selectable frame can span all columns (text will still fit in current column).

imgui.SELECTABLE_ALLOW_DOUBLE_CLICK = 4

Generate press events on double clicks too.

imgui.MOUSE_CURSOR_TEXT_INPUT = 1

When hovering over InputText, etc.

imgui.MOUSE_CURSOR_MOVE = 2

Unused

imgui.MOUSE_CURSOR_RESIZE_NS = 3

Unused

imgui.MOUSE_CURSOR_RESIZE_EW = 4

When hovering over a column

imgui.MOUSE_CURSOR_RESIZE_NESW = 5

Unused

imgui.MOUSE_CURSOR_RESIZE_NWSE = 6

When hovering over the bottom-right corner of a window

imgui.INPUT_TEXT_CHARS_DECIMAL = 1

Allow 0123456789.+-*/

imgui.INPUT_TEXT_CHARS_HEXADECIMAL = 2

Allow 0123456789ABCDEFabcdef

imgui.INPUT_TEXT_CHARS_UPPERCASE = 4

Turn a..z into A..Z

imgui.INPUT_TEXT_CHARS_NO_BLANK = 8

Filter out spaces, tabs

imgui.INPUT_TEXT_AUTO_SELECT_ALL = 16

Select entire text when first taking mouse focus

imgui.INPUT_TEXT_ENTER_RETURNS_TRUE = 32

Return ‘true’ when Enter is pressed (as opposed to when the value was modified)

imgui.INPUT_TEXT_CALLBACK_COMPLETION = 64

Call user function on pressing TAB (for completion handling)

imgui.INPUT_TEXT_CALLBACK_HISTORY = 128

Call user function on pressing Up/Down arrows (for history handling)

imgui.INPUT_TEXT_CALLBACK_ALWAYS = 256

Call user function every time. User code may query cursor position, modify text buffer.

imgui.INPUT_TEXT_CALLBACK_CHAR_FILTER = 512

Call user function to filter character. Modify data->EventChar to replace/filter input, or return 1 to discard character.

imgui.INPUT_TEXT_ALLOW_TAB_INPUT = 1024

Pressing TAB input a ‘t’ character into the text field

imgui.INPUT_TEXT_CTRL_ENTER_FOR_NEW_LINE = 2048

In multi-line mode, allow exiting edition by pressing Enter. Ctrl+Enter to add new line (by default adds new lines with Enter).

imgui.INPUT_TEXT_NO_HORIZONTAL_SCROLL = 4096

Disable following the cursor horizontally

imgui.INPUT_TEXT_ALWAYS_INSERT_MODE = 8192

Insert mode

imgui.INPUT_TEXT_READ_ONLY = 16384

Read-only mode

imgui.INPUT_TEXT_PASSWORD = 32768

Password mode, display all characters as ‘*’

class imgui.Vec2(x, y)
__getnewargs__()

Return self as a plain tuple. Used by copy and pickle.

__getstate__()

Exclude the OrderedDict from pickling

__repr__()

Return a nicely formatted representation string

x

Alias for field number 0

y

Alias for field number 1

class imgui.Vec4(x, y, z, w)
__getnewargs__()

Return self as a plain tuple. Used by copy and pickle.

__getstate__()

Exclude the OrderedDict from pickling

__repr__()

Return a nicely formatted representation string

w

Alias for field number 3

x

Alias for field number 0

y

Alias for field number 1

z

Alias for field number 2