Re: Dynamic creation of GtkMenuBar from GModule

2007-01-30 Thread Ed Catmur
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_men

Re: Dynamic creation of GtkMenuBar from GModule

2007-01-30 Thread Yeti
On Tue, Jan 30, 2007 at 10:12:15AM +0100, Alessandro Oliva wrote: > is it possible to access the variabile of a main program from a dynamic > module ? If modules want to add items to the menubar, your main program should provide an API for that. Moreover, often it's better when the interface is

Dynamic creation of GtkMenuBar from GModule

2007-01-30 Thread Alessandro Oliva
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);