https://github.com/michas404/pyimgui-example
A example showing how to create GUI elements using PyImGui, integrated with GLFW
https://github.com/michas404/pyimgui-example
glfw imgui imgui-glfw imgui-menu opengl pyimgui python-gui
Last synced: about 1 month ago
JSON representation
A example showing how to create GUI elements using PyImGui, integrated with GLFW
- Host: GitHub
- URL: https://github.com/michas404/pyimgui-example
- Owner: michas404
- Created: 2025-04-19T13:53:46.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-04-19T14:54:57.000Z (about 1 month ago)
- Last Synced: 2025-04-27T09:58:37.149Z (about 1 month ago)
- Topics: glfw, imgui, imgui-glfw, imgui-menu, opengl, pyimgui, python-gui
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PyImGui Example
(pyimgui-example)A simple example demonstrating PyImGui with GLFW, including multiple windows, tabs, and interactive controls.

## Includes
- **Main Window with Tabs**
- Tab 1: Window controls, checkboxes, and text inputs
- Tab 2: Slider controls
- **Additional Windows**
- Second window with basic controls
- Third window with custom title bar
- **Interactive Elements**
- Checkboxes and sliders
- Text input fields
- External website links
- Custom window controls## Installation
1. **Clone the repository**
```bash
git clone https://github.com/michas404/pyimgui-example.git
cd pyimgui-example
```2. **Create virtual environment (recommended)**
```bash
python -m venv .venv
.venv\Scripts\activate
```3. **Install dependencies**
```bash
pip install -r requirements.txt
```## Usage
1. Ensure the font file is present:
```
pyimgui-example/
├── font/
│ └── ProggyClean.ttf
```2. Run the application:
```bash
python main.py
```## Controls
- Use tabs to switch between different control sets
- Click buttons to open/close additional windows
- Interact with sliders and checkboxes
- Use text inputs to enter custom values
- Click links to visit external websites## Project Structure
```
pyimgui-example/
├── main.py # Main application code
├── requirements.txt # Project dependencies
├── README.md # This documentation
└── font/
└── ProggyClean.ttf # Required font file (also original font)
```## Links
- [Documentation](https://docs.michas.lol/) (Coming soon)
- [Author's Website](https://me.michas.lol/)## PyImGui Author
- [Release](https://github.com/pyimgui/pyimgui)
- [Profile](https://github.com/KinoxKlark)