Plug.this

Creates a new plug widget inside the #GtkSocket identified by socket_id. If socket_id is 0, the plug is left “unplugged” and can later be plugged into a #GtkSocket by gtk.socket.Socket.addId.

  1. this(void* ptr, Flag!"Take" take)
  2. this(xlib.types.Window socketId)
    class Plug

Parameters

socketId xlib.types.Window

the window ID of the socket, or 0.

Return Value

the new #GtkPlug widget.