Re: [gtkmm] Is there plug in support?
- From: murrayc t-online de (Murray Cumming)
- To: Mark Jones <mark jones106 verizon net>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Is there plug in support?
- Date: 27 Dec 2002 20:20:50 +0100
Maybe you need CORBA, or libbonobo*mm.
On Fri, 2002-12-27 at 19:22, Mark Jones wrote:
> Is there plug in support available for gtkmm?
>
> Here is what I am thinking of, and I assume a plug in is the best
> concept:
> I have a base class, and from that I derive a plug in. At run time, I
> somehow load the object file (maybe it sits in a plug in directory of
> which all files within are loaded and presentable in a gtkmm program for
> selection by the user), query it for properties, allowing the user to
> set those properties (and the program then setting them by sending back
> to the object the property name and value), then call the run() method
> of that plug in, which then uses those just previously set properties to
> do something. The plug in itself would not be a gtkmm related object at
> all though. And, the main gtkmm program has no knowledge of what might
> be written for it to run later, and that is why I think of it as a plug
> in, but since the plug ins are derived from a base class, the program
> would know what functions it should be able to call in the plug in.
>
> It looks like glib might support something along these lines, but I do
> not see all of what I am thinking of:
> http://developer.gnome.org/doc/API/2.0/glib/glib-Dynamic-Loading-of-Modules.html
>
> That page also does not have a lot of information to get started with
> either.
--
Murray Cumming
murray usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]