Can someone please explain to me this code?

Soumen banerjee soumen08 at gmail.com
Sat May 2 23:43:32 EDT 2009


Hello,
I'd like a little more help with the following lines:
				
root.change_attributes(event_mask = X.KeyPressMask)

        for keycode in keys:
            root.grab_key(keycode, X.AnyModifier, 1,X.GrabModeAsync,
X.GrabModeAsync)

what exactly do they do?
regards
Soumen



More information about the Python-list mailing list