Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

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

by batkins (Chaplain)
on Nov 27, 2003 at 22:34 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-04-25 09:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found