codekasten/WKNcharts/WknCharts.py
2006-06-10 12:18:28 +00:00

29 lines
503 B
Python
Executable file

#!/usr/bin/env python
__version__="0.3"
__author__="AGE"
__date__="02006-06-07"
class WknCharts:
import sys
def __init__(self):
try:
import pygtk
pygtk.require("2.0")
import gtk
from gtk import glade
except:
print "dumme fehlermeldung"
sys.exit(1)
import wknGUI
wg = wknGUI.WknGUI(gtk)
# this is necessary for using threads later
gtk.gdk.threads_init()
gtk.gdk.threads_enter()
gtk.main()
gtk.gdk.threads_leave()
if __name__ == "__main__":
wc = WknCharts()