GtkAda Reference Manual - Package Gtk.Plug

[Contents] [Back] [Prev] [Up] [Next] [Forward]

# Package Gtk.Plug

Note that this package is currently not supported under Win32 systems.

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.

- Gtk.Plug Widget Hierarchy
- Gtk.Plug Subprograms

## Widget Hierarchy

    GObject                       (see section Package Glib.Object)
    Gtk_Object                    (see section Package Gtk.Object)
       \___ Gtk_Widget            (see section Package Gtk.Widget)
          \___ Gtk_Container      (see section Package Gtk.Container)
             \___ Gtk_Bin         (see section Package Gtk.Bin)
                \___ Gtk_Window   (see section Package Gtk.Window)
                   \___ Gtk_Plug  (see section Package Gtk.Plug)

## Subprograms

    procedure Gtk_New
      (Plug               : out    Gtk_Plug;
       Socket_Id          :        Guint32);
| Create a new plug widget inside the Gtk_Socket identified by socket_id. Socket_Id is the XID of the socket's window.
    function Get_Id
      (Plug               : access Gtk_Plug_Record)
       return Guint32;
| Return the low level window id associated with Plug.
    function Get_Type              return Gtk.Gtk_Type;
| Return the internal value associated with a Gtk_Plug.

[Contents] [Back] [Prev] [Up] [Next] [Forward]