James Henstridge writes:
 > 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.

Well, in this case you may better removing these function so developper
will use cleaner implementation.

Thanks for the info.

Hilaire

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

Reply via email to