Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-08

SetCallBack, RemoveCallBack in win32 interface

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders

Hi,

SetCallBack and RemoveCallBack are not used in the win32 interface.

Can they be removed or is future use expected?

Vincent.

Reply by email

Vincent Snijders
to Vincent Snijders
Show quoted text 11 lines
On Sun, 17 Aug 2003 14:13:38 +0200 Vincent Snijders 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?

Vincent.

Reply by email

Mattias Gaertner
to Vincent Snijders: SetCallBack and RemoveCallBack are not used in the win32 interface. Can they be removed…
Show quoted text 21 lines
On Sun, 17 Aug 2003 14:41:42 +0200 Mattias Gaertner wrote: > On Sun, 17 Aug 2003 14:13:38 +0200 > Vincent Snijders 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

Reply by email