gnumed-devel
[Top][All Lists]
Advanced

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

Re: [Gnumed-devel] re subclassing vs composition


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] re subclassing vs composition
Date: Mon, 24 Feb 2003 13:24:27 +0100
User-agent: Mutt/1.3.22.1i

Syan,

please only post the to gnu.org list.

> The current method just attaches handlers to widgets already loaded,
> after the widget loading is completed and an app init signal is sent.
I don't understand why plugin init cannot be done in one of
the following places and why an app init signal should be
needed:

a) at plugin load time (in GetWidget() and/or rather in the
   __init__ of the widget that's returned by GetWidget())
b) in a thread kicked off by a) if doing things right away
   would be too time-consuming
b) in a_plugin.ReceiveFocus() as already done in gmShowMedDocs
   and gmManual if we want to delay loading of data files
   until first use of the widget which reduces startup time
   and may reduce overall RAM usage

Why would we need gmSignals.app_init() ?

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346




reply via email to

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