Gtk.Socket.prototype.get_plug_window

function get_plug_window():Gdk.Window {
    // Gjs wrapper for gtk_socket_get_plug_window()
}

Retrieves the window of the plug. Use this to check if the plug has been created inside of the socket.

Since 2.14

Returns

the window of the plug if available, or null