.\" -*- 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::Viewport 3" .TH Gtk2::Viewport 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::Viewport \- wrapper for GtkViewport .SH HIERARCHY .IX Header "HIERARCHY" .Vb 7 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::Bin \& +\-\-\-\-Gtk2::Viewport .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 2 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable .Ve .SH METHODS .IX Header "METHODS" .ie n .SS "widget = Gtk2::Viewport\->\fBnew\fP ($hadjustment=undef, $vadjustment=undef)" .el .SS "widget = Gtk2::Viewport\->\fBnew\fP ($hadjustment=undef, \f(CW$vadjustment\fP=undef)" .IX Subsection "widget = Gtk2::Viewport->new ($hadjustment=undef, $vadjustment=undef)" .IP \(bu 4 \&\f(CW$hadjustment\fR (Gtk2::Adjustment or undef) .IP \(bu 4 \&\f(CW$vadjustment\fR (Gtk2::Adjustment or undef) .ie n .SS "window or undef = $viewport\->\fBget_bin_window\fP" .el .SS "window or undef = \f(CW$viewport\fP\->\fBget_bin_window\fP" .IX Subsection "window or undef = $viewport->get_bin_window" Since: gtk+ 2.20 .ie n .SS "adjustment = $viewport\->\fBget_hadjustment\fP" .el .SS "adjustment = \f(CW$viewport\fP\->\fBget_hadjustment\fP" .IX Subsection "adjustment = $viewport->get_hadjustment" .ie n .SS "$viewport\->\fBset_hadjustment\fP ($adjustment)" .el .SS "\f(CW$viewport\fP\->\fBset_hadjustment\fP ($adjustment)" .IX Subsection "$viewport->set_hadjustment ($adjustment)" .IP \(bu 4 \&\f(CW$adjustment\fR (Gtk2::Adjustment) .ie n .SS "shadowtype = $viewport\->\fBget_shadow_type\fP" .el .SS "shadowtype = \f(CW$viewport\fP\->\fBget_shadow_type\fP" .IX Subsection "shadowtype = $viewport->get_shadow_type" .ie n .SS "$viewport\->\fBset_shadow_type\fP ($type)" .el .SS "\f(CW$viewport\fP\->\fBset_shadow_type\fP ($type)" .IX Subsection "$viewport->set_shadow_type ($type)" .IP \(bu 4 \&\f(CW$type\fR (Gtk2::ShadowType) .ie n .SS "adjustment = $viewport\->\fBget_vadjustment\fP" .el .SS "adjustment = \f(CW$viewport\fP\->\fBget_vadjustment\fP" .IX Subsection "adjustment = $viewport->get_vadjustment" .ie n .SS "$viewport\->\fBset_vadjustment\fP ($adjustment)" .el .SS "\f(CW$viewport\fP\->\fBset_vadjustment\fP ($adjustment)" .IX Subsection "$viewport->set_vadjustment ($adjustment)" .IP \(bu 4 \&\f(CW$adjustment\fR (Gtk2::Adjustment) .ie n .SS "window or undef = $viewport\->\fBget_view_window\fP" .el .SS "window or undef = \f(CW$viewport\fP\->\fBget_view_window\fP" .IX Subsection "window or undef = $viewport->get_view_window" Since: gtk+ 2.22 .SH PROPERTIES .IX Header "PROPERTIES" .IP "'hadjustment' (Gtk2::Adjustment : default undef : readable / writable / construct / private / static-nick / static-blurb)" 4 .IX Item "'hadjustment' (Gtk2::Adjustment : default undef : readable / writable / construct / private / static-nick / static-blurb)" The GtkAdjustment that determines the values of the horizontal position for this viewport .IP "'shadow\-type' (Gtk2::ShadowType : default ""in"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'shadow-type' (Gtk2::ShadowType : default ""in"" : readable / writable / private / static-nick / static-blurb)" Determines how the shadowed box around the viewport is drawn .IP "'vadjustment' (Gtk2::Adjustment : default undef : readable / writable / construct / private / static-nick / static-blurb)" 4 .IX Item "'vadjustment' (Gtk2::Adjustment : default undef : readable / writable / construct / private / static-nick / static-blurb)" The GtkAdjustment that determines the values of the vertical position for this viewport .SH SIGNALS .IX Header "SIGNALS" .IP "\fBset-scroll-adjustments\fR (Gtk2::Viewport, Gtk2::Adjustment, Gtk2::Adjustment)" 4 .IX Item "set-scroll-adjustments (Gtk2::Viewport, Gtk2::Adjustment, Gtk2::Adjustment)" .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::ShadowType" .IX Subsection "enum Gtk2::ShadowType" .PD 0 .IP \(bu 4 .PD \&'none' / 'GTK_SHADOW_NONE' .IP \(bu 4 \&'in' / 'GTK_SHADOW_IN' .IP \(bu 4 \&'out' / 'GTK_SHADOW_OUT' .IP \(bu 4 \&'etched\-in' / 'GTK_SHADOW_ETCHED_IN' .IP \(bu 4 \&'etched\-out' / 'GTK_SHADOW_ETCHED_OUT' .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 LGPL. See Gtk2 for a full notice.