The Emergent Properties of Meat
Blog
Software
Hardware
About me
Photography
 Logos
Bigger projects: emc2 & AXIS
Friends' pages:
Alex
Bill
Chris
Jon
Michael
Email me: jepler@unpy.net

« TI serial-interface DAC | Newest entries in software | Regulated LED flashlight -- update »


The icon created by the example program
This somewhat hackish module can be used to set the NET_WM_ICON for your Tkinter application. The included example.py file is, well, an example. You have to do the work of computing the value of the property, then pass the Tk toplevel window and the bytestring representation of the property to _tk_seticon.seticon().

Not all window managers support NET_WM_ICON; Metacity does in Fedora Core 2, while icewm 1.2.20 doesn't. It uses only the old WM_HINTS bitmap and mask.

Files currently attached to this page:

seticon-0.0.tar.gz2.7kB
seticon-example.png5.9kB



Entry first conceived on 31 March 2005, 2:55 UTC, last modified on 1 October 2005, 16:53 UTC



Powered by the Emergent Properties of Meat. Copyright © 2004-2008 Jeff Epler
[æ]