Skip to Main Content
Tkinter GUI Application Development Blueprints
book

Tkinter GUI Application Development Blueprints

by Bhaskar Chaudhary
November 2015
Beginner to intermediate content levelBeginner to intermediate
340 pages
7h 29m
English
Packt Publishing
Content preview from Tkinter GUI Application Development Blueprints

Drawing items on the canvas

Objects added to the canvas are called items. New items are added to the canvas using different create methods like create_line, create_arc, create_oval, create_rectangle, create_polygon, create_text, create_bitmap, and create_image.

Items added to the canvas are placed in a stack. New items are added on top of items already on the canvas. Every time you add an item using one of the various create methods, it returns a unique item handle or an item id that is a unique integer. This item handle can be used to refer to and manipulate the added item. In addition to an item handle, items can have the following item specifiers:

  • tags are specifiers that we can add to one or more items
  • ALL (or the string all) matches all items ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Python Application Development

Learning Python Application Development

Ninad Sathaye

Publisher Resources

ISBN: 9781785889738Supplemental Content