Editing
Portal:Graphics Programming
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== GUI canvas graphics === Perl has also supported graphics through GUI toolkits. The most historically familiar GUI toolkit for many Perl programmers is '''Perl/Tk'''. MetaCPAN describes `Tk` as a graphical user interface toolkit for Perl.<ref>MetaCPAN, βTk,β https://metacpan.org/pod/Tk, accessed July 3, 2026.</ref> Tkβs Canvas widget is especially important for graphics programming. The Perl/Tk user guide says that the Canvas is one of Tkβs most powerful widgets, allowing users to draw simple graphics and include other widgets. Canvas items can have IDs and tags, and groups of items can be moved, deleted, changed, or bound to actions.<ref>MetaCPAN, βTk::UserGuide,β https://metacpan.org/dist/Tk/view/pod/UserGuide.pod, accessed July 3, 2026.</ref> Tk canvas graphics are not the same as ImageMagick or GD. They are interactive GUI graphics. A Perl/Tk program can draw shapes, respond to mouse clicks, drag objects, update displays, and build simple editors or visualization tools. Tk canvas graphics were useful for: * simple drawing programs; * diagrams; * node-link displays; * educational graphics; * monitoring dashboards; * visual editors; * scientific or engineering control panels; * custom internal tools. Perl GUI graphics mattered because many organizations used Perl for internal tools. A simple Tk program could provide a graphical front end to scripts, databases, instruments, or workflows without requiring a large desktop-application framework.
Summary:
Please note that all contributions to Perl Guilds - Getting Medieval with Perl may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Perl Guilds - Getting Medieval with Perl:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Tools
What links here
Related changes
Page information