On Tue, 2007-01-30 at 10:12 +0100, Alessandro Oliva wrote: > is it possible to access the variabile of a main program from a dynamic > module ? > > example: > > a menu is created in the main program, a function in one dynamic module > (created with GModule) > call: > > menuitem_test = gtk_menu_item_new_with_mnemonic ("_TEST"); > gtk_widget_show (menuitem_test); > gtk_container_add (/top_menubar/, menuitem_test); > > > where /top_menubar/ is created in the main program
You should be using GtkUIManager for that. Pass the application's GtkUIManager into the setup function for the module. Ed _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list