Extendable table class for Tkinter
Project description
Description
This package allows interactive spreadsheet-style tables to be added into a Tkinter application. Tkinter is the standard GUI toolkit for Python. A sample application using these classes is included in the distribution. Now works with Python 3. A sample application using these classes is included in the distribution.
Installation
From pypi:
pip install tkintertable
From github:
pip install -e git+https://github.com/dmnfarrell/tkintertable.git#egg=tkintertable
You can clone the current source using:
git clone https://github.com/dmnfarrell/tkintertable.git
Usage
Import:
from tkintertable import TableCanvas, TableModel
Create table:
tframe = Frame(master) tframe.pack() table = TableCanvas(tframe) table.show()
Constructor options:
table = TableCanvas(frame, model, cellwidth=60, cellbackgr='#e3f698', thefont=('Arial',12),rowheight=18, rowheaderwidth=30, rowselectedcolor='yellow', editable=True)
Links
See https://github.com/dmnfarrell/tkintertable/wiki for help.
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
tkintertable-1.3.3.tar.gz
(58.7 kB
view details)
File details
Details for the file tkintertable-1.3.3.tar.gz
.
File metadata
- Download URL: tkintertable-1.3.3.tar.gz
- Upload date:
- Size: 58.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc8f1a726be958e645eece74c6994514caffc1a87d7770183ea753262b870329 |
|
MD5 | 3940dafb28af0f524ed6aaec59aa804e |
|
BLAKE2b-256 | d008253fd5119bf9130769185f53de80dba14058a96b0e82a7f0efd89ea4e9e8 |