The heart of TK are the widgets. Widgets are window-based components that allow the user to interact with the program. This chapter will focus on some of the more commonly used Perl TK widgets, but keep in mind that there are additional, often more advanced, widgets that you can explore on your own if you decide that you want to make some more advanced TK-based programs.
© William "Bo" Rothwell of One Course Source, Inc. 2020W. ". RothwellPro Perl Programminghttps://doi.org/10.1007/978-1-4842-5605-3_11
11. Perl TK Widgets
William “Bo” Rothwell1
San Diego, CA, USA
Frames are great for creating sub-windows within your primary window and grouping other widgets. To create a frame, use the following syntax:
$frame = $main ->Frame ([option => ...