in reply to How Do I Change A Button Image in Perl TK?
If you use xpm then you can also use Pixmap instead of Photo (but this is really only needed if you're short on memory and use big and many pixmaps).$p = $mw->Photo(-file => "example.xpm"); $mw->Button(-image => $p, ...);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How Do I Change A Button Image in Perl TK?
by boby_drack (Acolyte) on Jun 11, 2004 at 00:20 UTC | |
by eserte (Deacon) on Jun 11, 2004 at 09:00 UTC |