[pygtk] grab_add not found [1.99.13]

george young gry@ll.mit.edu
Tue, 29 Oct 2002 14:55:20 -0500


[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):
...     if w.lower().find('grab') != -1:
...             print w
CROSSING_GRAB
CROSSING_UNGRAB
GRAB_ALREADY_GRABBED
GRAB_FROZEN
GRAB_INVALID_TIME
GRAB_NOT_VIEWABLE
GRAB_SUCCESS

>>> for w in dir(gtk):
...     if w.lower().find('grab') != -1:
...             print w
HAS_GRAB
grab_get_current

-- 
 I cannot think why the whole bed of the ocean is
 not one solid mass of oysters, so prolific they seem. Ah,
 I am wandering! Strange how the brain controls the brain!
	-- Sherlock Holmes in "The Dying Detective"