Gtk.Plug.new_for_display
function new_for_display(display:Gdk.Display, socket_id:xlib.Window):Gtk.Widget {
    // Gjs wrapper for gtk_plug_new_for_display()
}Create a new plug widget inside the Gtk.Socket identified by socket_id.
Since 2.2
- display
 the Gdk.Display on which socket_id is displayed
- socket_id
 the XID of the socket's window.
- Returns
 the new Gtk.Plug widget.