I'm learning wxPython windowing and I'm having trouble. I'm looking at the documentation on http://www.wxpython.org and viewing the API. It doesn't give any examples so I also search the web to better understand what I'm doing. Am I wrong to say that wxPython and just "wx" are different libraries? Some of the function calls from the sample apps do not show up in the wxPython API and I had to import wx to get the samples to work. While I had already "from wxPython import *". I'm just a bit confused.
I'm learning wxPython windowing and I'm having trouble. I'm looking at
the documentation on http://www.wxpython.org and viewing the API. It
doesn't give any examples so I also search the web to better understand
what I'm doing. Am I wrong to say that wxPython and just "wx" are
different libraries? Some of the function calls from the sample apps do
not show up in the wxPython API and I had to import wx to get the
samples to work. While I had already "from wxPython import *". I'm
just a bit confused.
wxPython is the old name space. wx is the new namespace. New features
since the namespace change are only in wx. The old namespace is
deprecated (and remains only for backwards compatability), so your new
code should all use wx.
···
On Wed, 25 Aug 2004 16:11:06 -0600, Junk <junk@centliq.com> wrote:
On Wed, 25 Aug 2004 16:11:06 -0600, Junk <junk@centliq.com> wrote:
Hi,
I'm learning wxPython windowing and I'm having trouble. I'm looking at
the documentation on http://www.wxpython.org and viewing the API. It
doesn't give any examples so I also search the web to better understand
what I'm doing. Am I wrong to say that wxPython and just "wx" are
different libraries? Some of the function calls from the sample apps do
not show up in the wxPython API and I had to import wx to get the
samples to work. While I had already "from wxPython import *". I'm
just a bit confused.
wxPython is the old name space. wx is the new namespace. New features
since the namespace change are only in wx.
Not quite true. The classes and fucntions in the wxPython pacakge are the same ones as in the wx package, they have just been renamed to have the leading 'wx' in their names like everything used to have before the great renaming project began.
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!