gtk.Plug — A toplevel window for embedding into other processes.
gobject.GObject+-- gtk.Object +-- gtk.Widget +-- gtk.Container +-- gtk.Bin +-- gtk.Window +-- gtk.Plug
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
and, passes the ID of that widgets window to the other process, which then
gtk.Plug with that
window ID. Any widgets contained in the
gtk.Plug then will
appear inside the first applications window.
|the window ID of the socket, or 0.|
Creates a new
gtk.Plug widget inside
socket_id is 0, the plug is left "unplugged" and can
later be plugged into a
gtk.Socket by the
|the window ID of the socket|
This method is not available in PyGTK 2.2 and above.
|the window ID for the plug|
This method is available in PyGTK 2.14 and above.
get_embedded() method determines whether
the plug is embedded in a socket.
|the window ID of the socket's window.|
This function is available in PyGTK 2.2 and above.
|the plug that received the signal|
|the first user parameter (if any) specified
with the |
|additional user parameters (if any)|
The "embedded" signal is emitted when the plug window is reparented to the socket window.