[lazarus] SetCallBack, RemoveCallBack in win32 interface

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Aug 18 05:53:48 EDT 2003


On Sun, 17 Aug 2003 22:18:03 +0200
Vincent Snijders <vslist at zonnet.nl> wrote:

> On Sun, 17 Aug 2003 14:41:42 +0200
> Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
> 
> > On Sun, 17 Aug 2003 14:13:38 +0200
> > Vincent Snijders <vslist at zonnet.nl> wrote:
> > 
> > > Hi,
> > > 
> > > SetCallBack and RemoveCallBack are not used in the win32 interface.
> > > 
> > > Can they be removed or is future use expected?
> > 
> > In the gtk intf they are needed for gtk specific custom components.
> > I guess in the win32 intf too. Strange, that they are private.
> 
> They were private and called from within the win32 interface. Now they
> are public, but they won't be called by the LCL, because LCL only calls
> methods, declared in interfacebase. 
> 
> Who is going to call these functions? There are no other clients, are
> there?

The LCL contains no gtk specific components.
But of course you can write such things. So, the interfaces supports it. For
example the gtkglarea component calls directly the gtk interface. Although
it does not use the Set/Removecallback functions.


Mattias






More information about the Lazarus mailing list