Kevin,
Kevin,
Yes, the silence is deafening about the document view architecture. I think it needs to be done and since I am writing a book on a related topic I may as well do it.
As much as this seems contradictory, I do agree with you on doing it in Python if you can, but there is also the other school of thinking that needs to be addressed. People become acclimated to working in a framework and they like to stay within that framework. A classic case in point is the Microsoft Foundation Classes. Personally I like the CString class in MFC more than the standard C++ string class. People that program on wxWindows and use the wxString class may prefer this also for the same reason. (However the rules do change in Python and people should adopt the standard Python data types - I agree wholeheartedly.)
As far as the other classes to port, the Interprocess Communication and Streams classes would be an interesting exercise. I am open to suggestions from anyone on the value of classes outside of the mainstream wxWindows GUI classes being ported. This may save me some work.
Regards,
Gary
路路路
-----Original Message-----
From: Kevin Altis [mailto:altis@semi-retired.com]
Sent: Friday, March 08, 2002 9:31 PM
To: wxpython-users@lists.wxwindows.org
Subject: RE: [wxPython] wxWindows Book
From: Gary Young
There are a few classes that are not stricly GUI in nature.
Also, I had earlier alluded to wrapping some of the wxWindows
classes (starting with document/view which are GUI in nature) and
some other people I know have talked about wrapping a
significant portion of the wxWindows framework.
Wrapping doc/view probably makes sense, but when I enquired on wx-dev and
wx-users in the past whether anyone actually used the wxWindows doc/view
framework the silence was deafening.
However, at this stage, it is essentially a GUI framework. But it
has a lot of potential to be extended and would make it much
easier for the non-C++ programmer to use in performing more
complex programming tasks. But you are correct, it is very
convenient for doing GUIs and that is it's major purpose at this time.
This part I don't understand from the point of a Python programmer. It seems
to only make sense if you wanted to program in a variety of languages, but
always programs to the wxWindows API for non-GUI classes. As has been stated
on this list recently and in the past, most of the wxWindows classes which
aren't wrapped in wxPython are not wrapped because there is a more
convenient or better library, class, method, etc. already in Python. The
rule of thumb is if Python already does it, don't wrap a wxWindows class for
that functionality.
Are there specific wxWindows classes that you have in mind that Python
doesn't handle?
ka
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users