codekasten/WKNcharts/WknCharts.py
age 2a2986996a * bildbetrachter eingebaut
* loglevel eingefuehrt
 * bildtab aus notepad entfernt
2006-06-15 09:10:52 +00:00

29 lines
505 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 in "wg"
gtk.gdk.threads_init()
gtk.gdk.threads_enter()
gtk.main()
gtk.gdk.threads_leave()
if __name__ == "__main__":
wc = WknCharts()