467,074 Members | 906 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,074 developers. It's quick & easy.

How is wxWindows related to Python?

My question will sound daft to the good old craftsmen, but they will
excuse my nescience on the subject. I come new to the Pythonic world
from the land of .NET languages, VB6 and some familiarity in C and C++.

I just read about wxWindows last night. From my understanding, it is a
GUI framework like MFC that lets you create UI apps with ease calling a
standard set of API accross multiple platforms (unlike MFC) and if the
Windows port is complementary to MFC in that it shields you from
calling the Win32 API directly.

However, I do not understand its correlation with Python. The
documentation page says, "wxWindows 2.4.2: A portable C++ and Python
GUI toolkit." So, my question is, "How is wxWindows related to Python?"

Oct 2 '05 #1
  • viewed: 1338
Share:
4 Replies
I guess it is referring to the closely related (maybe even same dev
group? I don't know why the wxWindows docs would mention Python unless
they specifically support the wxPython project, too.)

"wxWindows + Python = wxPython

wxPython is a Python extension module that provides a set of bindings
from the wxWindows library to the Python language. In other words, the
extension module allows Python programers to create instances of
wxWindows classes and to invoke methods of those classes.

More from this Chapter:

∑ Using Tkinter

∑ Using PythonWin

The wxPython extension module attempts to mirror the class hierarchy of
wxWindows as closely as possible. This means that there is a wxFrame
class in wxPython that looks, smells, tastes, and acts almost the same
as the wxFrame class in the C++ version.

wxPython is close enough to the C++ version that the majority of the
wxPython documentation is actually annotations to the C++ documentation
that describe the places where wxPython is different. There is also a
series of sample programs included, and a series of documentation pages
that assist the programmer in getting started with wxPython. "
http://www.onlamp.com/pub/a/python/e.../wxpython.html

http://www.wxpython.org/

Oct 2 '05 #2
That is a reference to wxPython. wxPython is a thin wrapper around
the wxWidgets c++ library. But really, it has grown quite a bit
lately and has a bunch of neato widgets that aren't included with
wxWidgets c++.

Visit www.wxpython.org.

jw

On 1 Oct 2005 18:36:06 -0700, Sathyaish <sa*******@gmail.com> wrote:
My question will sound daft to the good old craftsmen, but they will
excuse my nescience on the subject. I come new to the Pythonic world
from the land of .NET languages, VB6 and some familiarity in C and C++.

I just read about wxWindows last night. From my understanding, it is a
GUI framework like MFC that lets you create UI apps with ease calling a
standard set of API accross multiple platforms (unlike MFC) and if the
Windows port is complementary to MFC in that it shields you from
calling the Win32 API directly.

However, I do not understand its correlation with Python. The
documentation page says, "wxWindows 2.4.2: A portable C++ and Python
GUI toolkit." So, my question is, "How is wxWindows related to Python?"

--
http://mail.python.org/mailman/listinfo/python-list

Oct 2 '05 #3
Sathyaish wrote:
However, I do not understand its correlation with Python. The
documentation page says, "wxWindows 2.4.2: A portable C++ and Python
GUI toolkit." So, my question is, "How is wxWindows related to Python?"


"Pure" wxWindows (actually it's been renamed wxWidgets at the demand of
Microsoft) is for C++. You're looking for wxPython: http://wxpython.org/
--
Benji York

Oct 2 '05 #4
Thanks, guys.

Oct 2 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Shagshag | last post: by
reply views Thread by Frank Bechmann | last post: by
20 posts views Thread by Ben Finney | last post: by
reply views Thread by Kenneth Payne | last post: by
3 posts views Thread by Kenneth McDonald | last post: by
reply views Thread by andrei.zavidei@gmail.com | last post: by
1 post views Thread by Ivan Voras | last post: by
2 posts views Thread by frikk | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.