Gtk.Plug.prototype.construct_for_display

function construct_for_display(display:Gdk.Display, socket_id:xlib.Window):void {
    // Gjs wrapper for gtk_plug_construct_for_display()
}

Finish the initialization of plug for a given Gtk.Socket identified by socket_id which is currently displayed on display. This function will generally only be used by classes deriving from Gtk.Plug.

Since 2.2

display

the Gdk.Display associated with socket_id's Gtk.Socket.

socket_id

the XID of the socket's window.