pyimgui

Python wrapper for dear ImGui

Navigation

  • Usage guide
    • First steps with imgui
    • Using fonts
    • Using conditions
    • Using window flags
    • Using tree node flags
    • Using selectable flags
    • Using input text flags
    • Using slider flags
    • Using combo flags
    • Using tab bar flags
    • Using draw flags
  • API reference

Related Topics

  • Documentation overview
    • Usage guide
      • Previous: Using selectable flags
      • Next: Using slider flags

Quick search

Support

Feature suggestions, new ideas, and Pull Requests are really welcome. We cooperate through the pyimgui project page on GitHub.

I you want to financially support pyimgui you can buy a book from one of project creators:

Using input text flags¶

InpuText functions accept various flags to manage their behaviour.

List of all available input text flags (click to see documentation):

  • imgui.INPUT_TEXT_CHARS_DECIMAL

  • imgui.INPUT_TEXT_CHARS_HEXADECIMAL

  • imgui.INPUT_TEXT_CHARS_UPPERCASE

  • imgui.INPUT_TEXT_CHARS_NO_BLANK

  • imgui.INPUT_TEXT_AUTO_SELECT_ALL

  • imgui.INPUT_TEXT_ENTER_RETURNS_TRUE

  • imgui.INPUT_TEXT_CALLBACK_COMPLETION

  • imgui.INPUT_TEXT_CALLBACK_HISTORY

  • imgui.INPUT_TEXT_CALLBACK_ALWAYS

  • imgui.INPUT_TEXT_CALLBACK_CHAR_FILTER

  • imgui.INPUT_TEXT_ALLOW_TAB_INPUT

  • imgui.INPUT_TEXT_CTRL_ENTER_FOR_NEW_LINE

  • imgui.INPUT_TEXT_NO_HORIZONTAL_SCROLL

  • imgui.INPUT_TEXT_ALWAYS_INSERT_MODE

  • imgui.INPUT_TEXT_READ_ONLY

  • imgui.INPUT_TEXT_PASSWORD

©2016, Michał Jaworski. | Powered by Sphinx 6.1.3 & Alabaster 0.7.16 | Page source