1Gtk2::ScrolledWindow(3)User Contributed Perl DocumentatioGntk2::ScrolledWindow(3)
2
3
4
6 Gtk2::ScrolledWindow - wrapper for GtkScrolledWindow
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::Bin
15 +----Gtk2::ScrolledWindow
16
18 Glib::Object::_Unregistered::AtkImplementorIface
19 Gtk2::Buildable
20
22 widget = Gtk2::ScrolledWindow->new ($hadjustment=undef, $vadjustment=undef)
23 · $hadjustment (Gtk2::Adjustment or undef)
24
25 · $vadjustment (Gtk2::Adjustment or undef)
26
27 $scrolled_window->add_with_viewport ($child)
28 · $child (Gtk2::Widget)
29
30 adjustment = $scrolled_window->get_hadjustment
31 $scrolled_window->set_hadjustment ($hadjustment)
32 · $hadjustment (Gtk2::Adjustment)
33
34 widget or undef = $scrolled_window->get_hscrollbar
35 Since: gtk+ 2.8
36
37 cornertype = $scrolled_window->get_placement
38 $scrolled_window->set_placement ($window_placement)
39 · $window_placement (Gtk2::CornerType)
40
41 list = $scrolled_window->get_policy
42 $scrolled_window->set_policy ($hscrollbar_policy, $vscrollbar_policy)
43 · $hscrollbar_policy (Gtk2::PolicyType)
44
45 · $vscrollbar_policy (Gtk2::PolicyType)
46
47 shadowtype = $scrolled_window->get_shadow_type
48 $scrolled_window->set_shadow_type ($type)
49 · $type (Gtk2::ShadowType)
50
51 $scrolled_window->unset_placement
52 Since: gtk+ 2.10
53
54 adjustment = $scrolled_window->get_vadjustment
55 $scrolled_window->set_vadjustment ($hadjustment)
56 · $hadjustment (Gtk2::Adjustment)
57
58 widget or undef = $scrolled_window->get_vscrollbar
59 Since: gtk+ 2.8
60
62 'hadjustment' (Gtk2::Adjustment : default undef : readable / writable /
63 construct / private)
64 The GtkAdjustment for the horizontal position
65
66 'hscrollbar-policy' (Gtk2::PolicyType : default "always" : readable /
67 writable / private)
68 When the horizontal scrollbar is displayed
69
70 'shadow-type' (Gtk2::ShadowType : default "none" : readable / writable
71 / private)
72 Style of bevel around the contents
73
74 'vadjustment' (Gtk2::Adjustment : default undef : readable / writable /
75 construct / private)
76 The GtkAdjustment for the vertical position
77
78 'vscrollbar-policy' (Gtk2::PolicyType : default "always" : readable /
79 writable / private)
80 When the vertical scrollbar is displayed
81
82 'window-placement' (Gtk2::CornerType : default "top-left" : readable /
83 writable / private)
84 Where the contents are located with respect to the scrollbars. This
85 property only takes effect if "window-placement-set" is TRUE.
86
87 'window-placement-set' (boolean : default false : readable / writable /
88 private)
89 Whether "window-placement" should be used to determine the location
90 of the contents with respect to the scrollbars.
91
93 'scrollbar-spacing' (integer : default 3 : readable / private)
94 Number of pixels between the scrollbars and the scrolled window
95
96 'scrollbars-within-bevel' (boolean : default false : readable /
97 private)
98 Place scrollbars within the scrolled window's bevel
99
101 move-focus-out (Gtk2::ScrolledWindow, Gtk2::DirectionType)
102 boolean = scroll-child (Gtk2::ScrolledWindow, Gtk2::ScrollType,
103 boolean)
104
106 enum Gtk2::CornerType
107 · 'top-left' / 'GTK_CORNER_TOP_LEFT'
108
109 · 'bottom-left' / 'GTK_CORNER_BOTTOM_LEFT'
110
111 · 'top-right' / 'GTK_CORNER_TOP_RIGHT'
112
113 · 'bottom-right' / 'GTK_CORNER_BOTTOM_RIGHT'
114
115 enum Gtk2::DirectionType
116 · 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
117
118 · 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
119
120 · 'up' / 'GTK_DIR_UP'
121
122 · 'down' / 'GTK_DIR_DOWN'
123
124 · 'left' / 'GTK_DIR_LEFT'
125
126 · 'right' / 'GTK_DIR_RIGHT'
127
128 enum Gtk2::PolicyType
129 · 'always' / 'GTK_POLICY_ALWAYS'
130
131 · 'automatic' / 'GTK_POLICY_AUTOMATIC'
132
133 · 'never' / 'GTK_POLICY_NEVER'
134
135 enum Gtk2::ScrollType
136 · 'none' / 'GTK_SCROLL_NONE'
137
138 · 'jump' / 'GTK_SCROLL_JUMP'
139
140 · 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
141
142 · 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
143
144 · 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
145
146 · 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
147
148 · 'step-up' / 'GTK_SCROLL_STEP_UP'
149
150 · 'step-down' / 'GTK_SCROLL_STEP_DOWN'
151
152 · 'page-up' / 'GTK_SCROLL_PAGE_UP'
153
154 · 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
155
156 · 'step-left' / 'GTK_SCROLL_STEP_LEFT'
157
158 · 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
159
160 · 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
161
162 · 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
163
164 · 'start' / 'GTK_SCROLL_START'
165
166 · 'end' / 'GTK_SCROLL_END'
167
168 enum Gtk2::ShadowType
169 · 'none' / 'GTK_SHADOW_NONE'
170
171 · 'in' / 'GTK_SHADOW_IN'
172
173 · 'out' / 'GTK_SHADOW_OUT'
174
175 · 'etched-in' / 'GTK_SHADOW_ETCHED_IN'
176
177 · 'etched-out' / 'GTK_SHADOW_ETCHED_OUT'
178
180 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
181 Gtk2::Container, Gtk2::Bin
182
184 Copyright (C) 2003-2011 by the gtk2-perl team.
185
186 This software is licensed under the LGPL. See Gtk2 for a full notice.
187
188
189
190perl v5.30.1 2020-01-30 Gtk2::ScrolledWindow(3)