Skip to content

Instantly share code, notes, and snippets.

View JustinHop's full-sized avatar

Justin Hoppensteadt JustinHop

View GitHub Profile
@JustinHop
JustinHop / StatusIcon.py
Last active September 5, 2015 19:49 — forked from pklaus/StatusIcon.py
StatusIcon – A Simple Tray Icon Application Using PyGTK
#!/usr/bin/env python
# found on <http://files.majorsilence.com/rubbish/pygtk-book/pygtk-notebook-html/pygtk-notebook-latest.html#SECTION00430000000000000000>
# simple example of a tray icon application using PyGTK
import gtk
def message(data=None):
"Function to display messages to the user."