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) >

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 (men

Re: GModule

2007-01-29 Thread Christian Neumair
Am Sonntag, den 28.01.2007, 23:30 -0500 schrieb Jordan Walsh: Why don't you use a hash table to map all symbols to their GModules after calling g_module_symbol()? > Hi all. I need to be able to see from what library (using GModule) a > certain > symbol comes from. In my main

Re: GModule

2007-01-29 Thread Lance Dillon
- Original Message From: Jordan Walsh <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Sunday, January 28, 2007 11:30:02 PM Subject: GModule Hi all. I need to be able to see from what library (using GModule) a certain symbol comes from. In my main program when a

GModule

2007-01-28 Thread Jordan Walsh
Hi all. I need to be able to see from what library (using GModule) a certain symbol comes from. In my main program when a plugin unloads I need to be able to de-reference any pointers to its functions. I cannot however seem to figure out how to see what module that function resides in. Thanks

Re: Building module compatiable with GModule

2006-07-23 Thread Yeti
On Sun, Jul 23, 2006 at 07:58:46PM +0200, Tomasz Jankowski wrote: > I can't find any information about building plugins, which can be loaded by > GModule under Linux. You can however find lots of examples of modules directly in Gtk+: pixbuf loaders, input methods, theme engines.

Building module compatiable with GModule

2006-07-23 Thread Tomasz Jankowski
Hie! I can't find any information about building plugins, which can be loaded by GModule under Linux. How can I build plugin? Should I use libtool to do it, or there is other way? If libtool is good tool for that, should I build plugin wth some specific libtool's options? -- Pozdr

Re: building modules/plugins (GModule) in a portable way

2005-12-31 Thread David Necas (Yeti)
On Thu, Dec 29, 2005 at 01:15:02PM +0100, Olivier Sessink wrote: > we have excellent portable GModule functions for module loadingin glib, > but how do we compile them in a portable way? I thought libtool was the > solution, but I have little success there. > > My plugin uses s

building modules/plugins (GModule) in a portable way

2005-12-29 Thread Olivier Sessink
Hi all, we have excellent portable GModule functions for module loadingin glib, but how do we compile them in a portable way? I thought libtool was the solution, but I have little success there. My plugin uses symbols that are exported by the application, and the plugin exports a single symbol