Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: Re: Tk::Image problem

by batkins (Chaplain)
on Nov 27, 2003 at 22:34 UTC ( #310614=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Tk::Image problem
in thread Tk::Image problem

That works, but a Canvas is overkill:
#!/usr/bin/perl use strict; use Tk; use Tk::Photo; my $main = new MainWindow; my $photo = $main->Photo(-format => 'gif', -file => 't.gif'); $main->Label(-image => $photo)->pack; MainLoop;
Are you sure it was a book? Are you sure it wasn't.....nothing?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2022-12-05 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?