=head1 NAME

Gtk2::Viewport

=head1 HIERARCHY

  Glib::Object
  +----Glib::Object::_Unregistered::GInitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::Viewport

=head1 INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface


=head1 METHODS

=head2 widget = Gtk2::Viewport-E<gt>B<new> ($hadjustment=undef, $vadjustment=undef)

=over

=over

=item * $hadjustment (Gtk2::Adjustment or undef) 

=item * $vadjustment (Gtk2::Adjustment or undef) 

=back

=back

=head2 adjustment = $viewport-E<gt>B<get_hadjustment> 

=over

=back

=head2 $viewport-E<gt>B<set_hadjustment> ($adjustment)

=over

=over

=item * $adjustment (Gtk2::Adjustment) 

=back

=back

=head2 shadowtype = $viewport-E<gt>B<get_shadow_type> 

=over

=back

=head2 $viewport-E<gt>B<set_shadow_type> ($type)

=over

=over

=item * $type (Gtk2::ShadowType) 

=back

=back

=head2 adjustment = $viewport-E<gt>B<get_vadjustment> 

=over

=back

=head2 $viewport-E<gt>B<set_vadjustment> ($adjustment)

=over

=over

=item * $adjustment (Gtk2::Adjustment) 

=back

=back


=head1 PROPERTIES

=over

=item 'hadjustment' (Gtk2::Adjustment : readable / writable / construct / private)

The GtkAdjustment that determines the values of the horizontal position for this viewport

=item 'shadow-type' (Gtk2::ShadowType : readable / writable / private)

Determines how the shadowed box around the viewport is drawn

=item 'vadjustment' (Gtk2::Adjustment : readable / writable / construct / private)

The GtkAdjustment that determines the values of the vertical position for this viewport

=back


=head1 SIGNALS

=over

=item B<set-scroll-adjustments> (Gtk2::Viewport, Gtk2::Adjustment, Gtk2::Adjustment)

=back


=head1 ENUMS AND FLAGS

=head2 enum Gtk2::ShadowType

=over

=item * 'none' / 'GTK_SHADOW_NONE'

=item * 'in' / 'GTK_SHADOW_IN'

=item * 'out' / 'GTK_SHADOW_OUT'

=item * 'etched-in' / 'GTK_SHADOW_ETCHED_IN'

=item * 'etched-out' / 'GTK_SHADOW_ETCHED_OUT'

=back



=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>, L<Glib::Object::_Unregistered::GInitiallyUnowned>, L<Gtk2::Object>, L<Gtk2::Widget>, L<Gtk2::Container>, L<Gtk2::Bin>

=head1 COPYRIGHT

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

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


=cut

