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