[pygtk] grab_add not found [1.99.13]

Christian Reis kiko@async.com.br
Tue, 29 Oct 2002 17:09:00 -0300


On Tue, Oct 29, 2002 at 02:55:20PM -0500, george young wrote:
> [pygtk-1.99.13, gtk+-2.1.1]
> I can't find grab_add in pygtk.  
> I see references to it in the pygtk source directory, but it doesn't
> seem to be accessible.  My usual hack doesn't find it:
> 
> >>> import gtk
> >>> import gtk.gdk
> >>> for w in dir(gtk.gdk):

Maybe it's gone in pygtk2. It used to be:

    gtk.grab_add(widget)

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL