Flater
Flater是使用.NET WinForms开发的界面库
例子
from flater.winforms.metro import *
from flater import *
from os import environ
window = MetroForm()
window.Title = "Flater.Metro"
tooltip = MetroToolTip()
tab = window.Create(MetroTab)
tab.Pack(Dock="Fill")
tab1 = tab.CreatePage("Tiles && Buttons")
button3 = tab1.Create(MetroButton)
button3.Text = "System"
button3.Bind("Click", lambda e1, e2: window.StyleManager.SetTheme("System"))
button3.Pack(Dock="Top")
tooltip.SetToolTip(button3, "Button3")
button2 = tab1.Create(MetroButton)
button2.Text = "Dark"
button2.Bind("Click", lambda e1, e2: window.StyleManager.SetTheme("Dark"))
button2.Pack(Dock="Top")
button2.ToolTip = "Button2"
button = tab1.Create(MetroButton)
button.Text = "Light"
button.Bind("Click", lambda e1, e2: window.StyleManager.SetTheme("Light"))
button.Pack(Dock="Top", Margin=10)
label = tab1.Create(MetroLabel)
label.Text = "Theme"
label.Pack(Dock="Top")
tab2 = tab.CreatePage("Options")
window.StyleManager.Theme = "Dark"
window.StyleManager.Style = "Red"
window.AppRun()
浅亮
深黑
教程
基本窗口
from flater import Form
window = Form()
window.AppRun()
导入
默认flater.__init__是不会直接导入额外的组件库的
MetroFramework
import flater.winforms.metro as metro
打包
建议不要启用单文件
Metadata
Release files for flater-realtaiizor 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| flater_realtaiizor-0.1.2.tar.gz | 5.0 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flater_realtaiizor-0.1.2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.0 MB
Release files / flater_realtaiizor-0.1.2.tar.gz
| Download URL | flater_realtaiizor-0.1.2.tar.gz |
|---|---|
| Size | 5.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ea2b1c823ceb36fd79400de36a97a7b04b08cbf07c69cb3ae83e91b88763cea
|
|
BLAKE2b-256 checksum How to use checksums |
ce0c2071f85ce5121268c1f852ff3d5b7093390a2ca3a116a34d472601666fe5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.9.9 Windows/10
|
Release files / flater_realtaiizor-0.1.2-py2.py3-none-any.whl
| Download URL | flater_realtaiizor-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 5.0 MB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
705536de66766778ae753235f30e4ad0d921c6517a07c7e9284fa041e86d369a
|
|
BLAKE2b-256 checksum How to use checksums |
82e1ddd49d343a595b2a20cb9148ef1a6eff45cf42031e8c378d1a3f92b26a15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.9.9 Windows/10
|
Security for flater-realtaiizor 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.