Simple question - accelerator keys

2007-08-30 Thread Tomasz Sałaciński
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

Re: Simple question - accelerator keys

2007-08-31 Thread Stefan Kost
Hi, I am currently trying to figure out something simillar. Unfortunately it seems that accelerators are only used for menues in most applications. If you check gnome-bugzilla - it has several open bugs for accelerators. I recently fixed one and right now prepared a test program for another. Lets