Class Index Cross Index Namespace Index

Class Gtk::Plug

Toplevel for embedding into other processes.
Contained in: Gtk
Derived from: Gtk::Window
Derived by: none

#include <gtk--/plug.h>


public function member index:

Plug(guint32 socket_id);
GtkPlug* gtkobj();
const GtkPlug* gtkobj() const;
static bool isA(Object* object);
virtual ~Plug();
 

Description:

Together with Gtk::Socket, Gtk::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 Gtk::Socket widget and, passes the XID of that widgets window to the other process, which then creates a Gtk::Plug window with that XID. Any widgets contained in the Gtk::Plug then will appear inside the first applications window.


Function Member Descriptions:

Gtk::Plug::gtkobj - Returns the underlaying gtk+ object.

GtkPlug* gtkobj();

Gtk::Plug::isA - Returns true if object is this type.

static bool isA(Object* object);