home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Book HomeMastering Perl/TkSearch this book

7.5. Listbox Style

The default -relief of a Listbox is 'sunken'. The default -borderwidth is 2. Figure 7-3 shows the five different relief types (flat, raised, ridge, groove, and sunken). In the first window, the default -borderwidth is used; in the second window, a -borderwidth of 4 is used. To save space in the windows, we didn't draw any Scrollbars.

Figure 7-3

Figure 7-3. Examples of -relief and -borderwidth in Listboxes



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.