Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Perl TK changing the logo

by Anonymous Monk
on Oct 26, 2010 at 07:24 UTC ( [id://867413]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl TK changing the logo
in thread Perl TK changing the logo

#!/usr/bin/perl use Tk; my $mw = tkinit; my $image = 'z-icon.gif'; # 32x32 GIF or BMP my $icon = $mw->Photo(-file => $image); $mw->idletasks; # this line is crucial $mw->iconimage($icon); MainLoop;
In this how to add to increase the dimension of the gif file?
Am using 200x200 gif file

Replies are listed 'Best First'.
Re^3: Perl TK changing the logo
by zentara (Archbishop) on Oct 26, 2010 at 11:19 UTC
    Resize the 200x200 gif to 32x32 first. Icons need to be 32x32, unless a module does it automatically for you.

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://867413]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-03-28 19:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found