.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::Gdk::Window 3" .TH Gtk2::Gdk::Window 3 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Gtk2::Gdk::Window \- wrapper for GdkWindow .SH DESCRIPTION .IX Header "DESCRIPTION" \&\f(CW\*(C`Gtk2::Gdk::Window\*(C'\fR is a low-level window-system window. One of these is created when a widget is "realized". .PP As of Gtk 2.22 a window can only be created by \&\f(CW\*(C`Gtk2::Gdk::Window\->new()\*(C'\fR, \f(CWforeign_new()\fR, etc. \&\f(CWGlib::Object::new()\fR doesn't work (segfaults on using the resulting window object). It's not possible to subclass \f(CW\*(C`Gtk2::Gdk::Window\*(C'\fR with Glib::Object::Subclass and the \f(CW\*(C`Glib::Type\*(C'\fR system, since only \f(CWgdk_window_new()\fR does the actual window creation, and that function always makes a \f(CW\*(C`GdkWindow\*(C'\fR. (The Perl-Gtk \&\f(CW\*(C`Gtk2::Gdk::Window\->new()\*(C'\fR wrapper ignores the class name argument.) .PP It may work to create a Perl level subclass and re-bless a \&\f(CW\*(C`Gtk2::Gdk::Window\->new()\*(C'\fR into that. But like any such re-blessing it's not preserved when the object is returned from a Gtk function etc (that just gives the base Gtk class). .SH HIERARCHY .IX Header "HIERARCHY" .Vb 3 \& Glib::Object \& +\-\-\-\-Gtk2::Gdk::Drawable \& +\-\-\-\-Gtk2::Gdk::Window .Ve .SH METHODS .IX Header "METHODS" .ie n .SS "window = Gtk2::Gdk::Window\->\fBnew\fP ($parent, $attributes_ref)" .el .SS "window = Gtk2::Gdk::Window\->\fBnew\fP ($parent, \f(CW$attributes_ref\fP)" .IX Subsection "window = Gtk2::Gdk::Window->new ($parent, $attributes_ref)" .IP \(bu 4 \&\f(CW$parent\fR (Gtk2::Gdk::Window or undef) .IP \(bu 4 \&\f(CW$attributes_ref\fR (scalar) .PP Create and return a new window. parent can be undef to mean the root window of the default screen. attributes_ref is a hashref containing some of the following keys, .PP .Vb 10 \& title string \& event_mask Gtk2::Gdk::EventMask flags \& x integer \& y integer \& width integer \& height integer \& wclass Gtk2::Gdk::WindowClass enum \& visual Gtk2::Gdk::Visual \& colormap Gtk2::Gdk::Colormap \& window_type Gtk2::Gdk::WindowType enum \& cursor Gtk2::Gdk::Cursor \& wmclass_name string \& wmclass_class string \& override_redirect boolean (integer 0 or 1) .Ve .PP window_type is mandatory because it defaults to "root" but of course it's not possible to create a new root window. The other fields get default values zero, empty, unset, etc. .PP .Vb 7 \& my $win = Gtk2::Gdk::Window\->new \& (undef, { window_type => \*(Aqtoplevel, \& wclass => \*(AqGDK_INPUT_OUTPUT\*(Aq, \& x => 0, \& y => 0, \& width => 200, \& height => 100 }); .Ve .PP Incidentally, the nicknames for wclass Gtk2::Gdk::WindowClass really are "output" for input-output and "only" for input-only. Those names are a bit odd, but that's what Gtk has. You can, as for any enum, give the full names like "GDK_INPUT_OUTPUT" if desired, for some clarity. .ie n .SS "boolean = $window\->\fBget_accept_focus\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_accept_focus\fP" .IX Subsection "boolean = $window->get_accept_focus" Since: gtk+ 2.22 .ie n .SS "$window\->\fBset_accept_focus\fP ($accept_focus)" .el .SS "\f(CW$window\fP\->\fBset_accept_focus\fP ($accept_focus)" .IX Subsection "$window->set_accept_focus ($accept_focus)" .IP \(bu 4 \&\f(CW$accept_focus\fR (boolean) .PP Since: gtk+ 2.4 .SS "(window, win_x, win_y) = Gtk2::Gdk::Window\->\fBat_pointer\fP" .IX Subsection "(window, win_x, win_y) = Gtk2::Gdk::Window->at_pointer" Returns window, a Gtk2::Gdk::Window and win_x and win_y, integers. .ie n .SS "$window\->\fBset_back_pixmap\fP ($pixmap, $parent_relative=0)" .el .SS "\f(CW$window\fP\->\fBset_back_pixmap\fP ($pixmap, \f(CW$parent_relative\fP=0)" .IX Subsection "$window->set_back_pixmap ($pixmap, $parent_relative=0)" .IP \(bu 4 \&\f(CW$pixmap\fR (Gtk2::Gdk::Pixmap or undef) .IP \(bu 4 \&\f(CW$parent_relative\fR (boolean) .ie n .SS "pattern = $window\->\fBget_background_pattern\fP" .el .SS "pattern = \f(CW$window\fP\->\fBget_background_pattern\fP" .IX Subsection "pattern = $window->get_background_pattern" Since: gtk+ 2.22 .ie n .SS "$window\->\fBset_background\fP ($color)" .el .SS "\f(CW$window\fP\->\fBset_background\fP ($color)" .IX Subsection "$window->set_background ($color)" .IP \(bu 4 \&\f(CW$color\fR (Gtk2::Gdk::Color) .ie n .SS $window\->\fBbeep\fP .el .SS \f(CW$window\fP\->\fBbeep\fP .IX Subsection "$window->beep" Since: gtk+ 2.12 .ie n .SS "$window\->\fBbegin_move_drag\fP ($button, $root_x, $root_y, $timestamp)" .el .SS "\f(CW$window\fP\->\fBbegin_move_drag\fP ($button, \f(CW$root_x\fP, \f(CW$root_y\fP, \f(CW$timestamp\fP)" .IX Subsection "$window->begin_move_drag ($button, $root_x, $root_y, $timestamp)" .IP \(bu 4 \&\f(CW$button\fR (integer) .IP \(bu 4 \&\f(CW$root_x\fR (integer) .IP \(bu 4 \&\f(CW$root_y\fR (integer) .IP \(bu 4 \&\f(CW$timestamp\fR (unsigned) .ie n .SS "$window\->\fBbegin_paint_rect\fP ($rectangle)" .el .SS "\f(CW$window\fP\->\fBbegin_paint_rect\fP ($rectangle)" .IX Subsection "$window->begin_paint_rect ($rectangle)" .IP \(bu 4 \&\f(CW$rectangle\fR (Gtk2::Gdk::Rectangle) .ie n .SS "$window\->\fBbegin_paint_region\fP ($region)" .el .SS "\f(CW$window\fP\->\fBbegin_paint_region\fP ($region)" .IX Subsection "$window->begin_paint_region ($region)" .IP \(bu 4 \&\f(CW$region\fR (Gtk2::Gdk::Region) .ie n .SS "$window\->\fBbegin_resize_drag\fP ($edge, $button, $root_x, $root_y, $timestamp)" .el .SS "\f(CW$window\fP\->\fBbegin_resize_drag\fP ($edge, \f(CW$button\fP, \f(CW$root_x\fP, \f(CW$root_y\fP, \f(CW$timestamp\fP)" .IX Subsection "$window->begin_resize_drag ($edge, $button, $root_x, $root_y, $timestamp)" .IP \(bu 4 \&\f(CW$edge\fR (Gtk2::Gdk::WindowEdge) .IP \(bu 4 \&\f(CW$button\fR (integer) .IP \(bu 4 \&\f(CW$root_x\fR (integer) .IP \(bu 4 \&\f(CW$root_y\fR (integer) .IP \(bu 4 \&\f(CW$timestamp\fR (unsigned) .ie n .SS $window\->\fBset_child_input_shapes\fP .el .SS \f(CW$window\fP\->\fBset_child_input_shapes\fP .IX Subsection "$window->set_child_input_shapes" Since: gtk+ 2.10 .ie n .SS $window\->\fBset_child_shapes\fP .el .SS \f(CW$window\fP\->\fBset_child_shapes\fP .IX Subsection "$window->set_child_shapes" .ie n .SS "list = $window\->\fBget_children\fP" .el .SS "list = \f(CW$window\fP\->\fBget_children\fP" .IX Subsection "list = $window->get_children" Returns the list of children (Gtk2::Gdk::Window's) known to gdk. .ie n .SS $window\->\fBclear\fP .el .SS \f(CW$window\fP\->\fBclear\fP .IX Subsection "$window->clear" .ie n .SS "$window\->\fBclear_area\fP ($x, $y, $width, $height)" .el .SS "\f(CW$window\fP\->\fBclear_area\fP ($x, \f(CW$y\fP, \f(CW$width\fP, \f(CW$height\fP)" .IX Subsection "$window->clear_area ($x, $y, $width, $height)" .IP \(bu 4 \&\f(CW$x\fR (integer) .IP \(bu 4 \&\f(CW$y\fR (integer) .IP \(bu 4 \&\f(CW$width\fR (integer) .IP \(bu 4 \&\f(CW$height\fR (integer) .ie n .SS "$window\->\fBclear_area_e\fP ($x, $y, $width, $height)" .el .SS "\f(CW$window\fP\->\fBclear_area_e\fP ($x, \f(CW$y\fP, \f(CW$width\fP, \f(CW$height\fP)" .IX Subsection "$window->clear_area_e ($x, $y, $width, $height)" .IP \(bu 4 \&\f(CW$x\fR (integer) .IP \(bu 4 \&\f(CW$y\fR (integer) .IP \(bu 4 \&\f(CW$width\fR (integer) .IP \(bu 4 \&\f(CW$height\fR (integer) .ie n .SS "boolean = $window\->\fBget_composited\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_composited\fP" .IX Subsection "boolean = $window->get_composited" Since: gtk+ 2.22 .ie n .SS "$window\->\fBset_composited\fP ($composited)" .el .SS "\f(CW$window\fP\->\fBset_composited\fP ($composited)" .IX Subsection "$window->set_composited ($composited)" .IP \(bu 4 \&\f(CW$composited\fR (boolean) .PP Since: gtk+ 2.12 .ie n .SS $window\->\fBconfigure_finished\fP .el .SS \f(CW$window\fP\->\fBconfigure_finished\fP .IX Subsection "$window->configure_finished" Since: gtk+ 2.6 .ie n .SS "(x, y) = $window\->\fBcoords_from_parent\fP ($parent_x, $parent_y)" .el .SS "(x, y) = \f(CW$window\fP\->\fBcoords_from_parent\fP ($parent_x, \f(CW$parent_y\fP)" .IX Subsection "(x, y) = $window->coords_from_parent ($parent_x, $parent_y)" .IP \(bu 4 \&\f(CW$parent_x\fR (double) .IP \(bu 4 \&\f(CW$parent_y\fR (double) .PP Since: gtk+ 2.22 .ie n .SS "(parent_x, parent_y) = $window\->\fBcoords_to_parent\fP ($x, $y)" .el .SS "(parent_x, parent_y) = \f(CW$window\fP\->\fBcoords_to_parent\fP ($x, \f(CW$y\fP)" .IX Subsection "(parent_x, parent_y) = $window->coords_to_parent ($x, $y)" .IP \(bu 4 \&\f(CW$x\fR (double) .IP \(bu 4 \&\f(CW$y\fR (double) .PP Since: gtk+ 2.22 .ie n .SS "surface = $window\->\fBcreate_similar_surface\fP ($content, $width, $height)" .el .SS "surface = \f(CW$window\fP\->\fBcreate_similar_surface\fP ($content, \f(CW$width\fP, \f(CW$height\fP)" .IX Subsection "surface = $window->create_similar_surface ($content, $width, $height)" .IP \(bu 4 \&\f(CW$content\fR (Cairo::Content) .IP \(bu 4 \&\f(CW$width\fR (integer) .IP \(bu 4 \&\f(CW$height\fR (integer) .PP Since: gtk+ 2.22 .ie n .SS "cursor or undef = $window\->\fBget_cursor\fP" .el .SS "cursor or undef = \f(CW$window\fP\->\fBget_cursor\fP" .IX Subsection "cursor or undef = $window->get_cursor" Since: gtk+ 2.18 .ie n .SS "$window\->\fBset_cursor\fP ($cursor)" .el .SS "\f(CW$window\fP\->\fBset_cursor\fP ($cursor)" .IX Subsection "$window->set_cursor ($cursor)" .IP \(bu 4 \&\f(CW$cursor\fR (Gtk2::Gdk::Cursor or undef) .SS "Gtk2::Gdk::Window\->\fBset_debug_updates\fP ($enable)" .IX Subsection "Gtk2::Gdk::Window->set_debug_updates ($enable)" .ie n .SS "$window\->\fBset_debug_updates\fP ($enable)" .el .SS "\f(CW$window\fP\->\fBset_debug_updates\fP ($enable)" .IX Subsection "$window->set_debug_updates ($enable)" .IP \(bu 4 \&\f(CW$enable\fR (boolean) .ie n .SS "list = $window\->\fBget_decorations\fP" .el .SS "list = \f(CW$window\fP\->\fBget_decorations\fP" .IX Subsection "list = $window->get_decorations" .ie n .SS "$window\->\fBset_decorations\fP ($decorations)" .el .SS "\f(CW$window\fP\->\fBset_decorations\fP ($decorations)" .IX Subsection "$window->set_decorations ($decorations)" .IP \(bu 4 \&\f(CW$decorations\fR (Gtk2::Gdk::WMDecoration) .ie n .SS $window\->\fBdeiconify\fP .el .SS \f(CW$window\fP\->\fBdeiconify\fP .IX Subsection "$window->deiconify" .ie n .SS $window\->\fBdestroy\fP .el .SS \f(CW$window\fP\->\fBdestroy\fP .IX Subsection "$window->destroy" .ie n .SS "window = $window\->\fBget_effective_parent\fP" .el .SS "window = \f(CW$window\fP\->\fBget_effective_parent\fP" .IX Subsection "window = $window->get_effective_parent" Since: gtk+ 2.22 .ie n .SS "window = $window\->\fBget_effective_toplevel\fP" .el .SS "window = \f(CW$window\fP\->\fBget_effective_toplevel\fP" .IX Subsection "window = $window->get_effective_toplevel" Since: gtk+ 2.22 .ie n .SS "window or undef = $offscreen_window\->\fBget_embedder\fP" .el .SS "window or undef = \f(CW$offscreen_window\fP\->\fBget_embedder\fP" .IX Subsection "window or undef = $offscreen_window->get_embedder" Only for offscreen \f(CW\*(C`Gtk2::Gdk::Windows\*(C'\fR. .PP Since: gtk+ 2.18 .ie n .SS "$offscreen_window\->\fBset_embedder\fP ($embedder)" .el .SS "\f(CW$offscreen_window\fP\->\fBset_embedder\fP ($embedder)" .IX Subsection "$offscreen_window->set_embedder ($embedder)" .IP \(bu 4 \&\f(CW$embedder\fR (Gtk2::Gdk::Window) .PP Only for offscreen \f(CW\*(C`Gtk2::Gdk::Windows\*(C'\fR. .PP Since: gtk+ 2.18 .ie n .SS $window\->\fBenable_synchronized_configure\fP .el .SS \f(CW$window\fP\->\fBenable_synchronized_configure\fP .IX Subsection "$window->enable_synchronized_configure" Since: gtk+ 2.6 .ie n .SS $window\->\fBend_paint\fP .el .SS \f(CW$window\fP\->\fBend_paint\fP .IX Subsection "$window->end_paint" .ie n .SS "boolean = $window\->\fBensure_native\fP" .el .SS "boolean = \f(CW$window\fP\->\fBensure_native\fP" .IX Subsection "boolean = $window->ensure_native" Since: gtk+ 2.18 .ie n .SS "eventmask = $window\->\fBget_events\fP" .el .SS "eventmask = \f(CW$window\fP\->\fBget_events\fP" .IX Subsection "eventmask = $window->get_events" .ie n .SS "$window\->\fBset_events\fP ($event_mask)" .el .SS "\f(CW$window\fP\->\fBset_events\fP ($event_mask)" .IX Subsection "$window->set_events ($event_mask)" .IP \(bu 4 \&\f(CW$event_mask\fR (Gtk2::Gdk::EventMask) .ie n .SS $window\->\fBflush\fP .el .SS \f(CW$window\fP\->\fBflush\fP .IX Subsection "$window->flush" Since: gtk+ 2.18 .ie n .SS "$window\->\fBfocus\fP ($timestamp)" .el .SS "\f(CW$window\fP\->\fBfocus\fP ($timestamp)" .IX Subsection "$window->focus ($timestamp)" .IP \(bu 4 \&\f(CW$timestamp\fR (unsigned) .ie n .SS "boolean = $window\->\fBget_focus_on_map\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_focus_on_map\fP" .IX Subsection "boolean = $window->get_focus_on_map" Since: gtk+ 2.22 .ie n .SS "$window\->\fBset_focus_on_map\fP ($focus_on_map)" .el .SS "\f(CW$window\fP\->\fBset_focus_on_map\fP ($focus_on_map)" .IX Subsection "$window->set_focus_on_map ($focus_on_map)" .IP \(bu 4 \&\f(CW$focus_on_map\fR (boolean) .PP Since: gtk+ 2.6 .SS "window = Gtk2::Gdk::Window\->\fBforeign_new\fP ($anid)" .IX Subsection "window = Gtk2::Gdk::Window->foreign_new ($anid)" .IP \(bu 4 \&\f(CW$anid\fR (Gtk2::Gdk::NativeWindow) .ie n .SS "window = Gtk2::Gdk::Window\->\fBforeign_new_for_display\fP ($display, $anid)" .el .SS "window = Gtk2::Gdk::Window\->\fBforeign_new_for_display\fP ($display, \f(CW$anid\fP)" .IX Subsection "window = Gtk2::Gdk::Window->foreign_new_for_display ($display, $anid)" .IP \(bu 4 \&\f(CW$display\fR (Gtk2::Gdk::Display) .IP \(bu 4 \&\f(CW$anid\fR (Gtk2::Gdk::NativeWindow) .PP Since: gtk+ 2.2 .ie n .SS "rectangle = $window\->\fBget_frame_extents\fP" .el .SS "rectangle = \f(CW$window\fP\->\fBget_frame_extents\fP" .IX Subsection "rectangle = $window->get_frame_extents" .ie n .SS $window\->\fBfreeze_updates\fP .el .SS \f(CW$window\fP\->\fBfreeze_updates\fP .IX Subsection "$window->freeze_updates" .ie n .SS $window\->\fBfullscreen\fP .el .SS \f(CW$window\fP\->\fBfullscreen\fP .IX Subsection "$window->fullscreen" Since: gtk+ 2.2 .ie n .SS "$window\->\fBset_functions\fP ($functions)" .el .SS "\f(CW$window\fP\->\fBset_functions\fP ($functions)" .IX Subsection "$window->set_functions ($functions)" .IP \(bu 4 \&\f(CW$functions\fR (Gtk2::Gdk::WMFunction) .ie n .SS $sm_client_id\->\fBgdk_set_sm_client_id\fP .el .SS \f(CW$sm_client_id\fP\->\fBgdk_set_sm_client_id\fP .IX Subsection "$sm_client_id->gdk_set_sm_client_id" .ie n .SS $window\->\fBgeometry_changed\fP .el .SS \f(CW$window\fP\->\fBgeometry_changed\fP .IX Subsection "$window->geometry_changed" Only useful for offscreen \f(CW\*(C`Gtk2::Gdk::Windows\*(C'\fR. .PP Since: gtk+ 2.18 .ie n .SS "(x, y, width, height, depth) = $window\->\fBget_geometry\fP" .el .SS "(x, y, width, height, depth) = \f(CW$window\fP\->\fBget_geometry\fP" .IX Subsection "(x, y, width, height, depth) = $window->get_geometry" .ie n .SS "$window\->\fBset_geometry_hints\fP ($geometry)" .el .SS "\f(CW$window\fP\->\fBset_geometry_hints\fP ($geometry)" .IX Subsection "$window->set_geometry_hints ($geometry)" .ie n .SS "$window\->\fBset_geometry_hints\fP ($geometry, $geom_mask)" .el .SS "\f(CW$window\fP\->\fBset_geometry_hints\fP ($geometry, \f(CW$geom_mask\fP)" .IX Subsection "$window->set_geometry_hints ($geometry, $geom_mask)" .IP \(bu 4 \&\f(CW$geom_mask\fR (Gtk2::Gdk::WindowHints) optional, usually inferred from \fR\f(CI$geometry\fR\fI\fR .IP \(bu 4 \&\f(CW$geometry\fR (scalar) Gtk2::Gdk::Geometry or hashref .PP \&\f(CW$geometry\fR is either a \f(CW\*(C`Gtk2::Gdk::Geometry\*(C'\fR object, or a hashref with the following keys and values, .PP .Vb 11 \& min_width integer \e \*(Aqmin\-size\*(Aq mask \& min_height integer / \& max_width integer \e \*(Aqmax\-size\*(Aq mask \& max_height integer / \& base_width integer \e \*(Aqbase\-size\*(Aq mask \& base_height integer / \& width_inc integer \e \*(Aqresize\-inc\*(Aq mask \& height_inc integer / \& min_aspect float \e \*(Aqaspect\*(Aq mask \& max_aspect float / \& win_gravity Gtk2::Gdk::Gravity enum, \*(Aqwin\-gravity\*(Aq mask .Ve .PP Optional \f(CW$geom_mask\fR is which fields of \f(CW$geometry\fR are used. If \&\f(CW$geometry\fR is a hashref then \f(CW$geom_mask\fR defaults to the keys supplied in the hash, so for example .PP .Vb 1 \& $win\->set_geometry_hints ({ min_width => 20, min_height => 10}); .Ve .PP If \f(CW$geometry\fR is a \f(CW\*(C`Gtk2::Gdk::Geometry\*(C'\fR object then you must give \&\f(CW$geom_mask\fR explicitly. .PP The 'pos', 'user\-pos' and 'user\-size' flags in \f(CW$geom_mask\fR have no data fields, so cannot be inferred from a \f(CW$geometry\fR hashref. If you want those flags you must pass \f(CW$geom_mask\fR explicitly. .ie n .SS "window = $window\->\fBget_group\fP" .el .SS "window = \f(CW$window\fP\->\fBget_group\fP" .IX Subsection "window = $window->get_group" Since: gtk+ 2.4 .ie n .SS "$window\->\fBset_group\fP ($leader)" .el .SS "\f(CW$window\fP\->\fBset_group\fP ($leader)" .IX Subsection "$window->set_group ($leader)" .IP \(bu 4 \&\f(CW$leader\fR (Gtk2::Gdk::Window or undef) .ie n .SS "boolean = $window\->\fBhas_native\fP" .el .SS "boolean = \f(CW$window\fP\->\fBhas_native\fP" .IX Subsection "boolean = $window->has_native" Since: gtk+ 2.22 .ie n .SS $window\->\fBhide\fP .el .SS \f(CW$window\fP\->\fBhide\fP .IX Subsection "$window->hide" .ie n .SS "$window\->\fBset_icon_list\fP (...)" .el .SS "\f(CW$window\fP\->\fBset_icon_list\fP (...)" .IX Subsection "$window->set_icon_list (...)" .IP \(bu 4 \&... (list) of GdkPixbuf's .ie n .SS "$window\->\fBset_icon_name\fP ($name)" .el .SS "\f(CW$window\fP\->\fBset_icon_name\fP ($name)" .IX Subsection "$window->set_icon_name ($name)" .IP \(bu 4 \&\f(CW$name\fR (string or undef) .ie n .SS "$window\->\fBset_icon\fP ($icon_window, $pixmap, $mask)" .el .SS "\f(CW$window\fP\->\fBset_icon\fP ($icon_window, \f(CW$pixmap\fP, \f(CW$mask\fP)" .IX Subsection "$window->set_icon ($icon_window, $pixmap, $mask)" .IP \(bu 4 \&\f(CW$icon_window\fR (Gtk2::Gdk::Window or undef) .IP \(bu 4 \&\f(CW$pixmap\fR (Gtk2::Gdk::Pixmap or undef) .IP \(bu 4 \&\f(CW$mask\fR (Gtk2::Gdk::Bitmap or undef) .ie n .SS $window\->\fBiconify\fP .el .SS \f(CW$window\fP\->\fBiconify\fP .IX Subsection "$window->iconify" .ie n .SS "$window\->\fBinput_shape_combine_mask\fP ($mask, $x, $y)" .el .SS "\f(CW$window\fP\->\fBinput_shape_combine_mask\fP ($mask, \f(CW$x\fP, \f(CW$y\fP)" .IX Subsection "$window->input_shape_combine_mask ($mask, $x, $y)" .IP \(bu 4 \&\f(CW$mask\fR (Gtk2::Gdk::Bitmap or undef) .IP \(bu 4 \&\f(CW$x\fR (integer) .IP \(bu 4 \&\f(CW$y\fR (integer) .PP Since: gtk+ 2.10 .ie n .SS "$window\->\fBinput_shape_combine_region\fP ($shape, $offset_x, $offset_y)" .el .SS "\f(CW$window\fP\->\fBinput_shape_combine_region\fP ($shape, \f(CW$offset_x\fP, \f(CW$offset_y\fP)" .IX Subsection "$window->input_shape_combine_region ($shape, $offset_x, $offset_y)" .IP \(bu 4 \&\f(CW$shape\fR (Gtk2::Gdk::Region or undef) .IP \(bu 4 \&\f(CW$offset_x\fR (integer) .IP \(bu 4 \&\f(CW$offset_y\fR (integer) .PP Since: gtk+ 2.10 .ie n .SS "list = $window\->\fBget_internal_paint_info\fP" .el .SS "list = \f(CW$window\fP\->\fBget_internal_paint_info\fP" .IX Subsection "list = $window->get_internal_paint_info" .ie n .SS "$window\->\fBinvalidate_maybe_recurse\fP ($region, $func, $data=undef)" .el .SS "\f(CW$window\fP\->\fBinvalidate_maybe_recurse\fP ($region, \f(CW$func\fP, \f(CW$data\fP=undef)" .IX Subsection "$window->invalidate_maybe_recurse ($region, $func, $data=undef)" .IP \(bu 4 \&\f(CW$region\fR (Gtk2::Gdk::Region) .IP \(bu 4 \&\f(CW$func\fR (scalar) .IP \(bu 4 \&\f(CW$data\fR (scalar) .ie n .SS "$window\->\fBinvalidate_rect\fP ($rectangle, $invalidate_children)" .el .SS "\f(CW$window\fP\->\fBinvalidate_rect\fP ($rectangle, \f(CW$invalidate_children\fP)" .IX Subsection "$window->invalidate_rect ($rectangle, $invalidate_children)" .IP \(bu 4 \&\f(CW$rectangle\fR (Gtk2::Gdk::Rectangle or undef) .IP \(bu 4 \&\f(CW$invalidate_children\fR (boolean) .ie n .SS "$window\->\fBinvalidate_region\fP ($region, $invalidate_children)" .el .SS "\f(CW$window\fP\->\fBinvalidate_region\fP ($region, \f(CW$invalidate_children\fP)" .IX Subsection "$window->invalidate_region ($region, $invalidate_children)" .IP \(bu 4 \&\f(CW$region\fR (Gtk2::Gdk::Region) .IP \(bu 4 \&\f(CW$invalidate_children\fR (boolean) .ie n .SS "boolean = $window\->\fBis_destroyed\fP" .el .SS "boolean = \f(CW$window\fP\->\fBis_destroyed\fP" .IX Subsection "boolean = $window->is_destroyed" Since: gtk+ 2.18 .ie n .SS "boolean = $window\->\fBis_input_only\fP" .el .SS "boolean = \f(CW$window\fP\->\fBis_input_only\fP" .IX Subsection "boolean = $window->is_input_only" Since: gtk+ 2.22 .ie n .SS "boolean = $window\->\fBis_shaped\fP" .el .SS "boolean = \f(CW$window\fP\->\fBis_shaped\fP" .IX Subsection "boolean = $window->is_shaped" Since: gtk+ 2.22 .ie n .SS "boolean = $window\->\fBis_viewable\fP" .el .SS "boolean = \f(CW$window\fP\->\fBis_viewable\fP" .IX Subsection "boolean = $window->is_viewable" .ie n .SS "boolean = $window\->\fBis_visible\fP" .el .SS "boolean = \f(CW$window\fP\->\fBis_visible\fP" .IX Subsection "boolean = $window->is_visible" .ie n .SS "$window\->\fBset_keep_above\fP ($setting)" .el .SS "\f(CW$window\fP\->\fBset_keep_above\fP ($setting)" .IX Subsection "$window->set_keep_above ($setting)" .IP \(bu 4 \&\f(CW$setting\fR (boolean) .PP Since: gtk+ 2.4 .ie n .SS "$window\->\fBset_keep_below\fP ($setting)" .el .SS "\f(CW$window\fP\->\fBset_keep_below\fP ($setting)" .IX Subsection "$window->set_keep_below ($setting)" .IP \(bu 4 \&\f(CW$setting\fR (boolean) .PP Since: gtk+ 2.4 .SS "window = Gtk2::Gdk::Window\->\fBlookup\fP ($anid)" .IX Subsection "window = Gtk2::Gdk::Window->lookup ($anid)" .IP \(bu 4 \&\f(CW$anid\fR (Gtk2::Gdk::NativeWindow) .ie n .SS "window = Gtk2::Gdk::Window\->\fBlookup_for_display\fP ($display, $anid)" .el .SS "window = Gtk2::Gdk::Window\->\fBlookup_for_display\fP ($display, \f(CW$anid\fP)" .IX Subsection "window = Gtk2::Gdk::Window->lookup_for_display ($display, $anid)" .IP \(bu 4 \&\f(CW$display\fR (Gtk2::Gdk::Display) .IP \(bu 4 \&\f(CW$anid\fR (Gtk2::Gdk::NativeWindow) .PP Since: gtk+ 2.2 .ie n .SS $window\->\fBlower\fP .el .SS \f(CW$window\fP\->\fBlower\fP .IX Subsection "$window->lower" .ie n .SS $window\->\fBmaximize\fP .el .SS \f(CW$window\fP\->\fBmaximize\fP .IX Subsection "$window->maximize" .ie n .SS $window\->\fBmerge_child_input_shapes\fP .el .SS \f(CW$window\fP\->\fBmerge_child_input_shapes\fP .IX Subsection "$window->merge_child_input_shapes" Since: gtk+ 2.10 .ie n .SS $window\->\fBmerge_child_shapes\fP .el .SS \f(CW$window\fP\->\fBmerge_child_shapes\fP .IX Subsection "$window->merge_child_shapes" .ie n .SS "boolean = $window\->\fBget_modal_hint\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_modal_hint\fP" .IX Subsection "boolean = $window->get_modal_hint" Since: gtk+ 2.22 .ie n .SS "$window\->\fBset_modal_hint\fP ($modal)" .el .SS "\f(CW$window\fP\->\fBset_modal_hint\fP ($modal)" .IX Subsection "$window->set_modal_hint ($modal)" .IP \(bu 4 \&\f(CW$modal\fR (boolean) .ie n .SS "$window\->\fBmove\fP ($x, $y)" .el .SS "\f(CW$window\fP\->\fBmove\fP ($x, \f(CW$y\fP)" .IX Subsection "$window->move ($x, $y)" .IP \(bu 4 \&\f(CW$x\fR (integer) .IP \(bu 4 \&\f(CW$y\fR (integer) .ie n .SS "$window\->\fBmove_region\fP ($region, $dx, $dy)" .el .SS "\f(CW$window\fP\->\fBmove_region\fP ($region, \f(CW$dx\fP, \f(CW$dy\fP)" .IX Subsection "$window->move_region ($region, $dx, $dy)" .IP \(bu 4 \&\f(CW$region\fR (Gtk2::Gdk::Region) .IP \(bu 4 \&\f(CW$dx\fR (integer) .IP \(bu 4 \&\f(CW$dy\fR (integer) .PP Since: gtk+ 2.8 .ie n .SS "$window\->\fBmove_resize\fP ($x, $y, $width, $height)" .el .SS "\f(CW$window\fP\->\fBmove_resize\fP ($x, \f(CW$y\fP, \f(CW$width\fP, \f(CW$height\fP)" .IX Subsection "$window->move_resize ($x, $y, $width, $height)" .IP \(bu 4 \&\f(CW$x\fR (integer) .IP \(bu 4 \&\f(CW$y\fR (integer) .IP \(bu 4 \&\f(CW$width\fR (integer) .IP \(bu 4 \&\f(CW$height\fR (integer) .ie n .SS $window\->\fBmove_to_current_desktop\fP .el .SS \f(CW$window\fP\->\fBmove_to_current_desktop\fP .IX Subsection "$window->move_to_current_desktop" Since: gtk+ 2.8 .ie n .SS "$window\->\fBset_opacity\fP ($opacity)" .el .SS "\f(CW$window\fP\->\fBset_opacity\fP ($opacity)" .IX Subsection "$window->set_opacity ($opacity)" .IP \(bu 4 \&\f(CW$opacity\fR (double) .PP Since: gtk+ 2.12 .ie n .SS "(x, y) = $window\->\fBget_origin\fP" .el .SS "(x, y) = \f(CW$window\fP\->\fBget_origin\fP" .IX Subsection "(x, y) = $window->get_origin" .ie n .SS "$window\->\fBset_override_redirect\fP ($override_redirect)" .el .SS "\f(CW$window\fP\->\fBset_override_redirect\fP ($override_redirect)" .IX Subsection "$window->set_override_redirect ($override_redirect)" .IP \(bu 4 \&\f(CW$override_redirect\fR (boolean) .ie n .SS "window = $window\->\fBget_parent\fP" .el .SS "window = \f(CW$window\fP\->\fBget_parent\fP" .IX Subsection "window = $window->get_parent" .ie n .SS "list = $window\->\fBpeek_children\fP" .el .SS "list = \f(CW$window\fP\->\fBpeek_children\fP" .IX Subsection "list = $window->peek_children" An alias for get_children .ie n .SS "pixmap or undef = $offscreen_window\->\fBget_pixmap\fP" .el .SS "pixmap or undef = \f(CW$offscreen_window\fP\->\fBget_pixmap\fP" .IX Subsection "pixmap or undef = $offscreen_window->get_pixmap" Only for offscreen \f(CW\*(C`Gtk2::Gdk::Windows\*(C'\fR. .PP Since: gtk+ 2.18 .ie n .SS "(window_at_pointer, x, y, mask) = $window\->\fBget_pointer\fP" .el .SS "(window_at_pointer, x, y, mask) = \f(CW$window\fP\->\fBget_pointer\fP" .IX Subsection "(window_at_pointer, x, y, mask) = $window->get_pointer" Returns window_at_pointer, a Gtk2::Gdk::Window or undef, x and y, integers, and mask, a Gtk2::Gdk::ModifierType. .ie n .SS "(x, y) = $window\->\fBget_position\fP" .el .SS "(x, y) = \f(CW$window\fP\->\fBget_position\fP" .IX Subsection "(x, y) = $window->get_position" .SS Gtk2::Gdk::Window\->\fBprocess_all_updates\fP .IX Subsection "Gtk2::Gdk::Window->process_all_updates" .ie n .SS $window\->\fBprocess_all_updates\fP .el .SS \f(CW$window\fP\->\fBprocess_all_updates\fP .IX Subsection "$window->process_all_updates" .ie n .SS "$window\->\fBprocess_updates\fP ($update_children)" .el .SS "\f(CW$window\fP\->\fBprocess_updates\fP ($update_children)" .IX Subsection "$window->process_updates ($update_children)" .IP \(bu 4 \&\f(CW$update_children\fR (boolean) .ie n .SS "$window\->\fBproperty_change\fP ($property, $type, $format, $mode, ...)" .el .SS "\f(CW$window\fP\->\fBproperty_change\fP ($property, \f(CW$type\fP, \f(CW$format\fP, \f(CW$mode\fP, ...)" .IX Subsection "$window->property_change ($property, $type, $format, $mode, ...)" .IP \(bu 4 \&\f(CW$property\fR (Gtk2::Gdk::Atom) .IP \(bu 4 \&\f(CW$type\fR (Gtk2::Gdk::Atom) .IP \(bu 4 \&\f(CW$format\fR (integer) .IP \(bu 4 \&\f(CW$mode\fR (Gtk2::Gdk::PropMode) .IP \(bu 4 \&... (list) property value(s) .PP Depending on the value of \fIformat\fR, the property value(s) can be: .PP .Vb 7 \& +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ \& | format | value | \& +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ \& | Gtk2::Gdk::CHARS | a string | \& | Gtk2::Gdk::USHORTS | one or more unsigned short numbers | \& | Gtk2::Gdk::ULONGS | one or more unsigned long numbers | \& +\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+ .Ve .ie n .SS "$window\->\fBproperty_delete\fP ($property)" .el .SS "\f(CW$window\fP\->\fBproperty_delete\fP ($property)" .IX Subsection "$window->property_delete ($property)" .IP \(bu 4 \&\f(CW$property\fR (Gtk2::Gdk::Atom) .ie n .SS "(property_type, format, data) = $window\->\fBproperty_get\fP ($property, $type, $offset, $length, $pdelete)" .el .SS "(property_type, format, data) = \f(CW$window\fP\->\fBproperty_get\fP ($property, \f(CW$type\fP, \f(CW$offset\fP, \f(CW$length\fP, \f(CW$pdelete\fP)" .IX Subsection "(property_type, format, data) = $window->property_get ($property, $type, $offset, $length, $pdelete)" .IP \(bu 4 \&\f(CW$property\fR (Gtk2::Gdk::Atom) .IP \(bu 4 \&\f(CW$type\fR (Gtk2::Gdk::Atom) .IP \(bu 4 \&\f(CW$offset\fR (unsigned) .IP \(bu 4 \&\f(CW$length\fR (unsigned) .IP \(bu 4 \&\f(CW$pdelete\fR (integer) .PP See \fIproperty_change\fR for an explanation of the meaning of \fIformat\fR. .ie n .SS $window\->\fBraise\fP .el .SS \f(CW$window\fP\->\fBraise\fP .IX Subsection "$window->raise" .ie n .SS "$window\->\fBredirect_to_drawable\fP ($drawable, $src_x, $src_y, $dest_x, $dest_y, $width, $height)" .el .SS "\f(CW$window\fP\->\fBredirect_to_drawable\fP ($drawable, \f(CW$src_x\fP, \f(CW$src_y\fP, \f(CW$dest_x\fP, \f(CW$dest_y\fP, \f(CW$width\fP, \f(CW$height\fP)" .IX Subsection "$window->redirect_to_drawable ($drawable, $src_x, $src_y, $dest_x, $dest_y, $width, $height)" .IP \(bu 4 \&\f(CW$drawable\fR (Gtk2::Gdk::Drawable) .IP \(bu 4 \&\f(CW$src_x\fR (integer) .IP \(bu 4 \&\f(CW$src_y\fR (integer) .IP \(bu 4 \&\f(CW$dest_x\fR (integer) .IP \(bu 4 \&\f(CW$dest_y\fR (integer) .IP \(bu 4 \&\f(CW$width\fR (integer) .IP \(bu 4 \&\f(CW$height\fR (integer) .PP Since: gtk+ 2.14 .ie n .SS $window\->\fBregister_dnd\fP .el .SS \f(CW$window\fP\->\fBregister_dnd\fP .IX Subsection "$window->register_dnd" .ie n .SS $window\->\fBremove_redirection\fP .el .SS \f(CW$window\fP\->\fBremove_redirection\fP .IX Subsection "$window->remove_redirection" Since: gtk+ 2.14 .ie n .SS "$window\->\fBreparent\fP ($new_parent, $x, $y)" .el .SS "\f(CW$window\fP\->\fBreparent\fP ($new_parent, \f(CW$x\fP, \f(CW$y\fP)" .IX Subsection "$window->reparent ($new_parent, $x, $y)" .IP \(bu 4 \&\f(CW$new_parent\fR (Gtk2::Gdk::Window) .IP \(bu 4 \&\f(CW$x\fR (integer) .IP \(bu 4 \&\f(CW$y\fR (integer) .ie n .SS "$window\->\fBresize\fP ($width, $height)" .el .SS "\f(CW$window\fP\->\fBresize\fP ($width, \f(CW$height\fP)" .IX Subsection "$window->resize ($width, $height)" .IP \(bu 4 \&\f(CW$width\fR (integer) .IP \(bu 4 \&\f(CW$height\fR (integer) .ie n .SS "$window\->\fBrestack\fP ($sibling, $above)" .el .SS "\f(CW$window\fP\->\fBrestack\fP ($sibling, \f(CW$above\fP)" .IX Subsection "$window->restack ($sibling, $above)" .IP \(bu 4 \&\f(CW$sibling\fR (Gtk2::Gdk::Window or undef) .IP \(bu 4 \&\f(CW$above\fR (boolean) .PP Since: gtk+ 2.18 .ie n .SS "$window\->\fBset_role\fP ($role)" .el .SS "\f(CW$window\fP\->\fBset_role\fP ($role)" .IX Subsection "$window->set_role ($role)" .IP \(bu 4 \&\f(CW$role\fR (string) .ie n .SS "(root_x, root_y) = $window\->\fBget_root_coords\fP ($x, $y)" .el .SS "(root_x, root_y) = \f(CW$window\fP\->\fBget_root_coords\fP ($x, \f(CW$y\fP)" .IX Subsection "(root_x, root_y) = $window->get_root_coords ($x, $y)" .IP \(bu 4 \&\f(CW$x\fR (integer) .IP \(bu 4 \&\f(CW$y\fR (integer) .PP Since: gtk+ 2.18 .ie n .SS "(x, y) = $window\->\fBget_root_origin\fP" .el .SS "(x, y) = \f(CW$window\fP\->\fBget_root_origin\fP" .IX Subsection "(x, y) = $window->get_root_origin" .ie n .SS "$window\->\fBscroll\fP ($dx, $dy)" .el .SS "\f(CW$window\fP\->\fBscroll\fP ($dx, \f(CW$dy\fP)" .IX Subsection "$window->scroll ($dx, $dy)" .IP \(bu 4 \&\f(CW$dx\fR (integer) .IP \(bu 4 \&\f(CW$dy\fR (integer) .ie n .SS "$window\->\fBshape_combine_mask\fP ($mask, $x, $y)" .el .SS "\f(CW$window\fP\->\fBshape_combine_mask\fP ($mask, \f(CW$x\fP, \f(CW$y\fP)" .IX Subsection "$window->shape_combine_mask ($mask, $x, $y)" .IP \(bu 4 \&\f(CW$mask\fR (Gtk2::Gdk::Bitmap or undef) .IP \(bu 4 \&\f(CW$x\fR (integer) .IP \(bu 4 \&\f(CW$y\fR (integer) .ie n .SS "$window\->\fBshape_combine_region\fP ($shape_region, $offset_x, $offset_y)" .el .SS "\f(CW$window\fP\->\fBshape_combine_region\fP ($shape_region, \f(CW$offset_x\fP, \f(CW$offset_y\fP)" .IX Subsection "$window->shape_combine_region ($shape_region, $offset_x, $offset_y)" .IP \(bu 4 \&\f(CW$shape_region\fR (Gtk2::Gdk::Region or undef) .IP \(bu 4 \&\f(CW$offset_x\fR (integer) .IP \(bu 4 \&\f(CW$offset_y\fR (integer) .ie n .SS $window\->\fBshow\fP .el .SS \f(CW$window\fP\->\fBshow\fP .IX Subsection "$window->show" .ie n .SS $window\->\fBshow_unraised\fP .el .SS \f(CW$window\fP\->\fBshow_unraised\fP .IX Subsection "$window->show_unraised" .ie n .SS "$window\->\fBset_skip_pager_hint\fP ($skips_pager)" .el .SS "\f(CW$window\fP\->\fBset_skip_pager_hint\fP ($skips_pager)" .IX Subsection "$window->set_skip_pager_hint ($skips_pager)" .IP \(bu 4 \&\f(CW$skips_pager\fR (boolean) .PP Since: gtk+ 2.2 .ie n .SS "$window\->\fBset_skip_taskbar_hint\fP ($skips_taskbar)" .el .SS "\f(CW$window\fP\->\fBset_skip_taskbar_hint\fP ($skips_taskbar)" .IX Subsection "$window->set_skip_taskbar_hint ($skips_taskbar)" .IP \(bu 4 \&\f(CW$skips_taskbar\fR (boolean) .PP Since: gtk+ 2.2 .ie n .SS "$window\->\fBset_startup_id\fP ($startup_id)" .el .SS "\f(CW$window\fP\->\fBset_startup_id\fP ($startup_id)" .IX Subsection "$window->set_startup_id ($startup_id)" .IP \(bu 4 \&\f(CW$startup_id\fR (string) .PP Since: gtk+ 2.12 .ie n .SS "windowstate = $window\->\fBget_state\fP" .el .SS "windowstate = \f(CW$window\fP\->\fBget_state\fP" .IX Subsection "windowstate = $window->get_state" .ie n .SS "boolean = $window\->\fBset_static_gravities\fP ($use_static)" .el .SS "boolean = \f(CW$window\fP\->\fBset_static_gravities\fP ($use_static)" .IX Subsection "boolean = $window->set_static_gravities ($use_static)" .IP \(bu 4 \&\f(CW$use_static\fR (boolean) .ie n .SS $window\->\fBstick\fP .el .SS \f(CW$window\fP\->\fBstick\fP .IX Subsection "$window->stick" .ie n .SS $window\->\fBthaw_updates\fP .el .SS \f(CW$window\fP\->\fBthaw_updates\fP .IX Subsection "$window->thaw_updates" .ie n .SS "$window\->\fBset_title\fP ($title)" .el .SS "\f(CW$window\fP\->\fBset_title\fP ($title)" .IX Subsection "$window->set_title ($title)" .IP \(bu 4 \&\f(CW$title\fR (string) .ie n .SS "window = $window\->\fBget_toplevel\fP" .el .SS "window = \f(CW$window\fP\->\fBget_toplevel\fP" .IX Subsection "window = $window->get_toplevel" .SS "list = Gtk2::Gdk::Window\->\fBget_toplevels\fP" .IX Subsection "list = Gtk2::Gdk::Window->get_toplevels" Returns a list of top level windows (Gtk2::Gdk::Window's) known to gdk, on the default screen. A toplevel window is a child of the root window. .ie n .SS "$window\->\fBset_transient_for\fP ($parent)" .el .SS "\f(CW$window\fP\->\fBset_transient_for\fP ($parent)" .IX Subsection "$window->set_transient_for ($parent)" .IP \(bu 4 \&\f(CW$parent\fR (Gtk2::Gdk::Window) .ie n .SS "windowtypehint = $window\->\fBget_type_hint\fP" .el .SS "windowtypehint = \f(CW$window\fP\->\fBget_type_hint\fP" .IX Subsection "windowtypehint = $window->get_type_hint" Since: gtk+ 2.10 .ie n .SS "$window\->\fBset_type_hint\fP ($hint)" .el .SS "\f(CW$window\fP\->\fBset_type_hint\fP ($hint)" .IX Subsection "$window->set_type_hint ($hint)" .IP \(bu 4 \&\f(CW$hint\fR (Gtk2::Gdk::WindowTypeHint) .ie n .SS $window\->\fBunfullscreen\fP .el .SS \f(CW$window\fP\->\fBunfullscreen\fP .IX Subsection "$window->unfullscreen" Since: gtk+ 2.2 .ie n .SS $window\->\fBunmaximize\fP .el .SS \f(CW$window\fP\->\fBunmaximize\fP .IX Subsection "$window->unmaximize" .ie n .SS $window\->\fBunstick\fP .el .SS \f(CW$window\fP\->\fBunstick\fP .IX Subsection "$window->unstick" .ie n .SS "region or undef = $window\->\fBget_update_area\fP" .el .SS "region or undef = \f(CW$window\fP\->\fBget_update_area\fP" .IX Subsection "region or undef = $window->get_update_area" .ie n .SS "$window\->\fBset_urgency_hint\fP ($urgent)" .el .SS "\f(CW$window\fP\->\fBset_urgency_hint\fP ($urgent)" .IX Subsection "$window->set_urgency_hint ($urgent)" .IP \(bu 4 \&\f(CW$urgent\fR (boolean) .PP Since: gtk+ 2.8 .ie n .SS "unsigned = $window\->\fBget_user_data\fP" .el .SS "unsigned = \f(CW$window\fP\->\fBget_user_data\fP" .IX Subsection "unsigned = $window->get_user_data" .ie n .SS "$window\->\fBset_user_data\fP ($user_data)" .el .SS "\f(CW$window\fP\->\fBset_user_data\fP ($user_data)" .IX Subsection "$window->set_user_data ($user_data)" .IP \(bu 4 \&\f(CW$user_data\fR (unsigned) .ie n .SS "$window\->\fBset_user_time\fP ($timestamp)" .el .SS "\f(CW$window\fP\->\fBset_user_time\fP ($timestamp)" .IX Subsection "$window->set_user_time ($timestamp)" .IP \(bu 4 \&\f(CW$timestamp\fR (unsigned) .PP Since: gtk+ 2.6 .ie n .SS "windowtype = $window\->\fBget_window_type\fP" .el .SS "windowtype = \f(CW$window\fP\->\fBget_window_type\fP" .IX Subsection "windowtype = $window->get_window_type" .ie n .SS $window\->\fBwithdraw\fP .el .SS \f(CW$window\fP\->\fBwithdraw\fP .IX Subsection "$window->withdraw" .SH PROPERTIES .IX Header "PROPERTIES" .IP "'cursor' (Gtk2::Gdk::Cursor : default undef : readable / writable)" 4 .IX Item "'cursor' (Gtk2::Gdk::Cursor : default undef : readable / writable)" Cursor .SH SIGNALS .IX Header "SIGNALS" .IP "\fBfrom-embedder\fR (Gtk2::Gdk::Window, double, double, gpointer, gpointer)" 4 .IX Item "from-embedder (Gtk2::Gdk::Window, double, double, gpointer, gpointer)" .PD 0 .IP "Gtk2::Gdk::Window = \fBpick-embedded-child\fR (Gtk2::Gdk::Window, double, double)" 4 .IX Item "Gtk2::Gdk::Window = pick-embedded-child (Gtk2::Gdk::Window, double, double)" .IP "\fBto-embedder\fR (Gtk2::Gdk::Window, double, double, gpointer, gpointer)" 4 .IX Item "to-embedder (Gtk2::Gdk::Window, double, double, gpointer, gpointer)" .PD .PP from-embedder, to-embedder and pick-embedded-child signals are for offscreen windows only. .PP from-embedder and to-embedder receive the x and y coordinates to translate, and must return the translated x and y coordinate. .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "flags Gtk2::Gdk::EventMask" .IX Subsection "flags Gtk2::Gdk::EventMask" .IP \(bu 4 \&'exposure\-mask' / 'GDK_EXPOSURE_MASK' .IP \(bu 4 \&'pointer\-motion\-mask' / 'GDK_POINTER_MOTION_MASK' .IP \(bu 4 \&'pointer\-motion\-hint\-mask' / 'GDK_POINTER_MOTION_HINT_MASK' .IP \(bu 4 \&'button\-motion\-mask' / 'GDK_BUTTON_MOTION_MASK' .IP \(bu 4 \&'button1\-motion\-mask' / 'GDK_BUTTON1_MOTION_MASK' .IP \(bu 4 \&'button2\-motion\-mask' / 'GDK_BUTTON2_MOTION_MASK' .IP \(bu 4 \&'button3\-motion\-mask' / 'GDK_BUTTON3_MOTION_MASK' .IP \(bu 4 \&'button\-press\-mask' / 'GDK_BUTTON_PRESS_MASK' .IP \(bu 4 \&'button\-release\-mask' / 'GDK_BUTTON_RELEASE_MASK' .IP \(bu 4 \&'key\-press\-mask' / 'GDK_KEY_PRESS_MASK' .IP \(bu 4 \&'key\-release\-mask' / 'GDK_KEY_RELEASE_MASK' .IP \(bu 4 \&'enter\-notify\-mask' / 'GDK_ENTER_NOTIFY_MASK' .IP \(bu 4 \&'leave\-notify\-mask' / 'GDK_LEAVE_NOTIFY_MASK' .IP \(bu 4 \&'focus\-change\-mask' / 'GDK_FOCUS_CHANGE_MASK' .IP \(bu 4 \&'structure\-mask' / 'GDK_STRUCTURE_MASK' .IP \(bu 4 \&'property\-change\-mask' / 'GDK_PROPERTY_CHANGE_MASK' .IP \(bu 4 \&'visibility\-notify\-mask' / 'GDK_VISIBILITY_NOTIFY_MASK' .IP \(bu 4 \&'proximity\-in\-mask' / 'GDK_PROXIMITY_IN_MASK' .IP \(bu 4 \&'proximity\-out\-mask' / 'GDK_PROXIMITY_OUT_MASK' .IP \(bu 4 \&'substructure\-mask' / 'GDK_SUBSTRUCTURE_MASK' .IP \(bu 4 \&'scroll\-mask' / 'GDK_SCROLL_MASK' .IP \(bu 4 \&'all\-events\-mask' / 'GDK_ALL_EVENTS_MASK' .SS "enum Gtk2::Gdk::PropMode" .IX Subsection "enum Gtk2::Gdk::PropMode" .IP \(bu 4 \&'replace' / 'GDK_PROP_MODE_REPLACE' .IP \(bu 4 \&'prepend' / 'GDK_PROP_MODE_PREPEND' .IP \(bu 4 \&'append' / 'GDK_PROP_MODE_APPEND' .SS "flags Gtk2::Gdk::WMDecoration" .IX Subsection "flags Gtk2::Gdk::WMDecoration" .IP \(bu 4 \&'all' / 'GDK_DECOR_ALL' .IP \(bu 4 \&'border' / 'GDK_DECOR_BORDER' .IP \(bu 4 \&'resizeh' / 'GDK_DECOR_RESIZEH' .IP \(bu 4 \&'title' / 'GDK_DECOR_TITLE' .IP \(bu 4 \&'menu' / 'GDK_DECOR_MENU' .IP \(bu 4 \&'minimize' / 'GDK_DECOR_MINIMIZE' .IP \(bu 4 \&'maximize' / 'GDK_DECOR_MAXIMIZE' .SS "flags Gtk2::Gdk::WMFunction" .IX Subsection "flags Gtk2::Gdk::WMFunction" .IP \(bu 4 \&'all' / 'GDK_FUNC_ALL' .IP \(bu 4 \&'resize' / 'GDK_FUNC_RESIZE' .IP \(bu 4 \&'move' / 'GDK_FUNC_MOVE' .IP \(bu 4 \&'minimize' / 'GDK_FUNC_MINIMIZE' .IP \(bu 4 \&'maximize' / 'GDK_FUNC_MAXIMIZE' .IP \(bu 4 \&'close' / 'GDK_FUNC_CLOSE' .SS "enum Gtk2::Gdk::WindowEdge" .IX Subsection "enum Gtk2::Gdk::WindowEdge" .IP \(bu 4 \&'north\-west' / 'GDK_WINDOW_EDGE_NORTH_WEST' .IP \(bu 4 \&'north' / 'GDK_WINDOW_EDGE_NORTH' .IP \(bu 4 \&'north\-east' / 'GDK_WINDOW_EDGE_NORTH_EAST' .IP \(bu 4 \&'west' / 'GDK_WINDOW_EDGE_WEST' .IP \(bu 4 \&'east' / 'GDK_WINDOW_EDGE_EAST' .IP \(bu 4 \&'south\-west' / 'GDK_WINDOW_EDGE_SOUTH_WEST' .IP \(bu 4 \&'south' / 'GDK_WINDOW_EDGE_SOUTH' .IP \(bu 4 \&'south\-east' / 'GDK_WINDOW_EDGE_SOUTH_EAST' .SS "flags Gtk2::Gdk::WindowHints" .IX Subsection "flags Gtk2::Gdk::WindowHints" .IP \(bu 4 \&'pos' / 'GDK_HINT_POS' .IP \(bu 4 \&'min\-size' / 'GDK_HINT_MIN_SIZE' .IP \(bu 4 \&'max\-size' / 'GDK_HINT_MAX_SIZE' .IP \(bu 4 \&'base\-size' / 'GDK_HINT_BASE_SIZE' .IP \(bu 4 \&'aspect' / 'GDK_HINT_ASPECT' .IP \(bu 4 \&'resize\-inc' / 'GDK_HINT_RESIZE_INC' .IP \(bu 4 \&'win\-gravity' / 'GDK_HINT_WIN_GRAVITY' .IP \(bu 4 \&'user\-pos' / 'GDK_HINT_USER_POS' .IP \(bu 4 \&'user\-size' / 'GDK_HINT_USER_SIZE' .SS "flags Gtk2::Gdk::WindowState" .IX Subsection "flags Gtk2::Gdk::WindowState" .IP \(bu 4 \&'withdrawn' / 'GDK_WINDOW_STATE_WITHDRAWN' .IP \(bu 4 \&'iconified' / 'GDK_WINDOW_STATE_ICONIFIED' .IP \(bu 4 \&'maximized' / 'GDK_WINDOW_STATE_MAXIMIZED' .IP \(bu 4 \&'sticky' / 'GDK_WINDOW_STATE_STICKY' .IP \(bu 4 \&'fullscreen' / 'GDK_WINDOW_STATE_FULLSCREEN' .IP \(bu 4 \&'above' / 'GDK_WINDOW_STATE_ABOVE' .IP \(bu 4 \&'below' / 'GDK_WINDOW_STATE_BELOW' .SS "enum Gtk2::Gdk::WindowType" .IX Subsection "enum Gtk2::Gdk::WindowType" .IP \(bu 4 \&'root' / 'GDK_WINDOW_ROOT' .IP \(bu 4 \&'toplevel' / 'GDK_WINDOW_TOPLEVEL' .IP \(bu 4 \&'child' / 'GDK_WINDOW_CHILD' .IP \(bu 4 \&'dialog' / 'GDK_WINDOW_DIALOG' .IP \(bu 4 \&'temp' / 'GDK_WINDOW_TEMP' .IP \(bu 4 \&'foreign' / 'GDK_WINDOW_FOREIGN' .IP \(bu 4 \&'offscreen' / 'GDK_WINDOW_OFFSCREEN' .SS "enum Gtk2::Gdk::WindowTypeHint" .IX Subsection "enum Gtk2::Gdk::WindowTypeHint" .IP \(bu 4 \&'normal' / 'GDK_WINDOW_TYPE_HINT_NORMAL' .IP \(bu 4 \&'dialog' / 'GDK_WINDOW_TYPE_HINT_DIALOG' .IP \(bu 4 \&'menu' / 'GDK_WINDOW_TYPE_HINT_MENU' .IP \(bu 4 \&'toolbar' / 'GDK_WINDOW_TYPE_HINT_TOOLBAR' .IP \(bu 4 \&'splashscreen' / 'GDK_WINDOW_TYPE_HINT_SPLASHSCREEN' .IP \(bu 4 \&'utility' / 'GDK_WINDOW_TYPE_HINT_UTILITY' .IP \(bu 4 \&'dock' / 'GDK_WINDOW_TYPE_HINT_DOCK' .IP \(bu 4 \&'desktop' / 'GDK_WINDOW_TYPE_HINT_DESKTOP' .IP \(bu 4 \&'dropdown\-menu' / 'GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU' .IP \(bu 4 \&'popup\-menu' / 'GDK_WINDOW_TYPE_HINT_POPUP_MENU' .IP \(bu 4 \&'tooltip' / 'GDK_WINDOW_TYPE_HINT_TOOLTIP' .IP \(bu 4 \&'notification' / 'GDK_WINDOW_TYPE_HINT_NOTIFICATION' .IP \(bu 4 \&'combo' / 'GDK_WINDOW_TYPE_HINT_COMBO' .IP \(bu 4 \&'dnd' / 'GDK_WINDOW_TYPE_HINT_DND' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Gtk2::Gdk::Drawable .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Gtk2 for a full notice.