| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- ###############################################################################
- # This file is a part of Dear ImGui Bundle
- # -----------------------------------------------------------------------------
- # imgui_explorer.pyi: auto-generated bindings for imgui_explorer.
- #
- # Most of the code of this file is automatically generated (using https://pthom.github.io/litgen/),
- # and is generally very close to the C++ version. Comments, docs are identical.
- # Do not manually edit the autogenerated parts (look for "Autogenerated" comments)!
- ###############################################################################
- # Part of ImGui Bundle - MIT License - Copyright (c) 2022-2026 Pascal Thomet - https://github.com/pthom/imgui_bundle
- # THIS FILE IS AUTOGENERATED — regenerate with external/imgui_explorer/bindings/generate_imgui_explorer.py
- from __future__ import annotations
- import enum
- from typing import Optional
- # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! AUTOGENERATED CODE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- # <litgen_stub> // Autogenerated code below! Do not edit!
- #################### <generated_from:imgui_explorer.h> ####################
- class ImGuiExplorerLibrary(enum.IntEnum):
- # ImGui, /* original C++ signature */
- imgui = enum.auto() # (= 0)
- # ImPlot, /* original C++ signature */
- implot = enum.auto() # (= 1)
- # ImPlot3D, /* original C++ signature */
- implot3_d = enum.auto() # (= 2)
- # ImAnim } /* original C++ signature */
- im_anim = enum.auto() # (= 3)
- # void ShowImGuiExplorerGui_Cpp(std::optional<ImGuiExplorerLibrary> library = std::nullopt, /* original C++ signature */
- # bool show_status_bar = false);
- def show_imgui_explorer_gui_cpp(
- library: Optional[ImGuiExplorerLibrary] = None, show_status_bar: bool = False
- ) -> None:
- """C++ standalone explorer: shows C++/Python toggle and status bar option."""
- pass
- # void ShowImGuiExplorerGui_Python(std::optional<ImGuiExplorerLibrary> library = std::nullopt, /* original C++ signature */
- # const std::string& pythonPackagePath = "");
- def show_imgui_explorer_gui_python(
- library: Optional[ImGuiExplorerLibrary] = None, python_package_path: str = ""
- ) -> None:
- """Python (PyPI) explorer: Python-only mode, no status bar.
- pythonPackagePath is the root of the installed imgui_bundle package
- (used to locate .py demos and .pyi stubs).
- """
- pass
- #################### </generated_from:imgui_explorer.h> ####################
- # </litgen_stub> // Autogenerated code end
- # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! AUTOGENERATED CODE END !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|