Re: gtk_window_propagate_key_event



On 11.11.20 10:59, Jeff via gtk-perl-list wrote:
The following doesn't work, as the $window and $event data isn't passed on:

     $window->signal_connect(
       "key-press-event" => Gtk3::Window::propagate_key_event);
     $window->signal_connect(
       "key-release-event" => Gtk3::Window::propagate_key_event);

Aren't you missing "\&" here to take a reference of
Gtk3::Window::propagate_key_event instead of calling it directly?

-Torsten


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