key bindings



I would like to add custom key bindings to a widget, preferably binding
keys directly to perl subroutines. Now I found in the Gtk reference this
page <http://developer.gnome.org/doc/API/2.0/gtk/gtk-Bindings.html> but
this is totally unhelpful due to the lack of descriptions/explanations.
Could someone show me how to bind a key to a perl sub ?

-- 
   )   (       Jaap Karssenberg || Pardus [Larus]
   :   :       http://pardus-larus.student.utwente.nl/~pardus
 )  \ /  (    
 ",.*'*.,"     Proud owner of "Perl6 Essentials" 1st edition :)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]