Skip to Content
Tkinter GUI Programming by Example
book

Tkinter GUI Programming by Example

by David Love
April 2018
Beginner content levelBeginner
340 pages
7h 54m
English
Packt Publishing
Content preview from Tkinter GUI Programming by Example

Summary

In this chapter, we covered something that inevitably comes up when making GUI applications—scrolling a window. 

We saw that in order to scroll a window we need to use a widget that supports it, such as a Canvas widget. The advantage of the Canvas widget is that we can use the create_window method to insert other widgets inside of it to act as windows. These windows function as their regular widget, and are then able to be scrolled.

Speaking of creating widgets inside others, we also learned how to add images inside a Text widget by using the image_create method. This method only needs the index at which to create the image and a PhotoImage instance.

The design implementation for our chat application has been considered, and the necessary ...

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

Tkinter GUI Application Development Blueprints, Second Edition - Second Edition

Tkinter GUI Application Development Blueprints, Second Edition - Second Edition

Bhaskar Chaudhary

Publisher Resources

ISBN: 9781788627481Supplemental Content