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 try to track those down
and propose fixes.

Stefan

Tomasz Sałaciński wrote:
> 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
> 
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to