Skip to content

pygui.windows.v1.92.5.2

Choose a tag to compare

@JaedanC JaedanC released this 09 Jan 06:56
· 1 commit to v1.92.5-docking since this release

Breaking changes:

  • See Imgui docs for breaking changes around particularly fonts and textures.
  • Images now use a TextureRef from the latest version of ImGui.
  • Simplified the pygui specific .cpp and .h headers by expanding them into their own files.
  • Fixed many ImGuiIO fields that are arrays of length 5, to keep track of different mouse buttons. Check the .pyi file to see the changes.
io = pygui.get_io()

# Before
io.mouse_down # Returns whether Mouse1 (left mouse) is clicked

# After
io.mouse_down[0] # Returns whether Mouse1 (left mouse) is clicked
io.mouse_down[1] # Returns whether Mouse2 (right mouse) is clicked
io.mouse_down[2] # Returns whether Mouse3 (middle mouse) is clicked
io.mouse_down[3] # Returns whether Mouse4 is clicked
io.mouse_down[4] # Returns whether Mouse5 is clicked

Features:

  • Updated ImGui version to v1.92.5-docking
  • Re-added font implementation.
  • More fields and functions added. ImGuiIO config fields can now be all written to.
  • The Python .pyi stub file includes @staticmethod so less errors with linters.
  • Fixed the duplication of fields and methods in the .pyi files when a new class or struct is added to the Dear Bindings spec.