Skip to content

A example showing how to create GUI elements using PyImGui, integrated with GLFW

Notifications You must be signed in to change notification settings

michas404/pyimgui-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyImGui Example

(pyimgui-example)

A simple example demonstrating PyImGui with GLFW, including multiple windows, tabs, and interactive controls.

Example

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
git clone https://github.com/michas404/pyimgui-example.git
cd pyimgui-example
  1. Create virtual environment (recommended)
python -m venv .venv
.venv\Scripts\activate
  1. Install dependencies
pip install -r requirements.txt

Usage

  1. Ensure the font file is present:
pyimgui-example/
├── font/
│   └── ProggyClean.ttf
  1. Run the application:
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

PyImGui Author

About

A example showing how to create GUI elements using PyImGui, integrated with GLFW

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages