473,800 Members | 3,038 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

wxPython support non-GUI classes from wxWidgets?

I've been poking around the wxPython website and am unclear if wxPython has
a wrapper for ALL wxWidget classes or just the GUI-related classes? Does
wxPython also provide a python wrapper for the wxWidget non-GUI classes such
as: ODBC, printing, threading, interprocess communication, XML, streams,
etc.

I realize Python provides many of these facilities natively but through
wxPython, can I use the wxWidget versions instead?

Thanks!
Jul 18 '05 #1
3 1606
USCode wrote:
I've been poking around the wxPython website and am unclear if wxPython has
a wrapper for ALL wxWidget classes or just the GUI-related classes? Does
wxPython also provide a python wrapper for the wxWidget non-GUI classes such
as: ODBC, printing, threading, interprocess communication, XML, streams,
etc.

I realize Python provides many of these facilities natively but through
wxPython, can I use the wxWidget versions instead?


The docs, somewhere, note that primarily only the functionality that
is *not* duplicated by existing Python functionality is provided.
I believe that includes at least XML, threading, and anything to do
with networking, and probably other things. (Going entirely by
memory here, from the last time I read this stuff, well over a
year ago. I can find the exact location of the notes, if you aren't
able to.)

-Peter
Jul 18 '05 #2
"Peter Hansen" <pe***@engcorp. com> wrote

The docs, somewhere, note that primarily only the functionality that
is *not* duplicated by existing Python functionality is provided.
I believe that includes at least XML, threading, and anything to do
with networking, and probably other things. (Going entirely by
memory here, from the last time I read this stuff, well over a
year ago. I can find the exact location of the notes, if you aren't
able to.)

Thanks Peter. I guess what confused me was that the wxPython doc refers to
the wxWidgets doc as it's official documentation. But elsewhere on the
wxPython site it implies that only the GUI wxWidget functionality has Python
wrappers provided. Is there a list somewhere of all the wxWidget classes
that have wxPython wrappers currently available?
Jul 18 '05 #3
USCode wrote:
"Peter Hansen" <pe***@engcorp. com> wrote
The docs, somewhere, note that primarily only the functionality that
is *not* duplicated by existing Python functionality is provided.
I believe that includes at least XML, threading, and anything to do
with networking, and probably other things. (Going entirely by
memory here, from the last time I read this stuff, well over a
year ago. I can find the exact location of the notes, if you aren't
able to.)


Thanks Peter. I guess what confused me was that the wxPython doc refers to
the wxWidgets doc as it's official documentation. But elsewhere on the
wxPython site it implies that only the GUI wxWidget functionality has Python
wrappers provided. Is there a list somewhere of all the wxWidget classes
that have wxPython wrappers currently available?


That could be a good question for the wxPython mailing list. :-)

In lieue of other info, the directories in the wxPython installation
would probably be pretty revealing in that respect, if not comprehensive.

-Peter
Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1443
by: Doug Farrell | last post by:
Hi all, I just installed the wxPython-2.4.1.2 demo RPM on my RedHat Linux 9.0 machine, which has Python 2.2.2 on it, and I'm having a problem running the demo.py program. Here is a trace of the results: python demo.py The font "-*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-1, -*-arial-medium-r-normal--12-*-*-*-*-*-iso8859-1, -*-helvetica-medium-r-normal--12-*-*-*-*-*-iso8859-15,
1
6001
by: wang xiaoyu | last post by:
Hello: i want use activex in wxpython program,but when i use MakeActiveXClass an exception occurs. this is my source code dealing the DICOM ocx.I must note that in this program "hwtxcontrol" is a ocx developed my me use vc6,this ocx works fine in wxpython. but you can see i only change this ocx with a new DICOM ocx and set up eventClass,
7
11908
by: SeeBelow | last post by:
Do many people think that wxPython should replace Tkinter? Is this likely to happen? I ask because I have just started learning Tkinter, and I wonder if I should abandon it in favor of wxPython. Mitchell Timin -- "Many are stubborn in pursuit of the path they have chosen, few in
3
1696
by: USCode | last post by:
Hello Do any of the wxPython IDE's available support *all* the widgets currently available with wxPython? Also, is there one IDE in particular that stands out as superior to the others in support of wxPython? Thanks!
2
2768
by: Daniel Bickett | last post by:
Hello, I am writing an application using two event-driven libraries: wxPython, and twisted. The first problem I encountered in the program is the confliction between the two all-consuming methods of the two libraries: app.MainLoop, and reactor.run. Additionally, the fact that wxPython was to receive requests from the twisted framework as well as the end user seemed to be simply asking for trouble. My initial solution was, naturally,...
14
7516
by: Erik Bethke | last post by:
Hello All, I am getting an error of not well-formed at the beginning of the Korean text in the second example. I am doing something wrong with how I am encoding my Korean? Do I need more of a wrapper about it than simple quotes? Is there some sort of XML syntax for indicating a Unicode string, or does the Elementree library just not support reading of Unicode? here is my test snippet:
10
4979
by: Mario | last post by:
Hello all, I'm trying hard to make possible to print some simple text from python to the default printer using wxPython, after days of internet searches I found this page: http://wiki.wxpython.org/index.cgi/Printing but is impossible to use this script even if I do exactly as said there. I think the script is buggy or I am not able to use it, even if seems very simple to use... Anyone can give me an hint on how to easily and simply print...
9
2770
by: amhoov | last post by:
Hi all, I'm trying to install wxPython on Debian using 'apt-get install python-wxgtk2.4.' I've got both Python 2.3 and 2.4 installed with 2.4 set as my default. For whatever reason, wxPython always installs under /usr/lib/python2.3/site-packages. Does anyone know how I can force it to install in 2.4's site-packages directory?
7
2320
by: Mr. Roboto | last post by:
Folks: I want to embark on a project to add Python (actually, wxPython or PythonWin) to a new Windows app I want to start writing soon. Essentially, I want to take VB6 (or pos Delphi) and construct the app framework/core functionality using one of those languages, then extend the app w/ Python, the same way one can extend the MS Office apps using VBA. The core Python docs provide the fundamental info one needs to get started. But, I've...
8
3725
by: Janwillem | last post by:
Is there a way to force the wx.FileDialog to show as default the thumbnails vie in stead of list view? thanks, janwillem
0
9689
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9550
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10495
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10248
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7573
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4148
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.