connectOpenWindow

fun connectOpenWindow(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: () -> Boolean): <Error class: unknown class>

Emitted when the inspector is requested to open in a separate window. If this signal is not handled, a #GtkWindow with the inspector will be created and shown, so you only need to handle this signal if you want to use your own window. This signal is emitted after #WebKitWebInspector::detach to show the inspector in a separate window after being detached.

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

Parameters

connectFlags

A combination of ConnectFlags

handler

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