gdk-sharp System.Delegate System.Void Event sender. Event arguments. Event handler. The event utilizes this delegate: Event data is passed via the parameter. To attach a to an event, add the CreateSurfaceHandler instance to the event. The methods referenced by the CreateSurfaceHandler instance are invoked whenever the event is raised, until the CreateSurfaceHandler is removed from the event.