Fix key binding to pass on events again

This commit is contained in:
Duncan Ferguson 2011-08-31 21:10:13 +01:00
parent ce4f610905
commit 1d98a078dd

View file

@ -1905,12 +1905,9 @@ sub create_menubar() {
-tearoff => 0, -tearoff => 0,
); );
#$windows{main_window}->bind( $windows{main_window}->bind(
#'<Key>' => \&key_event, '<Key>' => [ $self => 'key_event' ],
#); );
warn 'TODO: fix key even binding';
#$windows{main_window}->bind( '<KeyPress>' => \&{$self->key_event}, );
#$windows{main_window}->bind( '<KeyRelease>' => \&$self->key_event, );
logmsg( 2, "create_menubar: completed" ); logmsg( 2, "create_menubar: completed" );
} }
@ -2143,7 +2140,7 @@ the code until this time.
=item config =item config
=item helper =item config
=item create_menubar =item create_menubar