Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trufle-1.0.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for trufle-1.0.0.tar.gz
Algorithm Hash digest
SHA256 156cd3ac097353073a41b2d03ff51c0632b525ffceb0bf5ef1fa0d9a5c8b070e
MD5 ffa97186cef20eb3e0f677d205a82884
BLAKE2b-256 f60776dc70a83c7b73aeb8e1f4a479d50194eacc058363da21ce84ac02aa6c53

See more details on using hashes here.

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

Hashes for trufle-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fa4573a9b620cf279735dc245fead1d986ff6757bd73fbe8dd327d4c9d93b128
MD5 219ca936fe61e3f60cea634151f5b43b
BLAKE2b-256 f0ba09c28cd83a01b389df14789b2a7c8b49d561c3b6dcdbafd9fe37b74d22c8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page