
TrueGraphics
TrueGraphics Github Repo Link - https://github.com/LegedsDaD/TrueGraphics TrueGraphics is a small Windows-only GUI experiment: a C++ core (Win32 + GDI) with Python bindings built using pybind11 . Overview Windows-only Win32 window + message loop Lightweight GDI renderer (double-buffered) Python-first authoring model ( @app.window builder function) Nested UI via container context managers ( with tg.Row(): ... ) Basic layouts: Row , Column , Grid , Absolute Basic styling setters on widgets (colors, radius, borders, padding/margin) Canvas drawing API ( draw_line/rect/circle/text ) Image widget ( tg.Image("path") ) via GDI+ Animations ( widget.animate(...) ), timers ( app.set_timeout/set_interval ), and background tasks ( app.run_async ) Scrolling: tg.ScrollView() + mouse wheel Multi-window apps via app.add_window(...) System tray icon via app.enable_tray(...) Resources: tg.add_resource_path(...) , tg.resolve_resource(...) , tg.load_font(...) Widgets: Button , Label , TextBox , PasswordBox
Continue reading on Dev.to Python
Opens in a new tab


