in reply to Perl GUI and Icons?

I can't speak for the other GUIs, but I do use Perl/Tk under Windows, compiling my scripts using perl2exe. And the icon thing is problematic. I've found no way to change the script "Tk" that appears in the top bar of the executing program's window, nor to replace the little yellow pearl icon appearing with the .exe file. However, it's an easy matter to create a Windows shortcut to the .exe and assign an icon to that.

If someone has a more direct solution I'd like to hear about it, too!

Replies are listed 'Best First'.
Re: Re: Perl GUI and Icons?
by Flame (Deacon) on Jan 26, 2003 at 01:43 UTC
    Unfortunately, the Tk that appears in the corner of the window cannot be changed as it was set at Perl/Tk's compile time (Ie: It's a part of Tk itself). As for the icon on the compiled version, you can use a program such as Micoangelo to reach into the .exe and mess with the icon. (Only problem, limited to the original resolution of the embedded icons, problem lies in the .exe structure, not a limitation of Microangelo)



    My code doesn't have bugs, it just develops random features.

    Flame ~ Lead Programmer: GMS | GMS