gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] switchable layout managers


From: Ian Haywood
Subject: Re: [Gnumed-devel] switchable layout managers
Date: Tue, 20 Jul 2004 13:28:22 +1000

On Mon, 19 Jul 2004 12:41:52 +0200
Karsten Hilbert <address@hidden> wrote:

> If you do that you forego the ability to reuse the functional
> GUI part in custom clients by hardcoding the assumption that
> this functional part of the GUI is a layout manager plugin, or
> even a notebook plugin. Again, the *functional* part couldn't
> care less whether it's instantiated in a plugin wrapper or in
> a simple standalone frame or whatever.
Fair enough, I see your point.

Nevertheless, I would like to rework the plugin loading code somewhat.
Currently we call gmPlugin.register () to load plugins
This forced the layout managers to expose a lot of their internal objects via 
gmGuiBroker (). Back in '02 I thought this was rather clever
(but I was still a medical student then of course), now IMHO
this interaction should be internal to the layout manager,
plugin objects just publish their attributes (to wit, name, widget and toolbar)
which  the layout manager uses as it loads them.

> > The Terry layout would look under client/bitmaps to see if an icon exists
I promoted icons as they are smaller than labels so we can fit more tabs on the 
notebook.
On second thoughts, we are going to get icon overload (as there will 2 rows of 
icons)
and in reality people won't be loading ~20 odd plugins.

Ian

-- 
PGP public key E750652E at wwwkeys.pgp.net
9BF0 67B7 F84F F7EE 0C42  C063 28FC BC52 E750 652E

Attachment: pgpCu1BcMjEvk.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]