Gtk::ActionGroup in two Gtk::UIManager



Hello!

It's possible to use an ActionGroup in more than one UIManager?

I like to construct a popup menu with a separate UIManager with usage of an existing ActionGroup used by another UIManager.

It works ok so far just that on destruction of the UIManager/ActionGroup the gtk+ runtime print out several errors:

(easyEDD.exe:4591): Gtk-CRITICAL **: _gtk_accel_map_remove_group: assertion `entry != NULL' failed

(easyEDD.exe:4591): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer

(easyEDD.exe:4591): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(easyEDD.exe:4591): Gtk-CRITICAL **: gtk_accel_group_disconnect: assertion `GTK_IS_ACCEL_GROUP (accel_group)' failed


Regards,
Frank



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]