-
Notifications
You must be signed in to change notification settings - Fork 107
/
description.txt
48 lines (30 loc) · 1.07 KB
/
description.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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.