.\" 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::Gdk::Geometry 3pm" .TH Gtk2::Gdk::Geometry 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::Gdk::Geometry .SH "METHODS" .IX Header "METHODS" .SS "geometry = Gtk2::Gdk::Geometry\->\fBnew\fP" .IX Subsection "geometry = Gtk2::Gdk::Geometry->new" .ie n .SS "scalar = $object\->\fBbase_height\fP ($newvalue=undef)" .el .SS "scalar = \f(CW$object\fP\->\fBbase_height\fP ($newvalue=undef)" .IX Subsection "scalar = $object->base_height ($newvalue=undef)" .IP "\(bu" 4 \&\f(CW$newvalue\fR (scalar) .ie n .SS "scalar = $object\->\fBbase_width\fP ($newvalue=undef)" .el .SS "scalar = \f(CW$object\fP\->\fBbase_width\fP ($newvalue=undef)" .IX Subsection "scalar = $object->base_width ($newvalue=undef)" .IP "\(bu" 4 \&\f(CW$newvalue\fR (scalar) .ie n .SS "(new_width, new_height) = $geometry\->\fBconstrain_size\fP ($width, $height)" .el .SS "(new_width, new_height) = \f(CW$geometry\fP\->\fBconstrain_size\fP ($width, \f(CW$height\fP)" .IX Subsection "(new_width, new_height) = $geometry->constrain_size ($width, $height)" .ie n .SS "(new_width, new_height) = $geometry\->\fBconstrain_size\fP ($flags, $width, $height)" .el .SS "(new_width, new_height) = \f(CW$geometry\fP\->\fBconstrain_size\fP ($flags, \f(CW$width\fP, \f(CW$height\fP)" .IX Subsection "(new_width, new_height) = $geometry->constrain_size ($flags, $width, $height)" .IP "\(bu" 4 \&... (list) .IP "\(bu" 4 \&\f(CW$flags\fR (Gtk2::Gdk::WindowHints) optional, usually inferred from \fI\f(CI$geometry\fI\fR .PP The \f(CW$flags\fR argument, describing which fields in the geometry are valid, is optional. If omitted it will be inferred from the geometry itself. .ie n .SS "scalar = $object\->\fBgravity\fP ($newvalue=undef)" .el .SS "scalar = \f(CW$object\fP\->\fBgravity\fP ($newvalue=undef)" .IX Subsection "scalar = $object->gravity ($newvalue=undef)" .IP "\(bu" 4 \&\f(CW$newvalue\fR (scalar) .ie n .SS "scalar = $object\->\fBheight_inc\fP ($newvalue=undef)" .el .SS "scalar = \f(CW$object\fP\->\fBheight_inc\fP ($newvalue=undef)" .IX Subsection "scalar = $object->height_inc ($newvalue=undef)" .IP "\(bu" 4 \&\f(CW$newvalue\fR (scalar) .ie n .SS "scalar = $object\->\fBmax_aspect\fP ($newvalue=undef)" .el .SS "scalar = \f(CW$object\fP\->\fBmax_aspect\fP ($newvalue=undef)" .IX Subsection "scalar = $object->max_aspect ($newvalue=undef)" .IP "\(bu" 4 \&\f(CW$newvalue\fR (scalar) .ie n .SS "scalar = $object\->\fBmax_height\fP ($newvalue=undef)" .el .SS "scalar = \f(CW$object\fP\->\fBmax_height\fP ($newvalue=undef)" .IX Subsection "scalar = $object->max_height ($newvalue=undef)" .IP "\(bu" 4 \&\f(CW$newvalue\fR (scalar) .ie n .SS "scalar = $object\->\fBmax_width\fP ($newvalue=undef)" .el .SS "scalar = \f(CW$object\fP\->\fBmax_width\fP ($newvalue=undef)" .IX Subsection "scalar = $object->max_width ($newvalue=undef)" .IP "\(bu" 4 \&\f(CW$newvalue\fR (scalar) .ie n .SS "scalar = $object\->\fBmin_aspect\fP ($newvalue=undef)" .el .SS "scalar = \f(CW$object\fP\->\fBmin_aspect\fP ($newvalue=undef)" .IX Subsection "scalar = $object->min_aspect ($newvalue=undef)" .IP "\(bu" 4 \&\f(CW$newvalue\fR (scalar) .ie n .SS "scalar = $object\->\fBmin_height\fP ($newvalue=undef)" .el .SS "scalar = \f(CW$object\fP\->\fBmin_height\fP ($newvalue=undef)" .IX Subsection "scalar = $object->min_height ($newvalue=undef)" .IP "\(bu" 4 \&\f(CW$newvalue\fR (scalar) .ie n .SS "scalar = $object\->\fBmin_width\fP ($newvalue=undef)" .el .SS "scalar = \f(CW$object\fP\->\fBmin_width\fP ($newvalue=undef)" .IX Subsection "scalar = $object->min_width ($newvalue=undef)" .IP "\(bu" 4 \&\f(CW$newvalue\fR (scalar) .ie n .SS "scalar = $object\->\fBwidth_inc\fP ($newvalue=undef)" .el .SS "scalar = \f(CW$object\fP\->\fBwidth_inc\fP ($newvalue=undef)" .IX Subsection "scalar = $object->width_inc ($newvalue=undef)" .IP "\(bu" 4 \&\f(CW$newvalue\fR (scalar) .ie n .SS "scalar = $object\->\fBwin_gravity\fP ($newvalue=undef)" .el .SS "scalar = \f(CW$object\fP\->\fBwin_gravity\fP ($newvalue=undef)" .IX Subsection "scalar = $object->win_gravity ($newvalue=undef)" .IP "\(bu" 4 \&\f(CW$newvalue\fR (scalar) .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .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' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2 .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.