[406] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: widgets
daemon@ATHENA.MIT.EDU (Josh MacDonald)
Sun Jun 29 03:05:58 1997
From: Josh MacDonald <jmacd@CS.Berkeley.EDU>
To: gtk-list@redhat.com
In-reply-to: Your message of "Sun, 29 Jun 1997 02:57:42 EDT."
<Pine.LNX.3.95.970629025216.7272K-100000@dilbert.redhat.com>
Date: Sun, 29 Jun 1997 00:06:10 -0700
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
> On Sun, 29 Jun 1997 christian.sunesson@abc.se wrote:
>
> > Wouldn't it be cool if all the widgets were in their own dynamic
> > object files so gtk could load them with dl_open ? That way it'd be
> > possible to keep different sets of widgets for the same thing, they'd just
> > look different.
>
> It's possible now, you just dlopen() the file yourself, and call the
> 'gtk_classname_init()' function right after loading it.
There is a problem in the UNIX world of making this sort of thing
easy to do and portable. There's a need for someone to write a package
that manages compile-time and run-time configuration of modular programs
like the original poster requests. Several people do it, but none seem
to be very general.
-josh
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null