Metadata-Version: 2.1
Name: trufle
Version: 1.0.0
Summary: A Python GUI framework
Home-page: https://github.com/Shahzaib1432/trufle
Author: Muhammad Ahmad
License: MIT
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown
License-File: license.txt

# Trufle Documentation
# Importing
```python
import trufle
```

# MainWindow
```python
window = trufle.Window(title, width, height, x, y)
```
All of these parameters are optional.

To change the width, height, x, y using a method:
```python
window.size(width, height, x, y)
```
The x and y parameters are optional.

Alternatively you can use the geometry method:
```python
window.geometry('{width}x{height}+{x}+{y}')
```
Again the x and y parameters in the geometry method are optional

To change the title:
```python
window.title('My Window')
```

To run the window:
```python
window.run()
```

To stop the window:
```python
window.close()
```

To change the icon:
```python
window.icon(path_to_icon)
```
Supported file types are .png .ico .svg

# This documentation isnt finished yet.
