This package adds a .flow to existing .pack, .grid, and .place geometry managers.
Project description
tkinterflow
This is a project to add the functionality of a 'flow layout' to Python Tkinter graphical user interface module.
Tkinter has the Pack, Grid, and Place geometry managers.
This module adds a Flow option to the geometry managers.
To implement the module, of course install it first with:
pip install tkinterflow
then use the following import statements
from tkinter import *
from tkinterflow.flowmethods import *
Now instead of using statments like:
button.pack()
you can use
button.flow()
to add widgets to a frame.
You cannot use the flow geometry manager in the root widget, but can use it in any frame below root.
So if you only have one root window, pack a frame into the root window, then use flow to add widgets to that frame.
The flow behavior is a subset of the grid geometry manager.
Like pack, grid, and place, you should not mix geometry managers. Likewise with the flow geometry manager.
-If you are flowing into a frame, only use flow, don't try to mix and match geometry managers.
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
Built Distribution
Hashes for tkinterflow-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 299956de1660e4e79892baaddcb19f63f0b7621117cf0996059823f3545f34fd |
|
MD5 | 24d0d65f66407344dc8072b0b7a3b620 |
|
BLAKE2b-256 | 7d43945b0b72330ebd3c2c787a4dc977f3fcc59f9a91a36f631ba8ced292fd4e |