Skip to main content

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)

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

tkintertable-1.3.3.tar.gz (58.7 kB view details)

Uploaded Source

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

Hashes for tkintertable-1.3.3.tar.gz
Algorithm Hash digest
SHA256 fc8f1a726be958e645eece74c6994514caffc1a87d7770183ea753262b870329
MD5 3940dafb28af0f524ed6aaec59aa804e
BLAKE2b-256 d008253fd5119bf9130769185f53de80dba14058a96b0e82a7f0efd89ea4e9e8

See more details on using hashes here.

Supported by

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