On Tue, 26 Sep 2000, Hilaire Fernandes wrote:

> Hi,
> 
> I wish that in futur vesion of PyGnome it will be possible to pass
> user data in the ok_cancel, question, request_string methods of the
> GnomeApp object, it's a very elegant way of passing user data to the
> callback and a miss feature in the actual binding.

Those particular functions are very evil, and not designed for
bindings.  They don't provide any way of getting notified when the
callback should be destroyed.  As it is, every call to one of these
functions adds an extra reference to the function.  If we were going to
allow passing in user data, that would also get referenced, and hence
never destroyed.  I am a bit weary of putting more effort into the
bindings for these functions.

> 
> Keep the good work.
> 
> Hilaire Fernandes

James.

-- 
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/



_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to