Hi guys,

Where in C you would have something along the lines of:

 switch (event->keyval) {
   case GDK_Left: ...
   case GDK_BackSpace: ...
   ...
}

What is your preferred code style to handle that in Python? How about
more than one keyval triggering the same action?

Thanks
Christian
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to