Its a gtk+ bug!
Files as http://bugzilla.gnome.org/show_bug.cgi?id=469374 with a patch.
After adding a g_signal_emit() as a workaround it works too.
gtk_window_add_accel_group(GTK_WINDOW(window),GTK_ACCEL_GROUP(user_data));
g_signal_emit_by_name (window, "keys-changed", 0);
Stefan
Stefa
hi,
more research and a standalone test (attached and via web [1]). The good news
are that gtk+ supports multiple accel maps and that those can be even
dynamically switched (activated/deactivated). The issue seems that a new
accel_map needs to be added to the window before adding any accelerators.
Hi,
Dunno if this is a bug/limmitation in gtk+. I now moved the
GtkAccelGroup to my ui-resource singleton and it works. That means I
use only *one* accel_group.
I have a toplevel window with views (tabs). Before I was creating a
separate one for my popup menu and adding/removing to the windo
Thanks Peter,
After I read your answer I started searching for eaxmples And yes in
this list I found a good example.
So next time I have to search a little better I guess.
Thanks a lot for your answer.
Best Regards
Martijn
On 8/21/07, Peter Clifton <[EMAIL PROTECTED]> wrote:
>
>
> On T