6.5. Fun Things to Try

  • Create two of each scrollable widget type, make one Scrolled, and create your own scrollbars for the second of each type. This will show you which method you prefer to use.

  • Create two scrollbars and attach them to the same widget (the opposite of our one scrollbar/multiple widgets example). For instance, create a listbox with a scrollbar on the left and one on the right, both of which will scroll the listbox vertically.

Get Learning 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.