Can someone please explain to me this code?

Soumen banerjee soumen08 at gmail.com
Sun May 3 05:43:32 CEST 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