469,923 Members | 1,745 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

wxPython widgets

Hello!
I've downloaded wxPython and have been playing with the demo. It seems as
if wxPython comes with more widgets that wxWidgets itself? I assume they
are just additional widgets provided with wxPython, built using wxWidgets?
Is this correct? Or are all the same widgets available in wxPython also
directly provided for in wxWidgets?
Thanks!
Jul 18 '05 #1
3 2041
> if wxPython comes with more widgets that wxWidgets itself? I assume they
are just additional widgets provided with wxPython, built using wxWidgets?


Probably. Tkinter does the same thing (the tkSimpleDialog "widget" is pure
Python).

Jul 18 '05 #2
Christopher T King <sq******@WPI.EDU> wrote:
if wxPython comes with more widgets that wxWidgets itself? I assume they
are just additional widgets provided with wxPython, built using wxWidgets?
Probably. Tkinter does the same thing (the tkSimpleDialog "widget" is pure
Python).


Yeah, wxPython does have it's own widgets, which I assume are written
in C++ for wxWidgets with a Python wrapper, and are not specifically
coded in Python (so could be used for C++ apps too?)

I personally like the wx.lib.dialogs.ScrolledMessageDialog - makes a
very nice about/changelog dialog, although I think that comes from
PythonCard?
Jul 18 '05 #3
si************@yahoo.co.uk (simo) writes:
Yeah, wxPython does have it's own widgets, which I assume are written
in C++ for wxWidgets with a Python wrapper, and are not specifically
coded in Python (so could be used for C++ apps too?)
I believe everything under wx.lib is pure Python, although in many
cases it subclasses existing wxWidgets widgets to extend them. Also
over time some of them have been replaced by wxWidgets core additions.
I personally like the wx.lib.dialogs.ScrolledMessageDialog - makes a
very nice about/changelog dialog, although I think that comes from
PythonCard?


Could be - you can see the source in the dialogs.py file in the
wxPython distribution, and the comments indicate they were supplied by
Kevin Altis who also develops for PythonCard. Not sure which came
first though -)

-- David
Jul 18 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by Grant Edwards | last post: by
2 posts views Thread by Taki Jeden | last post: by
25 posts views Thread by BJörn Lindqvist | last post: by
14 posts views Thread by Rod W | last post: by
44 posts views Thread by bg_ie | last post: by
8 posts views Thread by Janwillem | last post: by
reply views Thread by Guilherme Polo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.