I'm sorry John, but I didn't understand what you mean with
win.window.handle... There is such a object like this on native python ?
----- Original Message -----
From: "John Ehresman" <[EMAIL PROTECTED]>
To: "Nicholas" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Wednesday, November 30, 2005 6:00 PM
Subject: Re: [pygtk] Retrieving window Handler
Nicholas wrote:
And for this, I use the Twain Module for Python... And in the method
'twain.SourceManager' he use it. And I'm looking for something like this
in PyGtk...
http://twainmodule.sourceforge.net/docs/quickstarttk.html (twain module
using tk)
http://twainmodule.sourceforge.net/docs/quickstart.html (using wxPython)
This is one of the few instances where you do need the native win32
handle. I'd suggest creating a window (possibly a gtk.Invisible()) and
keeping it around for as long as the program runs. If win is a
gtk.Window object, the win32 handle can be obtained via win.window.handle
after the window is realized.
Note that I've never used twain with or without pygtk, so this may not
work.
Good luck,
John
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/