New and aesthetically pleasing GUI library (新型美观GUI库)
Project description
Suzaku 朱雀
Advanced UI module based on skia-python, pyopengl and glfw.
基于skia-python、pyopengl与glfw高级界面库。
Still under developing... / 正在抓紧制作中...
Evaluate out current achievements by downloading this project whilt it is still under development.
您可以下载正在开发的版本来进行评估。
Basic Example / 简单示例
python3 -m suzaku
Minimal Exanple / 最小示例
from suzaku import *
root = Sk()
btn = SkButton(window, text="Hello World")
btn.place(10, 10)
root.mainloop()
How it Works / 原理
Basic Pricinples / 基础原理
SkApp manages all SkWindow objects. We may consider each of the visible elements and ocmponents as a SkWidget in SkWindow.
SkApp管理着所有的SkWindow。我们将每一个可视化的元素&组件视为一个个的SkWidget,居于SkWindow中。
A number of properties are owned by SkWidget, telling SkWindow how it should be drawn. SkWidget components are added to the window viaSkWindow.add_draw(), then be drawn by SkWindow.draw().
SkWidget具有一个个属性,告诉SkWindow自己该如何被绘制,用SkWindow.add_draw()将自己的绘制方式加入进去,然后在SkWindow.draw()中被一个个的绘制在画布上。
Layout / 布局
Under construction / 正在开发
Naming / 取名
Suzaku is one of the four mythical beasts in ancient China. Sounds cool isn't it?
suzaku是朱雀的意思,朱雀是中国古代的四大神兽之一。取这名呢感觉很霸气,先占个名先。
Plans / 计划
svg in Canvas module will be used to draw shapes.
我将会使用跨平台的Canvas库,用svg来绘制图形。
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file suzaku-0.0.2a2.tar.gz.
File metadata
- Download URL: suzaku-0.0.2a2.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.5 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92062e1d9fab177df76584bdaed638ff322bbcfaa434bbb885a60bd1ff595273
|
|
| MD5 |
760d7be5ea2581b2a7a889ba3534703f
|
|
| BLAKE2b-256 |
f6a6c46049e75a1915e135e76fed935671b6c83d5b61ea7b1f584feb14cc29d8
|
File details
Details for the file suzaku-0.0.2a2-py3-none-any.whl.
File metadata
- Download URL: suzaku-0.0.2a2-py3-none-any.whl
- Upload date:
- Size: 38.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.13.5 Windows/11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4478db85a430cb23d094fd4bd98bebdfb4123f4b76268a01ea0f8ea01250c7c7
|
|
| MD5 |
56fb0b190ca11387d28ea7bd627aa593
|
|
| BLAKE2b-256 |
e3c5388f47f6c8b687e4dcde7615f6ca8a7ae124dc68141c84fd04276ea5ce71
|