Modular event-driven GUI system for quickly building tools with Python and pyimgui.
Project description
toolgui
Modular event-driven GUI system for quickly building tools with Python and pyimgui.
Installation
pip install toolgui
Usage
import imgui
import toolgui
@toolgui.settings("example")
class Settings:
window_open = False
@toolgui.menu_item("Example/Hello World")
def show_window():
Settings.window_open = True
@toolgui.on_update()
def update_window():
if Settings.window_open:
expanded, Settings.window_open = imgui.begin("Hello World", True)
imgui.text("Hello world")
imgui.end()
toolgui.start_toolgui_app()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
toolgui-0.0.6.tar.gz
(3.5 kB
view hashes)