imgui_explorer.pyi 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. ###############################################################################
  2. # This file is a part of Dear ImGui Bundle
  3. # -----------------------------------------------------------------------------
  4. # imgui_explorer.pyi: auto-generated bindings for imgui_explorer.
  5. #
  6. # Most of the code of this file is automatically generated (using https://pthom.github.io/litgen/),
  7. # and is generally very close to the C++ version. Comments, docs are identical.
  8. # Do not manually edit the autogenerated parts (look for "Autogenerated" comments)!
  9. ###############################################################################
  10. # Part of ImGui Bundle - MIT License - Copyright (c) 2022-2026 Pascal Thomet - https://github.com/pthom/imgui_bundle
  11. # THIS FILE IS AUTOGENERATED — regenerate with external/imgui_explorer/bindings/generate_imgui_explorer.py
  12. from __future__ import annotations
  13. import enum
  14. from typing import Optional
  15. # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! AUTOGENERATED CODE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  16. # <litgen_stub> // Autogenerated code below! Do not edit!
  17. #################### <generated_from:imgui_explorer.h> ####################
  18. class ImGuiExplorerLibrary(enum.IntEnum):
  19. # ImGui, /* original C++ signature */
  20. imgui = enum.auto() # (= 0)
  21. # ImPlot, /* original C++ signature */
  22. implot = enum.auto() # (= 1)
  23. # ImPlot3D, /* original C++ signature */
  24. implot3_d = enum.auto() # (= 2)
  25. # ImAnim } /* original C++ signature */
  26. im_anim = enum.auto() # (= 3)
  27. # void ShowImGuiExplorerGui_Cpp(std::optional<ImGuiExplorerLibrary> library = std::nullopt, /* original C++ signature */
  28. # bool show_status_bar = false);
  29. def show_imgui_explorer_gui_cpp(
  30. library: Optional[ImGuiExplorerLibrary] = None, show_status_bar: bool = False
  31. ) -> None:
  32. """C++ standalone explorer: shows C++/Python toggle and status bar option."""
  33. pass
  34. # void ShowImGuiExplorerGui_Python(std::optional<ImGuiExplorerLibrary> library = std::nullopt, /* original C++ signature */
  35. # const std::string& pythonPackagePath = "");
  36. def show_imgui_explorer_gui_python(
  37. library: Optional[ImGuiExplorerLibrary] = None, python_package_path: str = ""
  38. ) -> None:
  39. """Python (PyPI) explorer: Python-only mode, no status bar.
  40. pythonPackagePath is the root of the installed imgui_bundle package
  41. (used to locate .py demos and .pyi stubs).
  42. """
  43. pass
  44. #################### </generated_from:imgui_explorer.h> ####################
  45. # </litgen_stub> // Autogenerated code end
  46. # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! AUTOGENERATED CODE END !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!