Skip to main content

Draw and interact with shapes on the Tkinter canvas

Project description

Tkinter Canvas Shapes

The tkshapes module adds a GCanvas widget which can contain user-configurable shapes. The GCanvas widget supports the standard Tk canvas shapes, as well as some others useful in diagrams.

  • GObjects can be constructed from GItems
  • GObjects are displayed on the GCanvas
  • GObjects can be dragged around individually, or selected and dragged together
  • Panning on the GCanvas is bound to the Mousewheel
  • Zooming on the GCanvas is bound to Control-Mousewheel
  • Use Click-Drag to mark out a selection box to select multiple objects
  • Use Control-Click to toggle selection status on individual GObjects

More to come...

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

tkshapes-0.0.2.tar.gz (17.5 kB view hashes)

Uploaded Source

Built Distribution

tkshapes-0.0.2-py3-none-any.whl (28.4 kB view hashes)

Uploaded Python 3

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