Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 scrutinizing the Monastery: (5)
As of 2014-09-20 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (158 votes), past polls