472,982 Members | 2,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,982 software developers and data experts.

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
4 1525
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Shagshag | last post by:
hello, does anyone know of a full python + wxWindows email client ? google didn't help me... thanks,
0
by: Frank Bechmann | last post by:
I started to write a SciTe director in python. I had a very basic communication running in Pythonwin but I disliked the strong mixture between Pythonwin's basic functionality and the Pythonwin...
20
by: Ben Finney | last post by:
Howdy all, Just when we thought things were looking up on the whole "Windows as a trademark" for something that Microsoft didn't originate in the first place. The wxWindows project have...
0
by: Kenneth Payne | last post by:
I'm just experimenting with wxPython coding with wxWindows on SuSE 9.0. However, my application looks awful. And it's not my code - the demo apps look awful too. The font is ugly (every font you...
3
by: Kenneth McDonald | last post by:
If this is not an appropriate newsgroup for this type of posting, please let me know and (if possible) suggest an alternative. I've done a fair bit of research on the net, but information is...
0
by: Laura Lucas | last post by:
Hi I would like to use cygwin with Dev-c++ but i dont know how, i would need step by step instructions starting from scratch, i tried very hard already. things i already done: install cygwin,...
0
by: andrei.zavidei | last post by:
Hi guys, Well, here is my humble contribution to the community: http://sourceforge.net/projects/erocket I started that project to learn Python and wxWindows. By all means, I am no Python...
1
by: Ivan Voras | last post by:
Is it possible to draw a widget or a window in an off-screen buffer? What I'm trying to do is capture rendered HTML to a bitmap (in other words, something like html2bitmap) by using wxWindows' HTML...
2
by: frikk | last post by:
This should be a very simple one, sorry! I installed wxWindows on my OS X box but I am unable to get my python install to recognize the module. Unfortunately I don't know a whole lot about...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.