Configuring the Canvas Widget

As usual, to configure or get information about the Canvas widget, you can use the configure and cget methods, explained in detail in Chapter 13. Remember, configureand cgetoperate on the entire Canvas widget (possibly affecting the items within it).

Get Mastering Perl/Tk now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.