A Python GUI framework
Project description
Trufle Documentation
Importing
import trufle
MainWindow
window = trufle.Window(title, width, height, x, y)
All of these parameters are optional.
To change the width, height, x, y using a method:
window.size(width, height, x, y)
The x and y parameters are optional.
Alternatively you can use the geometry method:
window.geometry('{width}x{height}+{x}+{y}')
Again the x and y parameters in the geometry method are optional
To change the title:
window.title('My Window')
To run the window:
window.run()
To stop the window:
window.close()
To change the icon:
window.icon(path_to_icon)
Supported file types are .png .ico .svg
This documentation isnt finished yet.
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 trufle-1.0.0.tar.gz.
File metadata
- Download URL: trufle-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
156cd3ac097353073a41b2d03ff51c0632b525ffceb0bf5ef1fa0d9a5c8b070e
|
|
| MD5 |
ffa97186cef20eb3e0f677d205a82884
|
|
| BLAKE2b-256 |
f60776dc70a83c7b73aeb8e1f4a479d50194eacc058363da21ce84ac02aa6c53
|
File details
Details for the file trufle-1.0.0-py3-none-any.whl.
File metadata
- Download URL: trufle-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa4573a9b620cf279735dc245fead1d986ff6757bd73fbe8dd327d4c9d93b128
|
|
| MD5 |
219ca936fe61e3f60cea634151f5b43b
|
|
| BLAKE2b-256 |
f0ba09c28cd83a01b389df14789b2a7c8b49d561c3b6dcdbafd9fe37b74d22c8
|