Dynamic creation of GtkMenuBar from GModule



Hy list!

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


Some suggestion?

Alessandro



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