Object Hierarchy:

Object hierarchy for Plug


[ CCode ( type_id = "gtk_plug_get_type ()" ) ]
public class Plug : Window, Implementor, Buildable

Together with Socket, Plug provides the ability to embed widgets from one process into another process in a fashion that is transparent to the user.

One process creates a Socket widget and passes the ID of that widget’s window to the other process, which then creates a Plug with that window ID. Any widgets contained in the Plug then will appear inside the first application’s window.

The communication between a Socket and a Plug follows the XEmbed Protocol. This protocol has also been implemented in other toolkits, e.g. Qt, allowing the same level of integration when embedding a Qt widget in GTK+ or vice versa.

The Plug and Socket widgets are only available when GTK+ is compiled for the X11 platform and gdk_windowing_x11 is defined. They can only be used on a GdkX11Display . To use Plug and Socket, you need to include the `gtk/gtkx.h` header.

Namespace: Gtk
Package: gtk+-3.0



Creation methods:



Inherited Members:

All known members inherited from class Gtk.Window
All known members inherited from class Gtk.Bin
All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor