Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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!


Comment on Re: Re: Tk::Photo and copy method
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (14)
As of 2015-07-28 19:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls