On Sun, 2005-15-05 at 16:21 -0700, Brian wrote: > I was thinking of including some code to handle both API's so people can > see the difference, and possibly include support for both API's so that > their code can be more flexible. > > I have just been too busy to create a simple code sample and > explanation. I will do one as soon as I get the chance.
Well, I got the chance tonight and modified the tooltips.py tutorial example to use the old or new API. Hopefully it all should work and show how to use both versions of the buttons and tooltips use as well as some checking as to what the pygtk version is to verify which API is available. Can everyone take a look at it and see if there is anything that should be changed. :) -- Brian <[EMAIL PROTECTED]>
tooltip.py
Description: application/python
_______________________________________________ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/