Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Tk::Photo and copy method

by didier (Vicar)
on Aug 02, 2003 at 10:40 UTC ( #280266=note: print w/replies, xml ) Need Help??


in reply to Re: Tk::Photo and copy method
in thread Tk::Photo and copy method

I have found the problem.

An empty photo object must be set without explicit
descriptor, nor image tags.
So in the main window, the line:
my $image = $label ->Photo('image', -height => 10, -width => 10, -format=>'XPM');
become:
my $image = $label ->Photo( -height => 10, -width => 10);
Nice day for you all!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://280266]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2017-02-20 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (293 votes). Check out past polls.