.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" 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 .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . 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::Window 3pm" .TH Gtk2::Window 3pm "2019-09-16" "perl v5.28.1" "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::Window \- wrapper for GtkWindow .SH "DESCRIPTION" .IX Header "DESCRIPTION" A Gtk2::Window is a top-level window displayed on the root window and interacting (or not) with the window manager. It can be an application's main window, a dialog, or a temporary such as a popup splash window. .SS "Delete Event and Destroy" .IX Subsection "Delete Event and Destroy" The default action for a \f(CW\*(C`delete\-event\*(C'\fR (normally from the window manager close button) is to destroy the window with \&\f(CW\*(C`$window\->destroy\*(C'\fR. In your main window you might want to exit the main loop when that happens. .PP .Vb 1 \& $toplevel\->signal_connect (destroy => sub { Gtk2\->main_quit }); .Ve .PP If you install a handler for \f(CW\*(C`delete\-event\*(C'\fR and return true, meaning \&\*(L"don't propagate\*(R", you can do something other than destroy the window. For example .PP .Vb 8 \& $toplevel\->signal_connect (delete_event => sub { \& if (any_unsaved_documents()) { \& popup_ask_save_before_exit_dialog(); \& return Gtk2::EVENT_STOP; # don\*(Aqt go to default destroy \& } else { \& return Gtk2::EVENT_PROPAGATE; \& } \& }); .Ve .PP In a dialog or secondary app window you might not want to destroy but instead just hide ready for later re-use. .PP .Vb 2 \& $dialog\->signal_connect \& (delete_event => \e&Gtk2::Widget::hide_on_delete); .Ve .PP The choice between destroying or hiding is normally just a matter of memory saved against the time to re-create, and how likely the dialog might be needed again. (However if you build windows with Glade it's not particularly easy to re-create them there, so you'll mostly want to just hide in that case.) .PP A hidden toplevel window is still in \&\f(CW\*(C`Gtk2::Window\->list_toplevels\*(C'\fR and that's a good place to search for an existing window of a desired type to \f(CW\*(C`$window\->present\*(C'\fR again. .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 7 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::Bin \& +\-\-\-\-Gtk2::Window .Ve .SH "INTERFACES" .IX Header "INTERFACES" .Vb 2 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable .Ve .SH "METHODS" .IX Header "METHODS" .SS "widget = Gtk2::Window\->\fBnew\fP ($type=GTK_WINDOW_TOPLEVEL)" .IX Subsection "widget = Gtk2::Window->new ($type=GTK_WINDOW_TOPLEVEL)" .IP "\(bu" 4 \&\f(CW$type\fR (Gtk2::WindowType) .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.4 .ie n .SS "$window\->\fBset_accept_focus\fP ($setting)" .el .SS "\f(CW$window\fP\->\fBset_accept_focus\fP ($setting)" .IX Subsection "$window->set_accept_focus ($setting)" .IP "\(bu" 4 \&\f(CW$setting\fR (boolean) .PP Since: gtk+ 2.4 .ie n .SS "boolean = $window\->\fBactivate_default\fP" .el .SS "boolean = \f(CW$window\fP\->\fBactivate_default\fP" .IX Subsection "boolean = $window->activate_default" .ie n .SS "boolean = $window\->\fBactivate_focus\fP" .el .SS "boolean = \f(CW$window\fP\->\fBactivate_focus\fP" .IX Subsection "boolean = $window->activate_focus" .ie n .SS "boolean = $window\->\fBactivate_key\fP ($event)" .el .SS "boolean = \f(CW$window\fP\->\fBactivate_key\fP ($event)" .IX Subsection "boolean = $window->activate_key ($event)" .IP "\(bu" 4 \&\f(CW$event\fR (Gtk2::Gdk::Event::Key) .PP Since: gtk+ 2.4 .ie n .SS "$window\->\fBadd_accel_group\fP ($accel_group)" .el .SS "\f(CW$window\fP\->\fBadd_accel_group\fP ($accel_group)" .IX Subsection "$window->add_accel_group ($accel_group)" .IP "\(bu" 4 \&\f(CW$accel_group\fR (Gtk2::AccelGroup) .ie n .SS "$window\->\fBadd_embedded_xid\fP ($xid)" .el .SS "\f(CW$window\fP\->\fBadd_embedded_xid\fP ($xid)" .IX Subsection "$window->add_embedded_xid ($xid)" .IP "\(bu" 4 \&\f(CW$xid\fR (integer) .ie n .SS "$window\->\fBadd_mnemonic\fP ($keyval, $target)" .el .SS "\f(CW$window\fP\->\fBadd_mnemonic\fP ($keyval, \f(CW$target\fP)" .IX Subsection "$window->add_mnemonic ($keyval, $target)" .IP "\(bu" 4 \&\f(CW$keyval\fR (integer) .IP "\(bu" 4 \&\f(CW$target\fR (Gtk2::Widget) .SS "Gtk2::Window\->\fBset_auto_startup_notification\fP ($setting)" .IX Subsection "Gtk2::Window->set_auto_startup_notification ($setting)" .IP "\(bu" 4 \&\f(CW$setting\fR (boolean) .PP Since: gtk+ 2.2 .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_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 "boolean = $window\->\fBget_decorated\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_decorated\fP" .IX Subsection "boolean = $window->get_decorated" .ie n .SS "$window\->\fBset_decorated\fP ($setting)" .el .SS "\f(CW$window\fP\->\fBset_decorated\fP ($setting)" .IX Subsection "$window->set_decorated ($setting)" .IP "\(bu" 4 \&\f(CW$setting\fR (boolean) .SS "Gtk2::Window\->\fBset_default_icon_from_file\fP ($filename)" .IX Subsection "Gtk2::Window->set_default_icon_from_file ($filename)" .ie n .SS "$window\->\fBset_default_icon_from_file\fP ($filename)" .el .SS "\f(CW$window\fP\->\fBset_default_icon_from_file\fP ($filename)" .IX Subsection "$window->set_default_icon_from_file ($filename)" .IP "\(bu" 4 \&\f(CW$filename\fR (localized file name) .PP May croak with a Glib::Error in $@ on failure. .PP Since: gtk+ 2.2 .SS "list = Gtk2::Window\->\fBget_default_icon_list\fP" .IX Subsection "list = Gtk2::Window->get_default_icon_list" Gets the value set by \f(CW$window\fR\->set_default_icon_list. .ie n .SS "$window\->\fBset_default_icon_list\fP ($pixbuf1, ...)" .el .SS "\f(CW$window\fP\->\fBset_default_icon_list\fP ($pixbuf1, ...)" .IX Subsection "$window->set_default_icon_list ($pixbuf1, ...)" .IP "\(bu" 4 \&... (list) .IP "\(bu" 4 \&\f(CW$pixbuf1\fR (Gtk2::Gdk::Pixbuf) .SS "string or undef = Gtk2::Window\->\fBget_default_icon_name\fP" .IX Subsection "string or undef = Gtk2::Window->get_default_icon_name" Gets the value set by \f(CW\*(C`Gtk2::Window\->set_default_icon_name\*(C'\fR. .PP Since: gtk+ 2.16 .SS "Gtk2::Window\->\fBset_default_icon_name\fP ($name)" .IX Subsection "Gtk2::Window->set_default_icon_name ($name)" .IP "\(bu" 4 \&\f(CW$name\fR (string or undef) .PP Since: gtk+ 2.6 .SS "Gtk2::Window\->\fBset_default_icon\fP ($icon)" .IX Subsection "Gtk2::Window->set_default_icon ($icon)" .IP "\(bu" 4 \&\f(CW$icon\fR (Gtk2::Gdk::Pixbuf) .PP Since: gtk+ 2.4 .ie n .SS "$window\->\fBset_default\fP ($default_widget)" .el .SS "\f(CW$window\fP\->\fBset_default\fP ($default_widget)" .IX Subsection "$window->set_default ($default_widget)" .IP "\(bu" 4 \&\f(CW$default_widget\fR (Gtk2::Widget or undef) .ie n .SS "(width, height) = $window\->\fBget_default_size\fP" .el .SS "(width, height) = \f(CW$window\fP\->\fBget_default_size\fP" .IX Subsection "(width, height) = $window->get_default_size" .ie n .SS "$window\->\fBset_default_size\fP ($width, $height)" .el .SS "\f(CW$window\fP\->\fBset_default_size\fP ($width, \f(CW$height\fP)" .IX Subsection "$window->set_default_size ($width, $height)" .IP "\(bu" 4 \&\f(CW$width\fR (integer) .IP "\(bu" 4 \&\f(CW$height\fR (integer) .ie n .SS "widget or undef = $window\->\fBget_default_widget\fP" .el .SS "widget or undef = \f(CW$window\fP\->\fBget_default_widget\fP" .IX Subsection "widget or undef = $window->get_default_widget" Since: gtk+ 2.14 .ie n .SS "$window\->\fBdeiconify\fP" .el .SS "\f(CW$window\fP\->\fBdeiconify\fP" .IX Subsection "$window->deiconify" .ie n .SS "boolean = $window\->\fBget_deletable\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_deletable\fP" .IX Subsection "boolean = $window->get_deletable" Since: gtk+ 2.10 .ie n .SS "$window\->\fBset_deletable\fP ($setting)" .el .SS "\f(CW$window\fP\->\fBset_deletable\fP ($setting)" .IX Subsection "$window->set_deletable ($setting)" .IP "\(bu" 4 \&\f(CW$setting\fR (boolean) .PP Since: gtk+ 2.10 .ie n .SS "boolean = $window\->\fBget_destroy_with_parent\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_destroy_with_parent\fP" .IX Subsection "boolean = $window->get_destroy_with_parent" .ie n .SS "$window\->\fBset_destroy_with_parent\fP ($setting)" .el .SS "\f(CW$window\fP\->\fBset_destroy_with_parent\fP ($setting)" .IX Subsection "$window->set_destroy_with_parent ($setting)" .IP "\(bu" 4 \&\f(CW$setting\fR (boolean) .ie n .SS "widget or undef = $window\->\fBget_focus\fP" .el .SS "widget or undef = \f(CW$window\fP\->\fBget_focus\fP" .IX Subsection "widget or undef = $window->get_focus" .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.6 .ie n .SS "$window\->\fBset_focus_on_map\fP ($setting)" .el .SS "\f(CW$window\fP\->\fBset_focus_on_map\fP ($setting)" .IX Subsection "$window->set_focus_on_map ($setting)" .IP "\(bu" 4 \&\f(CW$setting\fR (boolean) .PP Since: gtk+ 2.6 .ie n .SS "$window\->\fBset_focus\fP ($focus=undef)" .el .SS "\f(CW$window\fP\->\fBset_focus\fP ($focus=undef)" .IX Subsection "$window->set_focus ($focus=undef)" .IP "\(bu" 4 \&\f(CW$focus\fR (Gtk2::Widget or undef) .ie n .SS "(left, top, right, bottom) = $window\->\fBget_frame_dimensions\fP" .el .SS "(left, top, right, bottom) = \f(CW$window\fP\->\fBget_frame_dimensions\fP" .IX Subsection "(left, top, right, bottom) = $window->get_frame_dimensions" .ie n .SS "$window\->\fBset_frame_dimensions\fP ($left, $top, $right, $bottom)" .el .SS "\f(CW$window\fP\->\fBset_frame_dimensions\fP ($left, \f(CW$top\fP, \f(CW$right\fP, \f(CW$bottom\fP)" .IX Subsection "$window->set_frame_dimensions ($left, $top, $right, $bottom)" .IP "\(bu" 4 \&\f(CW$left\fR (integer) .IP "\(bu" 4 \&\f(CW$top\fR (integer) .IP "\(bu" 4 \&\f(CW$right\fR (integer) .IP "\(bu" 4 \&\f(CW$bottom\fR (integer) .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_geometry_hints\fP ($geometry_widget, $geometry)" .el .SS "\f(CW$window\fP\->\fBset_geometry_hints\fP ($geometry_widget, \f(CW$geometry\fP)" .IX Subsection "$window->set_geometry_hints ($geometry_widget, $geometry)" .ie n .SS "$window\->\fBset_geometry_hints\fP ($geometry_widget, $geometry, $geom_mask)" .el .SS "\f(CW$window\fP\->\fBset_geometry_hints\fP ($geometry_widget, \f(CW$geometry\fP, \f(CW$geom_mask\fP)" .IX Subsection "$window->set_geometry_hints ($geometry_widget, $geometry, $geom_mask)" .IP "\(bu" 4 \&\f(CW$geometry_widget\fR (Gtk2::Widget) .IP "\(bu" 4 \&\f(CW$geom_mask\fR (Gtk2::Gdk::WindowHints) optional, usually inferred from \fI\f(CI$geometry\fI\fR .IP "\(bu" 4 \&\f(CW$geometry\fR (scalar) Gtk2::Gdk::Geometry or hashref .PP See \f(CW\*(C`Gtk2::Gdk::Window::set_geometry_hints\*(C'\fR on the \f(CW$geometry\fR and \f(CW$geom_mask\fR arguments. .ie n .SS "gravity = $window\->\fBget_gravity\fP" .el .SS "gravity = \f(CW$window\fP\->\fBget_gravity\fP" .IX Subsection "gravity = $window->get_gravity" .ie n .SS "$window\->\fBset_gravity\fP ($gravity)" .el .SS "\f(CW$window\fP\->\fBset_gravity\fP ($gravity)" .IX Subsection "$window->set_gravity ($gravity)" .IP "\(bu" 4 \&\f(CW$gravity\fR (Gtk2::Gdk::Gravity) .ie n .SS "windowgroup or undef = $window\->\fBget_group\fP" .el .SS "windowgroup or undef = \f(CW$window\fP\->\fBget_group\fP" .IX Subsection "windowgroup or undef = $window->get_group" Since: gtk+ 2.10 .ie n .SS "boolean = $window\->\fBget_has_frame\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_has_frame\fP" .IX Subsection "boolean = $window->get_has_frame" .ie n .SS "$window\->\fBset_has_frame\fP ($setting)" .el .SS "\f(CW$window\fP\->\fBset_has_frame\fP ($setting)" .IX Subsection "$window->set_has_frame ($setting)" .IP "\(bu" 4 \&\f(CW$setting\fR (boolean) .ie n .SS "boolean = $window\->\fBhas_group\fP" .el .SS "boolean = \f(CW$window\fP\->\fBhas_group\fP" .IX Subsection "boolean = $window->has_group" Since: gtk+ 2.22 .ie n .SS "boolean = $window\->\fBhas_toplevel_focus\fP" .el .SS "boolean = \f(CW$window\fP\->\fBhas_toplevel_focus\fP" .IX Subsection "boolean = $window->has_toplevel_focus" Since: gtk+ 2.4 .ie n .SS "$window\->\fBset_icon_from_file\fP ($filename)" .el .SS "\f(CW$window\fP\->\fBset_icon_from_file\fP ($filename)" .IX Subsection "$window->set_icon_from_file ($filename)" .IP "\(bu" 4 \&\f(CW$filename\fR (localized file name) .PP May croak with a Glib::Error in $@ on failure. .PP Since: gtk+ 2.2 .ie n .SS "pixbuf or undef = $window\->\fBget_icon\fP" .el .SS "pixbuf or undef = \f(CW$window\fP\->\fBget_icon\fP" .IX Subsection "pixbuf or undef = $window->get_icon" .ie n .SS "list = $window\->\fBget_icon_list\fP" .el .SS "list = \f(CW$window\fP\->\fBget_icon_list\fP" .IX Subsection "list = $window->get_icon_list" Retrieves the list of icons set by \fBset_icon_list()\fR. .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 Gtk2::Gdk::Pixbuf's .PP Sets up the icon representing a Gtk2::Window. The icon is used when the window is minimized (also known as iconified). Some window managers or desktop environments may also place it in the window frame, or display it in other contexts. .PP set_icon_list () allows you to pass in the same icon in several hand-drawn sizes. The list should contain the natural sizes your icon is available in; that is, don't scale the image before passing it to \s-1GTK+.\s0 Scaling is postponed until the last minute, when the desired final size is known, to allow best quality. .PP By passing several sizes, you may improve the final image quality of the icon, by reducing or eliminating automatic image scaling. .PP Recommended sizes to provide: 16x16, 32x32, 48x48 at minimum, and larger images (64x64, 128x128) if you have them. .ie n .SS "string or undef = $window\->\fBget_icon_name\fP" .el .SS "string or undef = \f(CW$window\fP\->\fBget_icon_name\fP" .IX Subsection "string or undef = $window->get_icon_name" Since: gtk+ 2.6 .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) .PP Since: gtk+ 2.6 .ie n .SS "$window\->\fBset_icon\fP ($icon)" .el .SS "\f(CW$window\fP\->\fBset_icon\fP ($icon)" .IX Subsection "$window->set_icon ($icon)" .IP "\(bu" 4 \&\f(CW$icon\fR (Gtk2::Gdk::Pixbuf or undef) .ie n .SS "$window\->\fBiconify\fP" .el .SS "\f(CW$window\fP\->\fBiconify\fP" .IX Subsection "$window->iconify" .ie n .SS "boolean = $window\->\fBis_active\fP" .el .SS "boolean = \f(CW$window\fP\->\fBis_active\fP" .IX Subsection "boolean = $window->is_active" Since: gtk+ 2.4 .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 "list = Gtk2::Window\->\fBlist_toplevels\fP" .IX Subsection "list = Gtk2::Window->list_toplevels" Returns a list of all existing toplevel windows. .ie n .SS "$window\->\fBmaximize\fP" .el .SS "\f(CW$window\fP\->\fBmaximize\fP" .IX Subsection "$window->maximize" .ie n .SS "boolean = $window\->\fBmnemonic_activate\fP ($keyval, $modifier)" .el .SS "boolean = \f(CW$window\fP\->\fBmnemonic_activate\fP ($keyval, \f(CW$modifier\fP)" .IX Subsection "boolean = $window->mnemonic_activate ($keyval, $modifier)" .IP "\(bu" 4 \&\f(CW$keyval\fR (integer) .IP "\(bu" 4 \&\f(CW$modifier\fR (Gtk2::Gdk::ModifierType) .ie n .SS "modifiertype = $window\->\fBget_mnemonic_modifier\fP" .el .SS "modifiertype = \f(CW$window\fP\->\fBget_mnemonic_modifier\fP" .IX Subsection "modifiertype = $window->get_mnemonic_modifier" .ie n .SS "$window\->\fBset_mnemonic_modifier\fP ($modifier)" .el .SS "\f(CW$window\fP\->\fBset_mnemonic_modifier\fP ($modifier)" .IX Subsection "$window->set_mnemonic_modifier ($modifier)" .IP "\(bu" 4 \&\f(CW$modifier\fR (Gtk2::Gdk::ModifierType) .ie n .SS "boolean = $window\->\fBget_mnemonics_visible\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_mnemonics_visible\fP" .IX Subsection "boolean = $window->get_mnemonics_visible" Since: gtk+ 2.20 .ie n .SS "$window\->\fBset_mnemonics_visible\fP ($setting)" .el .SS "\f(CW$window\fP\->\fBset_mnemonics_visible\fP ($setting)" .IX Subsection "$window->set_mnemonics_visible ($setting)" .IP "\(bu" 4 \&\f(CW$setting\fR (boolean) .PP Since: gtk+ 2.20 .ie n .SS "boolean = $window\->\fBget_modal\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_modal\fP" .IX Subsection "boolean = $window->get_modal" .ie n .SS "$window\->\fBset_modal\fP ($modal)" .el .SS "\f(CW$window\fP\->\fBset_modal\fP ($modal)" .IX Subsection "$window->set_modal ($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 "double = $window\->\fBget_opacity\fP" .el .SS "double = \f(CW$window\fP\->\fBget_opacity\fP" .IX Subsection "double = $window->get_opacity" Since: gtk+ 2.12 .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 "boolean = $window\->\fBparse_geometry\fP ($geometry)" .el .SS "boolean = \f(CW$window\fP\->\fBparse_geometry\fP ($geometry)" .IX Subsection "boolean = $window->parse_geometry ($geometry)" .IP "\(bu" 4 \&\f(CW$geometry\fR (string) .ie n .SS "(root_x, root_y) = $window\->\fBget_position\fP" .el .SS "(root_x, root_y) = \f(CW$window\fP\->\fBget_position\fP" .IX Subsection "(root_x, root_y) = $window->get_position" .ie n .SS "$window\->\fBset_position\fP ($position)" .el .SS "\f(CW$window\fP\->\fBset_position\fP ($position)" .IX Subsection "$window->set_position ($position)" .IP "\(bu" 4 \&\f(CW$position\fR (Gtk2::WindowPosition) .ie n .SS "$window\->\fBpresent\fP" .el .SS "\f(CW$window\fP\->\fBpresent\fP" .IX Subsection "$window->present" .ie n .SS "$window\->\fBpresent_with_time\fP ($timestamp)" .el .SS "\f(CW$window\fP\->\fBpresent_with_time\fP ($timestamp)" .IX Subsection "$window->present_with_time ($timestamp)" .IP "\(bu" 4 \&\f(CW$timestamp\fR (unsigned) .PP Since: gtk+ 2.8 .ie n .SS "boolean = $window\->\fBpropagate_key_event\fP ($event)" .el .SS "boolean = \f(CW$window\fP\->\fBpropagate_key_event\fP ($event)" .IX Subsection "boolean = $window->propagate_key_event ($event)" .IP "\(bu" 4 \&\f(CW$event\fR (Gtk2::Gdk::Event::Key) .PP Since: gtk+ 2.4 .ie n .SS "$window\->\fBremove_accel_group\fP ($accel_group)" .el .SS "\f(CW$window\fP\->\fBremove_accel_group\fP ($accel_group)" .IX Subsection "$window->remove_accel_group ($accel_group)" .IP "\(bu" 4 \&\f(CW$accel_group\fR (Gtk2::AccelGroup) .ie n .SS "$window\->\fBremove_embedded_xid\fP ($xid)" .el .SS "\f(CW$window\fP\->\fBremove_embedded_xid\fP ($xid)" .IX Subsection "$window->remove_embedded_xid ($xid)" .IP "\(bu" 4 \&\f(CW$xid\fR (integer) .ie n .SS "$window\->\fBremove_mnemonic\fP ($keyval, $target)" .el .SS "\f(CW$window\fP\->\fBremove_mnemonic\fP ($keyval, \f(CW$target\fP)" .IX Subsection "$window->remove_mnemonic ($keyval, $target)" .IP "\(bu" 4 \&\f(CW$keyval\fR (integer) .IP "\(bu" 4 \&\f(CW$target\fR (Gtk2::Widget) .ie n .SS "$window\->\fBreshow_with_initial_size\fP" .el .SS "\f(CW$window\fP\->\fBreshow_with_initial_size\fP" .IX Subsection "$window->reshow_with_initial_size" .ie n .SS "boolean = $window\->\fBget_resizable\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_resizable\fP" .IX Subsection "boolean = $window->get_resizable" .ie n .SS "$window\->\fBset_resizable\fP ($resizable)" .el .SS "\f(CW$window\fP\->\fBset_resizable\fP ($resizable)" .IX Subsection "$window->set_resizable ($resizable)" .IP "\(bu" 4 \&\f(CW$resizable\fR (boolean) .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 "string = $window\->\fBget_role\fP" .el .SS "string = \f(CW$window\fP\->\fBget_role\fP" .IX Subsection "string = $window->get_role" .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 "screen = $window\->\fBget_screen\fP" .el .SS "screen = \f(CW$window\fP\->\fBget_screen\fP" .IX Subsection "screen = $window->get_screen" Since: gtk+ 2.2 .ie n .SS "$window\->\fBset_screen\fP ($screen)" .el .SS "\f(CW$window\fP\->\fBset_screen\fP ($screen)" .IX Subsection "$window->set_screen ($screen)" .IP "\(bu" 4 \&\f(CW$screen\fR (Gtk2::Gdk::Screen) .PP Since: gtk+ 2.2 .ie n .SS "(width, height) = $window\->\fBget_size\fP" .el .SS "(width, height) = \f(CW$window\fP\->\fBget_size\fP" .IX Subsection "(width, height) = $window->get_size" .ie n .SS "boolean = $window\->\fBget_skip_pager_hint\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_skip_pager_hint\fP" .IX Subsection "boolean = $window->get_skip_pager_hint" Since: gtk+ 2.2 .ie n .SS "$window\->\fBset_skip_pager_hint\fP ($setting)" .el .SS "\f(CW$window\fP\->\fBset_skip_pager_hint\fP ($setting)" .IX Subsection "$window->set_skip_pager_hint ($setting)" .IP "\(bu" 4 \&\f(CW$setting\fR (boolean) .PP Since: gtk+ 2.2 .ie n .SS "boolean = $window\->\fBget_skip_taskbar_hint\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_skip_taskbar_hint\fP" .IX Subsection "boolean = $window->get_skip_taskbar_hint" Since: gtk+ 2.2 .ie n .SS "$window\->\fBset_skip_taskbar_hint\fP ($setting)" .el .SS "\f(CW$window\fP\->\fBset_skip_taskbar_hint\fP ($setting)" .IX Subsection "$window->set_skip_taskbar_hint ($setting)" .IP "\(bu" 4 \&\f(CW$setting\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 "$window\->\fBstick\fP" .el .SS "\f(CW$window\fP\->\fBstick\fP" .IX Subsection "$window->stick" .ie n .SS "string = $window\->\fBget_title\fP" .el .SS "string = \f(CW$window\fP\->\fBget_title\fP" .IX Subsection "string = $window->get_title" .ie n .SS "$window\->\fBset_title\fP ($title=undef)" .el .SS "\f(CW$window\fP\->\fBset_title\fP ($title=undef)" .IX Subsection "$window->set_title ($title=undef)" .IP "\(bu" 4 \&\f(CW$title\fR (string or undef) .ie n .SS "window or undef = $window\->\fBget_transient_for\fP" .el .SS "window or undef = \f(CW$window\fP\->\fBget_transient_for\fP" .IX Subsection "window or undef = $window->get_transient_for" .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::Window or undef) .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" .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 "boolean = $window\->\fBget_urgency_hint\fP" .el .SS "boolean = \f(CW$window\fP\->\fBget_urgency_hint\fP" .IX Subsection "boolean = $window->get_urgency_hint" Since: gtk+ 2.8 .ie n .SS "$window\->\fBset_urgency_hint\fP ($setting)" .el .SS "\f(CW$window\fP\->\fBset_urgency_hint\fP ($setting)" .IX Subsection "$window->set_urgency_hint ($setting)" .IP "\(bu" 4 \&\f(CW$setting\fR (boolean) .PP Since: gtk+ 2.8 .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" Since: gtk+ 2.20 .ie n .SS "$window\->\fBset_wmclass\fP ($wmclass_name, $wmclass_class)" .el .SS "\f(CW$window\fP\->\fBset_wmclass\fP ($wmclass_name, \f(CW$wmclass_class\fP)" .IX Subsection "$window->set_wmclass ($wmclass_name, $wmclass_class)" .IP "\(bu" 4 \&\f(CW$wmclass_name\fR (string) .IP "\(bu" 4 \&\f(CW$wmclass_class\fR (string) .SH "PROPERTIES" .IX Header "PROPERTIES" .IP "'accept\-focus' (boolean : default true : readable / writable / private)" 4 .IX Item "'accept-focus' (boolean : default true : readable / writable / private)" \&\s-1TRUE\s0 if the window should receive the input focus. .IP "'allow\-grow' (boolean : default true : readable / writable / private)" 4 .IX Item "'allow-grow' (boolean : default true : readable / writable / private)" If \s-1TRUE,\s0 users can expand the window beyond its minimum size .IP "'allow\-shrink' (boolean : default false : readable / writable / private)" 4 .IX Item "'allow-shrink' (boolean : default false : readable / writable / private)" If \s-1TRUE,\s0 the window has no mimimum size. Setting this to \s-1TRUE\s0 is 99% of the time a bad idea .IP "'decorated' (boolean : default true : readable / writable / private)" 4 .IX Item "'decorated' (boolean : default true : readable / writable / private)" Whether the window should be decorated by the window manager .IP "'default\-height' (integer : default \-1 : readable / writable / private)" 4 .IX Item "'default-height' (integer : default -1 : readable / writable / private)" The default height of the window, used when initially showing the window .IP "'default\-width' (integer : default \-1 : readable / writable / private)" 4 .IX Item "'default-width' (integer : default -1 : readable / writable / private)" The default width of the window, used when initially showing the window .IP "'deletable' (boolean : default true : readable / writable / private)" 4 .IX Item "'deletable' (boolean : default true : readable / writable / private)" Whether the window frame should have a close button .IP "'destroy\-with\-parent' (boolean : default false : readable / writable / private)" 4 .IX Item "'destroy-with-parent' (boolean : default false : readable / writable / private)" If this window should be destroyed when the parent is destroyed .IP "'focus\-on\-map' (boolean : default true : readable / writable / private)" 4 .IX Item "'focus-on-map' (boolean : default true : readable / writable / private)" \&\s-1TRUE\s0 if the window should receive the input focus when mapped. .ie n .IP "'gravity' (Gtk2::Gdk::Gravity : default ""north-west"" : readable / writable / private)" 4 .el .IP "'gravity' (Gtk2::Gdk::Gravity : default ``north-west'' : readable / writable / private)" 4 .IX Item "'gravity' (Gtk2::Gdk::Gravity : default north-west : readable / writable / private)" The window gravity of the window .IP "'has\-toplevel\-focus' (boolean : default false : readable / private)" 4 .IX Item "'has-toplevel-focus' (boolean : default false : readable / private)" Whether the input focus is within this GtkWindow .IP "'icon' (Gtk2::Gdk::Pixbuf : default undef : readable / writable / private)" 4 .IX Item "'icon' (Gtk2::Gdk::Pixbuf : default undef : readable / writable / private)" Icon for this window .IP "'icon\-name' (string : default undef : readable / writable / private)" 4 .IX Item "'icon-name' (string : default undef : readable / writable / private)" Name of the themed icon for this window .IP "'is\-active' (boolean : default false : readable / private)" 4 .IX Item "'is-active' (boolean : default false : readable / private)" Whether the toplevel is the current active window .IP "'mnemonics\-visible' (boolean : default true : readable / writable / private)" 4 .IX Item "'mnemonics-visible' (boolean : default true : readable / writable / private)" Whether mnemonics are currently visible in this window .IP "'modal' (boolean : default false : readable / writable / private)" 4 .IX Item "'modal' (boolean : default false : readable / writable / private)" If \s-1TRUE,\s0 the window is modal (other windows are not usable while this one is up) .IP "'opacity' (double : default 1 : readable / writable / private)" 4 .IX Item "'opacity' (double : default 1 : readable / writable / private)" The opacity of the window, from 0 to 1 .IP "'resizable' (boolean : default true : readable / writable / private)" 4 .IX Item "'resizable' (boolean : default true : readable / writable / private)" If \s-1TRUE,\s0 users can resize the window .IP "'role' (string : default undef : readable / writable / private)" 4 .IX Item "'role' (string : default undef : readable / writable / private)" Unique identifier for the window to be used when restoring a session .IP "'screen' (Gtk2::Gdk::Screen : default undef : readable / writable / private)" 4 .IX Item "'screen' (Gtk2::Gdk::Screen : default undef : readable / writable / private)" The screen where this window will be displayed .IP "'skip\-pager\-hint' (boolean : default false : readable / writable / private)" 4 .IX Item "'skip-pager-hint' (boolean : default false : readable / writable / private)" \&\s-1TRUE\s0 if the window should not be in the pager. .IP "'skip\-taskbar\-hint' (boolean : default false : readable / writable / private)" 4 .IX Item "'skip-taskbar-hint' (boolean : default false : readable / writable / private)" \&\s-1TRUE\s0 if the window should not be in the task bar. .IP "'startup\-id' (string : default undef : writable / private)" 4 .IX Item "'startup-id' (string : default undef : writable / private)" Unique startup identifier for the window used by startup-notification .IP "'title' (string : default undef : readable / writable / private)" 4 .IX Item "'title' (string : default undef : readable / writable / private)" The title of the window .IP "'transient\-for' (Gtk2::Window : default undef : readable / writable / construct / private)" 4 .IX Item "'transient-for' (Gtk2::Window : default undef : readable / writable / construct / private)" The transient parent of the dialog .ie n .IP "'type' (Gtk2::WindowType : default ""toplevel"" : readable / writable / construct-only / private)" 4 .el .IP "'type' (Gtk2::WindowType : default ``toplevel'' : readable / writable / construct-only / private)" 4 .IX Item "'type' (Gtk2::WindowType : default toplevel : readable / writable / construct-only / private)" The type of the window .ie n .IP "'type\-hint' (Gtk2::Gdk::WindowTypeHint : default ""normal"" : readable / writable / private)" 4 .el .IP "'type\-hint' (Gtk2::Gdk::WindowTypeHint : default ``normal'' : readable / writable / private)" 4 .IX Item "'type-hint' (Gtk2::Gdk::WindowTypeHint : default normal : readable / writable / private)" Hint to help the desktop environment understand what kind of window this is and how to treat it. .IP "'urgency\-hint' (boolean : default false : readable / writable / private)" 4 .IX Item "'urgency-hint' (boolean : default false : readable / writable / private)" \&\s-1TRUE\s0 if the window should be brought to the user's attention. .ie n .IP "'window\-position' (Gtk2::WindowPosition : default ""none"" : readable / writable / private)" 4 .el .IP "'window\-position' (Gtk2::WindowPosition : default ``none'' : readable / writable / private)" 4 .IX Item "'window-position' (Gtk2::WindowPosition : default none : readable / writable / private)" The initial position of the window .SH "SIGNALS" .IX Header "SIGNALS" .IP "\fBactivate-default\fR (Gtk2::Window)" 4 .IX Item "activate-default (Gtk2::Window)" .PD 0 .IP "\fBactivate-focus\fR (Gtk2::Window)" 4 .IX Item "activate-focus (Gtk2::Window)" .IP "boolean = \fBframe-event\fR (Gtk2::Window, Gtk2::Gdk::Event)" 4 .IX Item "boolean = frame-event (Gtk2::Window, Gtk2::Gdk::Event)" .IP "\fBkeys-changed\fR (Gtk2::Window)" 4 .IX Item "keys-changed (Gtk2::Window)" .IP "\fBset-focus\fR (Gtk2::Window, Gtk2::Widget)" 4 .IX Item "set-focus (Gtk2::Window, Gtk2::Widget)" .PD .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::Gdk::Gravity" .IX Subsection "enum Gtk2::Gdk::Gravity" .IP "\(bu" 4 \&'north\-west' / '\s-1GDK_GRAVITY_NORTH_WEST\s0' .IP "\(bu" 4 \&'north' / '\s-1GDK_GRAVITY_NORTH\s0' .IP "\(bu" 4 \&'north\-east' / '\s-1GDK_GRAVITY_NORTH_EAST\s0' .IP "\(bu" 4 \&'west' / '\s-1GDK_GRAVITY_WEST\s0' .IP "\(bu" 4 \&'center' / '\s-1GDK_GRAVITY_CENTER\s0' .IP "\(bu" 4 \&'east' / '\s-1GDK_GRAVITY_EAST\s0' .IP "\(bu" 4 \&'south\-west' / '\s-1GDK_GRAVITY_SOUTH_WEST\s0' .IP "\(bu" 4 \&'south' / '\s-1GDK_GRAVITY_SOUTH\s0' .IP "\(bu" 4 \&'south\-east' / '\s-1GDK_GRAVITY_SOUTH_EAST\s0' .IP "\(bu" 4 \&'static' / '\s-1GDK_GRAVITY_STATIC\s0' .SS "flags Gtk2::Gdk::ModifierType" .IX Subsection "flags Gtk2::Gdk::ModifierType" .IP "\(bu" 4 \&'shift\-mask' / '\s-1GDK_SHIFT_MASK\s0' .IP "\(bu" 4 \&'lock\-mask' / '\s-1GDK_LOCK_MASK\s0' .IP "\(bu" 4 \&'control\-mask' / '\s-1GDK_CONTROL_MASK\s0' .IP "\(bu" 4 \&'mod1\-mask' / '\s-1GDK_MOD1_MASK\s0' .IP "\(bu" 4 \&'mod2\-mask' / '\s-1GDK_MOD2_MASK\s0' .IP "\(bu" 4 \&'mod3\-mask' / '\s-1GDK_MOD3_MASK\s0' .IP "\(bu" 4 \&'mod4\-mask' / '\s-1GDK_MOD4_MASK\s0' .IP "\(bu" 4 \&'mod5\-mask' / '\s-1GDK_MOD5_MASK\s0' .IP "\(bu" 4 \&'button1\-mask' / '\s-1GDK_BUTTON1_MASK\s0' .IP "\(bu" 4 \&'button2\-mask' / '\s-1GDK_BUTTON2_MASK\s0' .IP "\(bu" 4 \&'button3\-mask' / '\s-1GDK_BUTTON3_MASK\s0' .IP "\(bu" 4 \&'button4\-mask' / '\s-1GDK_BUTTON4_MASK\s0' .IP "\(bu" 4 \&'button5\-mask' / '\s-1GDK_BUTTON5_MASK\s0' .IP "\(bu" 4 \&'super\-mask' / '\s-1GDK_SUPER_MASK\s0' .IP "\(bu" 4 \&'hyper\-mask' / '\s-1GDK_HYPER_MASK\s0' .IP "\(bu" 4 \&'meta\-mask' / '\s-1GDK_META_MASK\s0' .IP "\(bu" 4 \&'release\-mask' / '\s-1GDK_RELEASE_MASK\s0' .IP "\(bu" 4 \&'modifier\-mask' / '\s-1GDK_MODIFIER_MASK\s0' .SS "enum Gtk2::Gdk::WindowEdge" .IX Subsection "enum Gtk2::Gdk::WindowEdge" .IP "\(bu" 4 \&'north\-west' / '\s-1GDK_WINDOW_EDGE_NORTH_WEST\s0' .IP "\(bu" 4 \&'north' / '\s-1GDK_WINDOW_EDGE_NORTH\s0' .IP "\(bu" 4 \&'north\-east' / '\s-1GDK_WINDOW_EDGE_NORTH_EAST\s0' .IP "\(bu" 4 \&'west' / '\s-1GDK_WINDOW_EDGE_WEST\s0' .IP "\(bu" 4 \&'east' / '\s-1GDK_WINDOW_EDGE_EAST\s0' .IP "\(bu" 4 \&'south\-west' / '\s-1GDK_WINDOW_EDGE_SOUTH_WEST\s0' .IP "\(bu" 4 \&'south' / '\s-1GDK_WINDOW_EDGE_SOUTH\s0' .IP "\(bu" 4 \&'south\-east' / '\s-1GDK_WINDOW_EDGE_SOUTH_EAST\s0' .SS "flags Gtk2::Gdk::WindowHints" .IX Subsection "flags Gtk2::Gdk::WindowHints" .IP "\(bu" 4 \&'pos' / '\s-1GDK_HINT_POS\s0' .IP "\(bu" 4 \&'min\-size' / '\s-1GDK_HINT_MIN_SIZE\s0' .IP "\(bu" 4 \&'max\-size' / '\s-1GDK_HINT_MAX_SIZE\s0' .IP "\(bu" 4 \&'base\-size' / '\s-1GDK_HINT_BASE_SIZE\s0' .IP "\(bu" 4 \&'aspect' / '\s-1GDK_HINT_ASPECT\s0' .IP "\(bu" 4 \&'resize\-inc' / '\s-1GDK_HINT_RESIZE_INC\s0' .IP "\(bu" 4 \&'win\-gravity' / '\s-1GDK_HINT_WIN_GRAVITY\s0' .IP "\(bu" 4 \&'user\-pos' / '\s-1GDK_HINT_USER_POS\s0' .IP "\(bu" 4 \&'user\-size' / '\s-1GDK_HINT_USER_SIZE\s0' .SS "enum Gtk2::Gdk::WindowTypeHint" .IX Subsection "enum Gtk2::Gdk::WindowTypeHint" .IP "\(bu" 4 \&'normal' / '\s-1GDK_WINDOW_TYPE_HINT_NORMAL\s0' .IP "\(bu" 4 \&'dialog' / '\s-1GDK_WINDOW_TYPE_HINT_DIALOG\s0' .IP "\(bu" 4 \&'menu' / '\s-1GDK_WINDOW_TYPE_HINT_MENU\s0' .IP "\(bu" 4 \&'toolbar' / '\s-1GDK_WINDOW_TYPE_HINT_TOOLBAR\s0' .IP "\(bu" 4 \&'splashscreen' / '\s-1GDK_WINDOW_TYPE_HINT_SPLASHSCREEN\s0' .IP "\(bu" 4 \&'utility' / '\s-1GDK_WINDOW_TYPE_HINT_UTILITY\s0' .IP "\(bu" 4 \&'dock' / '\s-1GDK_WINDOW_TYPE_HINT_DOCK\s0' .IP "\(bu" 4 \&'desktop' / '\s-1GDK_WINDOW_TYPE_HINT_DESKTOP\s0' .IP "\(bu" 4 \&'dropdown\-menu' / '\s-1GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU\s0' .IP "\(bu" 4 \&'popup\-menu' / '\s-1GDK_WINDOW_TYPE_HINT_POPUP_MENU\s0' .IP "\(bu" 4 \&'tooltip' / '\s-1GDK_WINDOW_TYPE_HINT_TOOLTIP\s0' .IP "\(bu" 4 \&'notification' / '\s-1GDK_WINDOW_TYPE_HINT_NOTIFICATION\s0' .IP "\(bu" 4 \&'combo' / '\s-1GDK_WINDOW_TYPE_HINT_COMBO\s0' .IP "\(bu" 4 \&'dnd' / '\s-1GDK_WINDOW_TYPE_HINT_DND\s0' .SS "enum Gtk2::WindowPosition" .IX Subsection "enum Gtk2::WindowPosition" .IP "\(bu" 4 \&'none' / '\s-1GTK_WIN_POS_NONE\s0' .IP "\(bu" 4 \&'center' / '\s-1GTK_WIN_POS_CENTER\s0' .IP "\(bu" 4 \&'mouse' / '\s-1GTK_WIN_POS_MOUSE\s0' .IP "\(bu" 4 \&'center\-always' / '\s-1GTK_WIN_POS_CENTER_ALWAYS\s0' .IP "\(bu" 4 \&'center\-on\-parent' / '\s-1GTK_WIN_POS_CENTER_ON_PARENT\s0' .SS "enum Gtk2::WindowType" .IX Subsection "enum Gtk2::WindowType" .IP "\(bu" 4 \&'toplevel' / '\s-1GTK_WINDOW_TOPLEVEL\s0' .IP "\(bu" 4 \&'popup' / '\s-1GTK_WINDOW_POPUP\s0' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the \s-1LGPL.\s0 See Gtk2 for a full notice.