Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Tk

by flyingmoose (Priest)
on Dec 10, 2003 at 02:44 UTC ( #313644=note: print w/replies, xml ) Need Help??


in reply to A few random questions.

First off, on the subject of Tk, I highly recommend "Mastering Perl Tk" (the O'Reilly Emu Book) for a reference on all things Tk. It is very easy to understand (more so than most computer books) and it includes some features of Tk that you probably aren't going to pick up easily from reading CPAN.

I haven't done too much with images in Tk, yet, but I have added images to a Canvas using Tk::Photo.

http://search.cpan.org/~ni-s/Tk-804.025_beta8/pod/Photo.pod

Apparently, you can also use Tk::Bitmap to add icons to Labels (and I presume buttons as well). Out of respect for the author's work, I won't copy the examples I have from the Emu book.

bgstipple is apparently for drawing patterns, not graphics, so I would avoid trying to use that if there are files you would like to display.

Replies are listed 'Best First'.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2022-05-29 07:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?