Skip to content
Zacharie edited this page Jul 24, 2023 · 17 revisions

Welcome to the PynamicUI Wiki

Home

Welcome to the PynamicUI Wiki, where you can find comprehensive documentation and guides for PynamicUI, a lightweight Python library that provides a dynamic user interface (UI) framework for creating interactive and responsive applications. PynamicUI simplifies the process of building user interfaces by abstracting away the complexities of working directly with a UI toolkit like Tkinter.

Installation

PynamicUI requires the CustomTkinter library. To install PynamicUI and its dependencies, you can use pip:

pip install pynamicui

Learn more about the PynamicUI library, its features, and how it can help you build powerful and modern user interfaces for your Python applications.

Documentation

Classes

Explore the createDom class, which forms the foundation of PynamicUI and allows you to create and manage the virtual DOM for your UI components.

Discover how to create UI elements using the createElement class and how to define their properties, styles, and event handlers.

Learn about createStylesheet and how to utilize CSS-like styles to enhance the visual appearance of your UI components.

The createPageViewer provides an easy and efficient way to manage dynamic lists or grids of elements in your user interface.

Guides

Find out how to access the root window and customize its properties using the capabilities provided by CustomTkinter.

In this documentation, we'll explore each of the available elements and how to use them effectively in your applications.

Understand the relationship between parent and child elements and how they are stored in pairs within the virtual DOM.

Learn how to handle various events such as button clicks, keypresses, and mouse movements using PynamicUI's event system.

Explore a step-by-step tutorial on how to build a simple calculator app using PynamicUI.

See a practical example of creating a counter app to learn more about PynamicUI's state management and hooks.

Discover how to create a dynamic list using PynamicUI's powerful place method for flexible and responsive UI elements.

Explore a tutorial on building a navigation bar with buttons to switch between different pages in your application.

Learn how to use containers to abstract padding and margin effects for better control over the layout of your UI components.

Understand the place method in PynamicUI and how to determine the location and size of UI elements on the screen.

Understand PynamicUI's robust custom grid system.

Learn about PynamicUI's state management system and how to track variables and update the UI using dom.useState.


Clone this wiki locally