GtkPlug

GtkPlug

Toplevel widget for embedding into other processes.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkBin
                     `-- GtkWindow
                            `-- GtkPlug

Direct subclasses

None.

Description

This widget can be used to write plugins for other applications. It takes the id of an existing GtkSocket and will embed itself into it and so into the other application. The GtkPlug can be filled with widgets like any other window, except that it is visible inside another application.

Please have a look at the GtkSocket documentation, as the plug can only be used together with a socket.

Note that if the application with the socket is quit, the program with the plugged-in plug will exit as well.

Constructor

GtkPlug (int socket_id);
-- Creates a new plug instance.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.