Gtk2::ScrolledWindow(3p)

NAME
Gtk2::ScrolledWindow - wrapper for GtkScrolledWindow

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

INTERFACES
  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable

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
Since: gtk+ 2.8

  cornertype = $scrolled_window->get_placement

  $scrolled_window->set_placement ($window_placement)

•   $window_placement (Gtk2::CornerType)

  list = $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)

  $scrolled_window->unset_placement
Since: gtk+ 2.10

  adjustment = $scrolled_window->get_vadjustment

  $scrolled_window->set_vadjustment ($hadjustment)

•   $hadjustment (Gtk2::Adjustment)

  widget or undef = $scrolled_window->get_vscrollbar
Since: gtk+ 2.8

PROPERTIES

'hadjustment' (Gtk2::Adjustment : default undef : readable / writable / construct / private / static-nick / static-blurb)
    The GtkAdjustment for the horizontal position

'hscrollbar-policy' (Gtk2::PolicyType : default "always" : readable / writable / private / static-nick / static-blurb)
    When the horizontal scrollbar is displayed

'shadow-type' (Gtk2::ShadowType : default "none" : readable / writable / private / static-nick / static-blurb)
    Style of bevel around the contents

'vadjustment' (Gtk2::Adjustment : default undef : readable / writable / construct / private / static-nick / static-blurb)
    The GtkAdjustment for the vertical position

'vscrollbar-policy' (Gtk2::PolicyType : default "always" : readable / writable / private / static-nick / static-blurb)
    When the vertical scrollbar is displayed

'window-placement' (Gtk2::CornerType : default "top-left" : readable / writable / private / static-nick / static-blurb)
    Where the contents are located with respect to the scrollbars. This property only takes effect if "window-placement-set" is TRUE.

'window-placement-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)
    Whether "window-placement" should be used to determine the location of the contents with respect to the scrollbars.

STYLE PROPERTIES

'scrollbar-spacing' (integer : default 3 : readable / private / static-nick / static-blurb)
    Number of pixels between the scrollbars and the scrolled window

'scrollbars-within-bevel' (boolean : default false : readable / private / static-nick / static-blurb)
    Place scrollbars within the scrolled window's bevel

SIGNALS

move-focus-out (Gtk2::ScrolledWindow, Gtk2::DirectionType)
boolean = 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-2011 by the gtk2-perl team.

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