RE: How to find wxPython method documentation??
Hi Len, First off, there's the wxPython mailing list (To subscribe or unsubscribe via the World Wide Web, visit http://lists.wxwidgets.org/mailman/listinfo/wxpython-users or, via email, send a message with subject or body 'help' to wxpython-users-requ...@lists.wxwidgets.org) I also find Google invaluable in searching for wxPython knowledge, e.g., try http://www.google.com/search?q=wxpython+dialog. Bye, Ron. -- http://mail.python.org/mailman/listinfo/python-list
Re: How to find wxPython method documentation??
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The documentation is here: http://www.wxpython.org/onlinedocs.php In Alphabetical class reference you can find for example wxButton with its methods. Yes - there is no function 'SetBackgroundColour'. But there is a list with classes from which wxButton is derived. 'SetBackgroundColour' is a method for all widgets so it is described in ~ class wxWindow. Egon len schrieb: | Hi | | I am going through the wxPython in Action book by Noel Rappin and | Robin Dunn. | | I have been typing in the example programs as I go and play with | modifing the code. | Thought I should start trying to find my way around the documentation | found on the wxPython web site. | | The problem I have been having is I can't find the methods or more | specifically | | 'SetBackgroundColour' or 'AddSimpleTool' for example. | | How does one find the methods that are available in the classes. | | I tried looking at the wxWidgets web site and still had the same | problem. | | Could someone give me a little direction in this? | | Thanks | Len | -- | http://mail.python.org/mailman/listinfo/python-list -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJirGrZRiDo9Iq4qIRAoReAJ49ojnUSI9tlCLXn3ynrUDqERykywCePuYB FOFMykSlCTgON4Ta3eGLPCM= =0Xq3 -END PGP SIGNATURE- -- http://mail.python.org/mailman/listinfo/python-list
Re: How to find wxPython method documentation??
On Feb 4, 5:49 pm, andrew cooke and...@acooke.org wrote: On Feb 4, 8:06 pm, len lsumn...@gmail.com wrote: How does one find the methods that are available in the classes. heh. welcome to the wonderful world of wxpython :o( if you use eclipse to edit your code, then (providing the wind is in the right direction and the file you are editing doesn't have any syntax errors) pressing F3 when you are on a particular method will take you to the definition. or, at least, one of the definitions with that name. and if you want to see a list of available methods the simplest way is to use tab completion (or dir() in python itself). if you're not using eclipse (with pydev) check to see if the ide/ editor you are using has something similar. also, wxpython comes with some examples, all packaged in a demo program. that is your best source of documentation. go through all the examples in there and look at the code (the demo program will show you the code and even let you edit it and see the results of your changes). to be honest, wxpython is a bit of a nightmare (imho). but the results can be worth it. good luck, andrew I don't think the docs are any worse than any other complicated third party package. Reportlab comes to mind...and the wxPython list members are very helpful. Mike -- http://mail.python.org/mailman/listinfo/python-list
Re: How to find wxPython method documentation??
On Feb 4, 5:06 pm, len lsumn...@gmail.com wrote: Hi I am going through the wxPython in Action book by Noel Rappin and Robin Dunn. I have been typing in the example programs as I go and play with modifing the code. Thought I should start trying to find my way around the documentation found on the wxPython web site. The problem I have been having is I can't find the methods or more specifically 'SetBackgroundColour' or 'AddSimpleTool' for example. How does one find the methods that are available in the classes. I tried looking at the wxWidgets web site and still had the same problem. Could someone give me a little direction in this? Thanks Len In addition to what the others have said, there's also an alternate doc location done up by one guy who seems to have a lot of free time: http://xoomer.virgilio.it/infinity77/wxPython/index.html The wiki is also helpful: http://wiki.wxpython.org/ But I concur that the mailing list is definitely THE place to be to learn the most once you've gotten comfortable with the toolkit. Mike -- http://mail.python.org/mailman/listinfo/python-list
Re: How to find wxPython method documentation??
On Feb 4, 8:06 pm, len lsumn...@gmail.com wrote: How does one find the methods that are available in the classes. heh. welcome to the wonderful world of wxpython :o( if you use eclipse to edit your code, then (providing the wind is in the right direction and the file you are editing doesn't have any syntax errors) pressing F3 when you are on a particular method will take you to the definition. or, at least, one of the definitions with that name. and if you want to see a list of available methods the simplest way is to use tab completion (or dir() in python itself). if you're not using eclipse (with pydev) check to see if the ide/ editor you are using has something similar. also, wxpython comes with some examples, all packaged in a demo program. that is your best source of documentation. go through all the examples in there and look at the code (the demo program will show you the code and even let you edit it and see the results of your changes). to be honest, wxpython is a bit of a nightmare (imho). but the results can be worth it. good luck, andrew -- http://mail.python.org/mailman/listinfo/python-list