1Gtk2::Plug(3)         User Contributed Perl Documentation        Gtk2::Plug(3)
2
3
4

NAME

6       Gtk2::Plug - wrapper for GtkPlug
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Bin
15                                  +----Gtk2::Window
16                                       +----Gtk2::Plug
17

INTERFACES

19         Glib::Object::_Unregistered::AtkImplementorIface
20         Gtk2::Buildable
21

METHODS

23   widget = Gtk2::Plug->new ($socket_id)
24       •   $socket_id (Gtk2::Gdk::NativeWindow)
25
26   widget = Gtk2::Plug->new_for_display
27       Since: gtk+ 2.2
28
29   $plug->construct ($socket_id)
30       •   $socket_id (Gtk2::Gdk::NativeWindow)
31
32   $plug->construct_for_display ($display, $socket_id)
33       •   $display (Gtk2::Gdk::Display)
34
35       •   $socket_id (Gtk2::Gdk::NativeWindow)
36
37       Since: gtk+ 2.2
38
39   boolean = $plug->get_embedded
40       Since: gtk+ 2.14
41
42   nativewindow = $plug->get_id
43   window or undef = $plug->get_socket_window
44       Since: gtk+ 2.14
45

PROPERTIES

47       'embedded' (boolean : default false : readable / private / static-nick
48       / static-blurb)
49           Whether or not the plug is embedded
50
51       'socket-window' (Gtk2::Gdk::Window : default undef : readable / private
52       / static-nick / static-blurb)
53           The window of the socket the plug is embedded in
54

SIGNALS

56       embedded (Gtk2::Plug)
57

SEE ALSO

59       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
60       Gtk2::Container, Gtk2::Bin, Gtk2::Window
61
63       Copyright (C) 2003-2011 by the gtk2-perl team.
64
65       This software is licensed under the LGPL.  See Gtk2 for a full notice.
66
67
68
69perl v5.36.0                      2023-01-20                     Gtk2::Plug(3)
Impressum