[pygtk] Win32 file chooser

Chris Lambacher chris at kateandchris.net
Fri Mar 10 01:21:55 WST 2006


On Thu, Mar 09, 2006 at 04:39:50PM +1100, John Pye wrote:
> I've posted a working version of this direct from the demo scripts in
> the win32all package.
> 
> See http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq21.013.htp
This version should be better than mine since you can set the parent window.
The MCF wrapped version requires you to provide a MFC window as the parent.  

You need to set the hwndOwner parameter of GetSaveFileNameW or GetOpenFileNameW to gtk_parent_window.window.handle

-Chris



More information about the pygtk mailing list