gtkPlugNew {RGtk2} | R Documentation

## gtkPlugNew

### Description

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 `gtkSocketAddId`.

### Usage

    gtkPlugNew(socket.id, show = TRUE)

### Arguments

``socket.id`` | the window ID of the socket, or 0.

### Value

[`GtkWidget`] the new `GtkPlug` widget.

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]