Simon Dahlbacka schrieb:
> On Fri, Nov 28, 2008 at 10:46 PM, Thomas Heller <[EMAIL PROTECTED]> wrote:
>> Does Python need a native, pure Python, Windows GUI toolkit, one that uses
>> win32 api calls directly to use native windows controls?
> 
> How does it differ from http://venster.sourceforge.net/ ?

The toolkit that I have written uses some good ideas (imo) from pythoncard;
it was born approximately at the same time.  Some examples:

Named widgets: the container window has a .components collection which allows
to access subwindows by name.

Binding of event handlers by name:  If a button is named OKButton for example
then a 'on_OKButton_clicked(self, event)' method implemented in the container
window is called when the button is clicked.  If it is not defined, a
'on_clicked(self, event)' method is tried.

Easy access to the raw windows events:  The button window itself
implements a '_BN_CLICKED(self, hwnd, msg, wParam, lParam)' method that can be
overridden if needed.

-- 
Thanks,
Thomas

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to