Simple CSS-like language which allows for drawing and styling wxPython elements.
Project description
UI Style Lang (Language)
UI Style Lang is a simple CSS-like language which allows for drawing and styling wxPython elements. Many UI Style Lang properties are the same as the normal (not short-hand) CSS3 properties. This provides a familiar syntax, especially for those with experience with CSS3.
WIP/ TODO
- SVG support(?).
- More widget styling support
Features
-
Written in pure Python with minimal dependancies (just wxPython and the standard library)
-
Drawing API
- Includes the
UIStylePDC
UI Style Lang class which is a powerful extension of the wxPythonwx.PseudoDC
- Over 15 stylesheet properties already supported
- Draw circles, rectangles, squares, images, & text
- Translate & rotate objects
- Load styles from inline styles and an external stylesheet
- Auto-handles IDs, with support for manual-handling of IDs
- Includes the
-
Widget Styling API
- Supports loading from a stylesheet for easy theming
- Support for styling panels, frames (currently)
Development
Pull requests and/or feature suggestions are welcome!
Usage
See the docs and full demos for information on usage...
License
UI Style Lang is licensed under the BSD 3-Clause license
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
Built Distribution
Hashes for uistylelang-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20557e343aea975e551bea15f70b91784aa1e59ca0151c5dcc594379be8371e4 |
|
MD5 | 626d33f492917825f4a3b4e96cac4044 |
|
BLAKE2b-256 | 9e11890d072908afd41c5a3aa7401e3fb0ade4c2f719527f89c8e67ccb08e073 |