1Gtk2::Viewport(3) User Contributed Perl Documentation Gtk2::Viewport(3)
2
3
4
6 Gtk2::Viewport - wrapper for GtkViewport
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::Bin
15 +----Gtk2::Viewport
16
18 Glib::Object::_Unregistered::AtkImplementorIface
19 Gtk2::Buildable
20
22 widget = Gtk2::Viewport->new ($hadjustment=undef, $vadjustment=undef)
23 · $hadjustment (Gtk2::Adjustment or undef)
24
25 · $vadjustment (Gtk2::Adjustment or undef)
26
27 window or undef = $viewport->get_bin_window
28 Since: gtk+ 2.20
29
30 adjustment = $viewport->get_hadjustment
31 $viewport->set_hadjustment ($adjustment)
32 · $adjustment (Gtk2::Adjustment)
33
34 shadowtype = $viewport->get_shadow_type
35 $viewport->set_shadow_type ($type)
36 · $type (Gtk2::ShadowType)
37
38 adjustment = $viewport->get_vadjustment
39 $viewport->set_vadjustment ($adjustment)
40 · $adjustment (Gtk2::Adjustment)
41
42 window or undef = $viewport->get_view_window
43 Since: gtk+ 2.22
44
46 'hadjustment' (Gtk2::Adjustment : default undef : readable / writable /
47 construct / private)
48 The GtkAdjustment that determines the values of the horizontal
49 position for this viewport
50
51 'shadow-type' (Gtk2::ShadowType : default "in" : readable / writable /
52 private)
53 Determines how the shadowed box around the viewport is drawn
54
55 'vadjustment' (Gtk2::Adjustment : default undef : readable / writable /
56 construct / private)
57 The GtkAdjustment that determines the values of the vertical
58 position for this viewport
59
61 set-scroll-adjustments (Gtk2::Viewport, Gtk2::Adjustment,
62 Gtk2::Adjustment)
63
65 enum Gtk2::ShadowType
66 · 'none' / 'GTK_SHADOW_NONE'
67
68 · 'in' / 'GTK_SHADOW_IN'
69
70 · 'out' / 'GTK_SHADOW_OUT'
71
72 · 'etched-in' / 'GTK_SHADOW_ETCHED_IN'
73
74 · 'etched-out' / 'GTK_SHADOW_ETCHED_OUT'
75
77 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
78 Gtk2::Container, Gtk2::Bin
79
81 Copyright (C) 2003-2011 by the gtk2-perl team.
82
83 This software is licensed under the LGPL. See Gtk2 for a full notice.
84
85
86
87perl v5.30.0 2019-07-26 Gtk2::Viewport(3)