void GB.Attach ( void *object , void *parent , const char *name )
Defines the event observer of an object, i.e. the parent object that will receive all the events it will raise.
If the object already has an event observer, it is detached from it, and then attached to the new one.