I am trying out various python gui designers. I believe I followed the tutorial correctly and here is the code that was generated for the app:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#!/usr/bin/env python # -*- coding: iso-8859-15 -*- # generated by wxGlade 0.6.5 (standalone edition) on Wed Mar 13 13:56:25 2013 import wx from import #joe note 0 class TutApp(wx.App): the app def OnInit(self): wx.InitAllImageHandlers() Frame with notebook = (None, -1, "") #joe note 1 self.SetTopWindow(Frame with notebook) #joe note 2 Frame with notebook.Show() #joe note 3 return 1 # end of class TutApp if __name__ == "__main__": tutApp = TutApp(0) tutApp.MainLoop()
I get discouraged when the tutorial for something doesn't work. I am intrigued with wxGlade so i am writing this ticket instead of moving on to another tool.
joe note 0
joe note 1-3
These seem to stem from the tutorial 1. Creation of the frame (last sentence) instruction:
The first thing we'll do is change the title of the frame, which is by default equal to the object's name, and insert "Frame with notebook": the change takes effect when the Title property loses focus.
Perhaps I made a mistake in my interpretation?
Thanks for the help in advance.
Love and peace,
Log in to post a comment.