diff options
author | Ryan Rix <phrkonaleash@gmail.com> | 2009-12-08 16:58:47 -0700 |
---|---|---|
committer | Ryan Rix <phrkonaleash@gmail.com> | 2009-12-08 16:58:47 -0700 |
commit | 1ce8e832a74796832d32445e1aa3b2ef46ea213f (patch) | |
tree | fff200fe81b79e16a79866d3a23c63825881e2b6 | |
parent | dcd3befb7340927b399f98054be0aa0786669e14 (diff) | |
download | fedora-tour-1ce8e832a74796832d32445e1aa3b2ef46ea213f.tar.gz fedora-tour-1ce8e832a74796832d32445e1aa3b2ef46ea213f.tar.xz fedora-tour-1ce8e832a74796832d32445e1aa3b2ef46ea213f.zip |
Added a new class for InitialTreeView, which will be in charge of
building the first UI. I think that it would be a good idea to
have a helper class in charge of generating each page's widgets
so that it's possible to clear the form's widgets easily to allow
for form changes easily.
-rw-r--r-- | frontend/tour_gtk_frontend.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/frontend/tour_gtk_frontend.py b/frontend/tour_gtk_frontend.py index 88ca233..3c3ad85 100644 --- a/frontend/tour_gtk_frontend.py +++ b/frontend/tour_gtk_frontend.py @@ -29,6 +29,8 @@ class Frontend: self.mainWindow.connect("delete_event", self.winDelete) self.mainWindow.connect("destroy",self.winDestroy) + builder = InitialTreeView(self.mainWindow) + self.mainWindow.show() def winDestroy(self,widget,Data=None): @@ -47,6 +49,10 @@ class Frontend: def main(self): gtk.main() +class InitialTreeView: + def __init__(self, window): + pass + if __name__=="__main__": frontend = Frontend() frontend.main()
\ No newline at end of file |