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)
48           Whether or not the plug is embedded
49
50       'socket-window' (Gtk2::Gdk::Window : default undef : readable /
51       private)
52           The window of the socket the plug is embedded in
53

SIGNALS

55       embedded (Gtk2::Plug)
56

SEE ALSO

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