Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Button graphics for Tk

by jdtoronto (Prior)
on Oct 04, 2004 at 15:01 UTC ( [id://396257]=perlquestion: print w/replies, xml ) Need Help??

jdtoronto has asked for the wisdom of the Perl Monks concerning the following question:

Esteemed Monks,

Can anyone point me to any pre-made button bitmaps for Tk?

Specifically I would like to find a set of matched arrow buttons for forward, backward etc. Of course I can create them, but I was hoping to save the time.

jdtoronto

Replies are listed 'Best First'.
Re: Button graphics for Tk
by qumsieh (Scribe) on Oct 04, 2004 at 16:00 UTC
    You can download Tk::ToolBar which comes with a decent number of button images. It has what you need, and there is a bundled Perl program that allows you to see all the images. When you instantiate a ToolBar widget, it loads all of those images, so you can use them anywhere in your program. If you don't need a toolbar widget, you can do this:
    $MW->ToolBar->destroy;
    This will still call the subroutine that loads all the images, but will destroy the toolbar widget along the way.

    If you don't want that route, you can download the same images directly from the ICONS project.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://396257]
Approved by CloneArmyCommander
Front-paged by Courage
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-16 17:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found