Gtk2::ScrolledWindow(3)

NAME
Gtk2::ScrolledWindow

HIERARCHY
  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::ScrolledWindow

INTERFACES
  Glib::Object::_Unregistered::AtkImplementorIface

METHODS

  widget = Gtk2::ScrolledWindow->new ($hadjustment=undef, $vadjustment=undef)

    * $hadjustment (Gtk2::Adjustment or undef)
    * $vadjustment (Gtk2::Adjustment or undef)

  $scrolled_window->add_with_viewport ($child)

    * $child (Gtk2::Widget)

  adjustment = $scrolled_window->get_hadjustment

  $scrolled_window->set_hadjustment ($hadjustment)
    * $hadjustment (Gtk2::Adjustment)

  widget or undef = $scrolled_window->get_hscrollbar

  cornertype = $scrolled_window->get_placement

  $scrolled_window->set_placement ($window_placement)

    * $window_placement (Gtk2::CornerType)

  (hscrollbar_policy, vscrollbar_policy) = $scrolled_window->get_policy

  $scrolled_window->set_policy ($hscrollbar_policy, $vscrollbar_policy)
    * $hscrollbar_policy (Gtk2::PolicyType)
    * $vscrollbar_policy (Gtk2::PolicyType)

  shadowtype = $scrolled_window->get_shadow_type

  $scrolled_window->set_shadow_type ($type)

    * $type (Gtk2::ShadowType)

  adjustment = $scrolled_window->get_vadjustment

  $scrolled_window->set_vadjustment ($hadjustment)
    * $hadjustment (Gtk2::Adjustment)

  widget or undef = $scrolled_window->get_vscrollbar

PROPERTIES

'hadjustment' (Gtk2::Adjustment : readable / writable / construct / private)
    The GtkAdjustment for the horizontal position

'hscrollbar-policy' (Gtk2::PolicyType : readable / writable / private)
    When the horizontal scrollbar is displayed

'shadow-type' (Gtk2::ShadowType : readable / writable / private)
    Style of bevel around the contents

'vadjustment' (Gtk2::Adjustment : readable / writable / construct / private)
    The GtkAdjustment for the vertical position

'vscrollbar-policy' (Gtk2::PolicyType : readable / writable / private)
    When the vertical scrollbar is displayed

'window-placement' (Gtk2::CornerType : readable / writable / private)
    Where the contents are located with respect to the scrollbars

SIGNALS

move-focus-out (Gtk2::ScrolledWindow, Gtk2::DirectionType)
scroll-child (Gtk2::ScrolledWindow, Gtk2::ScrollType, boolean)

ENUMS AND FLAGS

  enum Gtk2::CornerType

* 'top-left' / 'GTK_CORNER_TOP_LEFT'
* 'bottom-left' / 'GTK_CORNER_BOTTOM_LEFT'
* 'top-right' / 'GTK_CORNER_TOP_RIGHT'
* 'bottom-right' / 'GTK_CORNER_BOTTOM_RIGHT'

  enum Gtk2::DirectionType

* 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
* 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
* 'up' / 'GTK_DIR_UP'
* 'down' / 'GTK_DIR_DOWN'
* 'left' / 'GTK_DIR_LEFT'
* 'right' / 'GTK_DIR_RIGHT'

  enum Gtk2::PolicyType

* 'always' / 'GTK_POLICY_ALWAYS'
* 'automatic' / 'GTK_POLICY_AUTOMATIC'
* 'never' / 'GTK_POLICY_NEVER'

  enum Gtk2::ScrollType

* 'none' / 'GTK_SCROLL_NONE'
* 'jump' / 'GTK_SCROLL_JUMP'
* 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
* 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
* 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
* 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
* 'step-up' / 'GTK_SCROLL_STEP_UP'
* 'step-down' / 'GTK_SCROLL_STEP_DOWN'
* 'page-up' / 'GTK_SCROLL_PAGE_UP'
* 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
* 'step-left' / 'GTK_SCROLL_STEP_LEFT'
* 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
* 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
* 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
* 'start' / 'GTK_SCROLL_START'
* 'end' / 'GTK_SCROLL_END'

  enum Gtk2::ShadowType

* 'none' / 'GTK_SHADOW_NONE'
* 'in' / 'GTK_SHADOW_IN'
* 'out' / 'GTK_SHADOW_OUT'
* 'etched-in' / 'GTK_SHADOW_ETCHED_IN'
* 'etched-out' / 'GTK_SHADOW_ETCHED_OUT'

SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin

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

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