The wxPython desktop client for Pytigon provides a native GUI experience using the wxWidgets toolkit.
Pytigon GUI (pytigon_gui) is the wxPython desktop frontend for the Pytigon framework. It provides a rich set of GUI components — frames, pages, notebooks, toolbars, grids, form controls, and popups — all integrated with the Django web backend.
Tag-based UI Definition → Tag Parser → wxPython Widget Tree → Native Desktop Window
↑ |
└──────── Django Backend via HTTP/WebSocket ─────────────┘
The desktop client parses XML-like tag syntax (<ctrl>, <button>, <grid>) into native wxPython widgets. Each tag attributes map to widget properties, and the resulting control tree is rendered as a native desktop application.
| Module | Purpose |
|---|---|
| pytigon.py | Main application entry point (~50K lines) |
| wxauto.py | wxPython automation utilities |
| guictrl/ | GUI controls — tags, buttons, grids, inputs, popups |
| guiframe/ | Application frames — app, browser, form, notebook, page |
| guilib/ | GUI library — events, images, login, threading, WebSocket |
| toolbar/ | Toolbars — modern, standard, tree, generic, menu bar |
from pytigon_gui.pytigon import main
main()
pytigon_lib.schhtml