Skip to content

TheBarret/PyGui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyGui

A Lightweight, Message-Driven GUI Framework for PyGame (WIP)
Inspired by the PyGame community, built to contribute back.

The gui is a minimal, component-based framework built exclusively for PyGame (Python 3.10+).
Designed from the ground up for clarity and extensibility, it provides windowing, layout, theming, and event handling, without external dependencies.

Core Principles

  • Atomic Components: objects are composable, hierarchical, and self-contained.
  • Messaging: The AddressBus enables broadcast/request-response communication for runtime introspection and control.
  • Theme: Centralized visual appearance in Theme, not very advanced just basics.
  • Event Propagation: Reverse-Z-order event bubbling with focus management, passthrough, and hover/click/keypress handling.
image

About

Tiny GUI framework for PyGame

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages