Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
img
README.rst
tkcolorpicker.py
tkinter-arrows.py
tkinter-attribs.py
tkinter-eventstate.py
tkinter-pindex.py
tkinter-scan.py
tkinter-tagorid.py
tkinter-vertedit.py

README.rst

Tkinter samples

Sample program for various Tkinter features; main article in Polish.

tkcolorpicker.py

Simple widget for choosing color.

img/tkcolorpicker.png
tkinter-arrows.py

Shows the parameters of arrow shape.

img/tkinter-arrows.png
tkinter-attribs.py

Demonstration of different attributes that might be assigned to objects put on a canvas object.

img/tkinter-attribs.png
tkinter-eventstate.py
Demonstrates meaning of the event's state field.
tkinter-pindex.py

Shows how to find the closest vertex of an object from canvas (use of index method).

img/tkinter-pindex.png
tkinter-scan.py
Shows how to move canvas contents.
tkinter-tagorid.py

Shows advanced use of tags that might be assigned to objects on canvas. Tags can be used to perform complicated queries that have boolean operations.

img/tkinter-tagorid.png
tkinter-vertedit.py
Shows how to edit an existing polyline object, i.e. add or delete vertices. LMB adds a vertex, RMB removes.