http://qs321.pair.com?node_id=396257

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.