O'Reilly logo

Sams Teach Yourself Ruby in 21 Days by Mark Slagell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Some Other Widgets

There are many other standard widgets available for your use. Let's look at a few of the most common ones.

A check button, also called a check box, is represented by the TkCheckbutton class. This is used when a specific user choice can have two states (essentially “on” and “off”). It is usually represented onscreen by a square box that may be checked or unchecked.

A radio button (TkRadiobutton) is analogous to the tuning preset buttons on a car radio; only one can be selected at a time. This is used when there is a small, fixed number of mutually exclusive choices available. A radio button usually appears as a circular “box” that may or may not be filled in. Check boxes are independent of each other, but radio buttons typically ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required