1Gtk2::ScrolledWindow(3)User Contributed Perl DocumentatioGntk2::ScrolledWindow(3)
2
3
4

NAME

6       Gtk2::ScrolledWindow
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Bin
15                                  +----Gtk2::ScrolledWindow
16

INTERFACES

18         Glib::Object::_Unregistered::AtkImplementorIface
19

METHODS

21       widget = Gtk2::ScrolledWindow->new ($hadjustment=undef, $vadjust‐
22       ment=undef)
23
24           * $hadjustment (Gtk2::Adjustment or undef)
25           * $vadjustment (Gtk2::Adjustment or undef)
26
27       $scrolled_window->add_with_viewport ($child)
28
29           * $child (Gtk2::Widget)
30
31       adjustment = $scrolled_window->get_hadjustment
32
33       $scrolled_window->set_hadjustment ($hadjustment)
34
35           * $hadjustment (Gtk2::Adjustment)
36
37       widget or undef = $scrolled_window->get_hscrollbar
38
39       cornertype = $scrolled_window->get_placement
40
41       $scrolled_window->set_placement ($window_placement)
42
43           * $window_placement (Gtk2::CornerType)
44
45       (hscrollbar_policy, vscrollbar_policy) = $scrolled_window->get_policy
46
47       $scrolled_window->set_policy ($hscrollbar_policy, $vscrollbar_policy)
48
49           * $hscrollbar_policy (Gtk2::PolicyType)
50           * $vscrollbar_policy (Gtk2::PolicyType)
51
52       shadowtype = $scrolled_window->get_shadow_type
53
54       $scrolled_window->set_shadow_type ($type)
55
56           * $type (Gtk2::ShadowType)
57
58       $scrolled_window->unset_placement
59
60       adjustment = $scrolled_window->get_vadjustment
61
62       $scrolled_window->set_vadjustment ($hadjustment)
63
64           * $hadjustment (Gtk2::Adjustment)
65
66       widget or undef = $scrolled_window->get_vscrollbar
67

PROPERTIES

69       'hadjustment' (Gtk2::Adjustment : readable / writable / construct /
70       private)
71           The GtkAdjustment for the horizontal position
72
73       'hscrollbar-policy' (Gtk2::PolicyType : readable / writable / private)
74           When the horizontal scrollbar is displayed
75
76       'shadow-type' (Gtk2::ShadowType : readable / writable / private)
77           Style of bevel around the contents
78
79       'vadjustment' (Gtk2::Adjustment : readable / writable / construct /
80       private)
81           The GtkAdjustment for the vertical position
82
83       'vscrollbar-policy' (Gtk2::PolicyType : readable / writable / private)
84           When the vertical scrollbar is displayed
85
86       'window-placement' (Gtk2::CornerType : readable / writable / private)
87           Where the contents are located with respect to the scrollbars. This
88           property only takes effect if "window-placement-set" is TRUE.
89
90       'window-placement-set' (boolean : readable / writable / private)
91           Whether "window-placement" should be used to determine the location
92           of the contents with respect to the scrollbars.
93

SIGNALS

95       move-focus-out (Gtk2::ScrolledWindow, Gtk2::DirectionType)
96       boolean = scroll-child (Gtk2::ScrolledWindow, Gtk2::ScrollType, bool‐
97       ean)
98

ENUMS AND FLAGS

100       enum Gtk2::CornerType
101
102       * 'top-left' / 'GTK_CORNER_TOP_LEFT'
103       * 'bottom-left' / 'GTK_CORNER_BOTTOM_LEFT'
104       * 'top-right' / 'GTK_CORNER_TOP_RIGHT'
105       * 'bottom-right' / 'GTK_CORNER_BOTTOM_RIGHT'
106
107       enum Gtk2::DirectionType
108
109       * 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
110       * 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
111       * 'up' / 'GTK_DIR_UP'
112       * 'down' / 'GTK_DIR_DOWN'
113       * 'left' / 'GTK_DIR_LEFT'
114       * 'right' / 'GTK_DIR_RIGHT'
115
116       enum Gtk2::PolicyType
117
118       * 'always' / 'GTK_POLICY_ALWAYS'
119       * 'automatic' / 'GTK_POLICY_AUTOMATIC'
120       * 'never' / 'GTK_POLICY_NEVER'
121
122       enum Gtk2::ScrollType
123
124       * 'none' / 'GTK_SCROLL_NONE'
125       * 'jump' / 'GTK_SCROLL_JUMP'
126       * 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
127       * 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
128       * 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
129       * 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
130       * 'step-up' / 'GTK_SCROLL_STEP_UP'
131       * 'step-down' / 'GTK_SCROLL_STEP_DOWN'
132       * 'page-up' / 'GTK_SCROLL_PAGE_UP'
133       * 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
134       * 'step-left' / 'GTK_SCROLL_STEP_LEFT'
135       * 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
136       * 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
137       * 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
138       * 'start' / 'GTK_SCROLL_START'
139       * 'end' / 'GTK_SCROLL_END'
140
141       enum Gtk2::ShadowType
142
143       * 'none' / 'GTK_SHADOW_NONE'
144       * 'in' / 'GTK_SHADOW_IN'
145       * 'out' / 'GTK_SHADOW_OUT'
146       * 'etched-in' / 'GTK_SHADOW_ETCHED_IN'
147       * 'etched-out' / 'GTK_SHADOW_ETCHED_OUT'
148

SEE ALSO

150       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
151       Gtk2::Container, Gtk2::Bin
152
154       Copyright (C) 2003-2007 by the gtk2-perl team.
155
156       This software is licensed under the LGPL.  See Gtk2 for a full notice.
157
158
159
160perl v5.8.8                       2007-03-18           Gtk2::ScrolledWindow(3)
Impressum