Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2004-01-21 13:20:45
Size: 440
Editor: www
Comment: Fix markup error.
Revision 4 as of 2004-01-30 11:51:27
Size: 606
Editor: 202
Comment:
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:

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

does the resource number refers to the icon index in the {{{.ico}}} file (if containing > 1 icons) -- dody wijaya

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?

does the resource number refers to the icon index in the .ico file (if containing > 1 icons) -- dody wijaya

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