LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Gtk+, C, setting an accel path for a GtkToolItem? (https://www.linuxquestions.org/questions/programming-9/gtk-c-setting-an-accel-path-for-a-gtktoolitem-391856/)

redarrow 12-12-2005 06:08 AM

Gtk+, C, setting an accel path for a GtkToolItem?
 
Hi all,

Does anyone know how to set an accel path on a GtkToolItem??

I tried using something like: gtk_widget_set_accel_path(GTK_WIDGET(tool_item), "<whatever>/whereever");

This results in Gtk spewing out error on application startup, like so:
Gtk-CRITICAL **: gtk_widget_set_accel_path: assertion `GTK_WIDGET_GET_CLASS (widget)->activate_signal != 0' failed


I have been scouring the web for a clue to no avail,
I've also asked on several irc channels and the gtk-app-devel mailing list,
but haven't even received so much as a "it can't be done" :mad:

Any clues anyone?

Thanks!


All times are GMT -5. The time now is 06:45 PM.