Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Tk

by flyingmoose (Priest)
on Dec 10, 2003 at 02:44 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-23 15:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found