Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Answer: How do I change the icon on Toplevel?

by Anonymous Monk
on Mar 13, 2002 at 17:43 UTC ( #151460=categorized answer: print w/replies, xml ) Need Help??

Q&A > GUI Programming > How do I change the icon on Toplevel? - Answer contributed by Anonymous Monk

Check out the $toplevel->Icon method. Here's a short example:

my $image = $top->Photo( -data => $imageDat, -format => 'gif' ); $top->Icon( -image => $image );
I tested this on ActiveState Perl 5.6.1 build 631, Tk 800.023.

Log In?

What's my password?
Create A New User
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2016-10-24 09:45 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (304 votes). Check out past polls.