summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--frontend/tour_gtk_frontend.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/frontend/tour_gtk_frontend.py b/frontend/tour_gtk_frontend.py
index 5560eec..4a2bd62 100644
--- a/frontend/tour_gtk_frontend.py
+++ b/frontend/tour_gtk_frontend.py
@@ -27,6 +27,13 @@ This class is responsible for the creation and destruction of the main window.
"""
class Frontend:
def __init__(self):
+ self.mainWindow=create_win()
pass
- \ No newline at end of file
+ def destroy_window(self,widget,Data=none):
+ gtk.main_quit()
+
+ def create_win(self):
+ return gtk.Window(gtk.WINDOW_TOPLEVEL)
+
+ pass \ No newline at end of file