Plug.newForDisplay

gtk.plug.Plug newForDisplay(gdk.display.Display display, xlib.types.Window socketId)

Create a new plug widget inside the #GtkSocket identified by socket_id.

Parameters

displaythe #GdkDisplay on which socket_id is displayed
socketIdthe XID of the socket’s window.

Returns

the new #GtkPlug widget.