[Gambas-devel] Gambas Interface

Benoit Minisini gambas at ...1...
Tue Apr 27 21:54:48 CEST 2004


On Tuesday 27 April 2004 21:49, Daniel wrote:
> > But why do you need the parent of the socket ?
> > I could add a GB.GetParent() API, but you should never need that.
>
> When receiving a read or write callback, I have to raise events if there
> was any error, or modify any of the properties in the Socket object...
>

When you want to raise event, you use GB.Raise() on the socket, and the event 
is sent to the parent automatically. You don't need accessing the parent 
yourself ?

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the Devel mailing list