[pygtk] Win32 file chooser
jpe at wingware.com
Fri Mar 10 01:32:42 WST 2006
Chris Lambacher wrote:
> 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
You may also want to create a win32 timer w/ SetTimer and periodically
do a gtk main loop iteration so that other windows can be repainted and
idle / timeouts run. I know this works from C code, but I haven't tried
it with win32all.
More information about the pygtk