Hi all, I have in a library such a signal emission
g_signal_emit(view, MY_SIGNAL, NULL, menu); and from the program I'm connecting a callback to it in the way gboolean my_callback_menu (TYPE_VIEW *view, TYPE_MENU *menu, gpointer userdata) In this callback i basically do that GtkMenuShell *_sh_menu; GtkWidget *item = gtk_menu_item_new_with_label ("foo"); _sh_menu = GTK_MENU_SHELL(menu); gtk_menu_shell_append(_sh_menu, item); to override the menu on the library. What's wrong with this since i can't see the new item? Regards Sal
_______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list