1Gtk2::ScrolledWindow(3)User Contributed Perl DocumentatioGntk2::ScrolledWindow(3)
2
3
4
6 Gtk2::ScrolledWindow
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 : readable / writable / construct /
63 private)
64 The GtkAdjustment for the horizontal position
65
66 'hscrollbar-policy' (Gtk2::PolicyType : readable / writable / private)
67 When the horizontal scrollbar is displayed
68
69 'shadow-type' (Gtk2::ShadowType : readable / writable / private)
70 Style of bevel around the contents
71
72 'vadjustment' (Gtk2::Adjustment : readable / writable / construct /
73 private)
74 The GtkAdjustment for the vertical position
75
76 'vscrollbar-policy' (Gtk2::PolicyType : readable / writable / private)
77 When the vertical scrollbar is displayed
78
79 'window-placement' (Gtk2::CornerType : readable / writable / private)
80 Where the contents are located with respect to the scrollbars. This
81 property only takes effect if "window-placement-set" is TRUE.
82
83 'window-placement-set' (boolean : readable / writable / private)
84 Whether "window-placement" should be used to determine the location
85 of the contents with respect to the scrollbars.
86
88 move-focus-out (Gtk2::ScrolledWindow, Gtk2::DirectionType)
89 boolean = scroll-child (Gtk2::ScrolledWindow, Gtk2::ScrollType,
90 boolean)
91
93 enum Gtk2::CornerType
94 · 'top-left' / 'GTK_CORNER_TOP_LEFT'
95
96 · 'bottom-left' / 'GTK_CORNER_BOTTOM_LEFT'
97
98 · 'top-right' / 'GTK_CORNER_TOP_RIGHT'
99
100 · 'bottom-right' / 'GTK_CORNER_BOTTOM_RIGHT'
101
102 enum Gtk2::DirectionType
103 · 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
104
105 · 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
106
107 · 'up' / 'GTK_DIR_UP'
108
109 · 'down' / 'GTK_DIR_DOWN'
110
111 · 'left' / 'GTK_DIR_LEFT'
112
113 · 'right' / 'GTK_DIR_RIGHT'
114
115 enum Gtk2::PolicyType
116 · 'always' / 'GTK_POLICY_ALWAYS'
117
118 · 'automatic' / 'GTK_POLICY_AUTOMATIC'
119
120 · 'never' / 'GTK_POLICY_NEVER'
121
122 enum Gtk2::ScrollType
123 · 'none' / 'GTK_SCROLL_NONE'
124
125 · 'jump' / 'GTK_SCROLL_JUMP'
126
127 · 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
128
129 · 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
130
131 · 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
132
133 · 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
134
135 · 'step-up' / 'GTK_SCROLL_STEP_UP'
136
137 · 'step-down' / 'GTK_SCROLL_STEP_DOWN'
138
139 · 'page-up' / 'GTK_SCROLL_PAGE_UP'
140
141 · 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
142
143 · 'step-left' / 'GTK_SCROLL_STEP_LEFT'
144
145 · 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
146
147 · 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
148
149 · 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
150
151 · 'start' / 'GTK_SCROLL_START'
152
153 · 'end' / 'GTK_SCROLL_END'
154
155 enum Gtk2::ShadowType
156 · 'none' / 'GTK_SHADOW_NONE'
157
158 · 'in' / 'GTK_SHADOW_IN'
159
160 · 'out' / 'GTK_SHADOW_OUT'
161
162 · 'etched-in' / 'GTK_SHADOW_ETCHED_IN'
163
164 · 'etched-out' / 'GTK_SHADOW_ETCHED_OUT'
165
167 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
168 Gtk2::Container, Gtk2::Bin
169
171 Copyright (C) 2003-2008 by the gtk2-perl team.
172
173 This software is licensed under the LGPL. See Gtk2 for a full notice.
174
175
176
177perl v5.12.0 2010-05-02 Gtk2::ScrolledWindow(3)