Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Convenient Construction Signals Properties Author(s) References
Toplevel for embedding into other processes
gtkPlugConstruct(object, socket.id)
gtkPlugConstructForDisplay(object, display, socket.id)
gtkPlugNew(socket.id, show = TRUE)
gtkPlugNewForDisplay(display, socket.id)
gtkPlugGetId(object)
gtkPlugGetEmbedded(object)
gtkPlugGetSocketWindow(object)
gtkPlug(socket.id, show = TRUE)
1 2 3 4 5 6 7 8 |
GtkPlug implements
AtkImplementorIface and GtkBuildable
.
Together with GtkSocket
, GtkPlug
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 GtkSocket
widget and passes the
ID of that widget's window to the other process,
which then creates a GtkPlug
with that window ID.
Any widgets contained in the GtkPlug
then will appear
inside the first application's window.
PLEASE NOTE: The GtkPlug
and GtkSocket
widgets are currently not available
on all platforms supported by GTK+.
GtkPlug
undocumented
gtkPlug
is the equivalent of gtkPlugNew
.
embedded(plug, user.data)
Gets emitted when the plug becomes embedded in a socket.
plug
the object on which the signal was emitted
user.data
user data set when the signal handler was connected.
embedded
[logical : Read]TRUE
if the plug is embedded in a socket.
Default value: FALSE Since 2.12
socket-window
[GdkWindow
: * : Read]The window of the socket the plug is embedded in. Since 2.14
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkPlug.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.