Constructor

GtkPlugnew

Declaration [src]

GtkWidget*
gtk_plug_new (
  Window socket_id
)

Description [src]

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_add_id().

Parameters

socket_id

Type: Window

The window ID of the socket, or 0.

Return value

Type: GtkWidget

The new GtkPlug widget.

The data is owned by the called function.