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
trufle-1.0.0.tar.gz
(3.0 kB
view hashes)
Built Distribution
trufle-1.0.0-py3-none-any.whl
(3.6 kB
view hashes)