attach


Description:

[ HasEmitter ]
public signal bool attach ()

Emitted when the inspector is requested to be attached to the window where the inspected web view is.

If this signal is not handled the inspector view will be automatically attached to the inspected view, so you only need to handle this signal if you want to attach the inspector view yourself (for example, to add the inspector view to a browser tab).

To prevent the inspector view from being attached you can connect to this signal and simply return true.

Returns:

true to stop other handlers from being invoked for the event. false to propagate the event further.