Gtk2::Plug(3) User Contributed Perl Documentation Gtk2::Plug(3)

Gtk2::Plug - wrapper for GtkPlug



widget = Gtk2::Plug->new ($socket_id)

$socket_id (Gtk2::Gdk::NativeWindow)

widget = Gtk2::Plug->new_for_display

Since: gtk+ 2.2

$plug->construct ($socket_id)

$socket_id (Gtk2::Gdk::NativeWindow)

$plug->construct_for_display ($display, $socket_id)

  • $display (Gtk2::Gdk::Display)
  • $socket_id (Gtk2::Gdk::NativeWindow)

Since: gtk+ 2.2

Since: gtk+ 2.14

Since: gtk+ 2.14

'embedded' (boolean : default false : readable / private / static-nick / static-blurb)
Whether or not the plug is embedded
'socket-window' (Gtk2::Gdk::Window : default undef : readable / private / static-nick / static-blurb)
The window of the socket the plug is embedded in

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2023-07-25 perl v5.38.0