Simple question - accelerator keys



Hi there,

Is there a possibility to simply bind a window-global accelerator key to
a callback function? I am writing a GTK+ media player and I want to bind
Left and Right arrow keys to seek media and F key to toggle fullscreen.
I know that I can use gtk_widget_add_accelerator(), but then I have to
create a new signal, which is, let's say, not so easy for me:)

Cheers,
Tom




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