--- /dev/null
+# -*- coding: utf-8 -*-
+"""
+Interface graphique pour l'analyse des fichiers de log minwii.
+
+$Id$
+$URL$
+"""
+
+from Tkinter import *
+import tkFileDialog
+
+class Application(Frame) :
+ def __init__(self, master=None) :
+ Frame.__init__(self, master)
+ self.grid()
+ self.createWidgets()
+
+ def createWidgets(self) :
+ self.chooseLogDir = Button(self, text="Parcourir…", command=self.openFileDialog)
+ self.chooseLogDir.grid()
+ self.quitButton = Button(self, text='Terminer', command=self.quit)
+ self.quitButton.grid()
+
+ def openFileDialog(self) :
+ print tkFileDialog.askopenfilename()
+
+app = Application()
+app.master.title("Analyseur des sessions MINWii")
+app.mainloop()