4.3. Fun Things to Try

  • Create a bunch of checkbuttons and a Go button that will report the status of all the checkbuttons.

  • Make up a survey that uses checkbuttons for questions that have one or more options and radiobuttons with only one appropriate choice.

  • Create three different groups of checkbuttons: Favorite Color, Favorite Song, and Shoe Size. Then create a radiobutton to represent each group. The currently selected radiobutton dictates which checkbuttons the user can see and use.

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.