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. 2020
W. ". RothwellPro Perl Programminghttps://doi.org/10.1007/978-1-4842-5605-3_1111. Perl TK Widgets
William âBoâ Rothwell1Â
(1)
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 ...
Get Pro Perl Programming: From Professional to Advanced now with the O’Reilly learning platform.
O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.