Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2004-01-20 23:31:36
Size: 439
Editor: 80-218-76-103
Comment:
Revision 3 as of 2004-01-21 13:23:45
Size: 489
Editor: www
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
The same practice works as well for {{{console}}} and {{{windows}} scripts. The same practice works as well for {{{console}}} and {{{windows}}} scripts.
Line 18: Line 18:

Hm, doesn't the {{{.ico}}} file contain them?

Icons are added as icon_rsources

setup( 
    windows = [
        {
            "script": "with_gui.py",
            "icon_resources": [(1, "myicon.ico")]
        }
    ],
)

The same practice works as well for console and windows scripts. The resouce number does not seem to matter. Windows just takes the first existing icon.

/!\ if somebody knows how to add small and large icons, speak up...

Hm, doesn't the .ico file contain them?

CustomIcons (last edited 2011-08-05 21:58:17 by SunjayVarma)