home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / share / doc / python-gnome2-extras / examples / egg / trayicon.py
Encoding:
Python Source  |  2004-11-26  |  179 b   |  10 lines

  1. #! /usr/bin/python
  2. import pygtk
  3. pygtk.require("2.0")
  4. import gtk
  5. import egg.trayicon
  6. t = egg.trayicon.TrayIcon("MyFirstTrayIcon")
  7. t.add(gtk.Label("Hello"))
  8. t.show_all()
  9. gtk.main()
  10.