1Gtk2::Viewport(3)     User Contributed Perl Documentation    Gtk2::Viewport(3)
2
3
4

NAME

6       Gtk2::Viewport - wrapper for GtkViewport
7

HIERARCHY

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

INTERFACES

18         Glib::Object::_Unregistered::AtkImplementorIface
19         Gtk2::Buildable
20

METHODS

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

PROPERTIES

46       'hadjustment' (Gtk2::Adjustment : default undef : readable / writable /
47       construct / private / static-nick / static-blurb)
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 / static-nick / static-blurb)
53           Determines how the shadowed box around the viewport is drawn
54
55       'vadjustment' (Gtk2::Adjustment : default undef : readable / writable /
56       construct / private / static-nick / static-blurb)
57           The GtkAdjustment that determines the values of the vertical
58           position for this viewport
59

SIGNALS

61       set-scroll-adjustments (Gtk2::Viewport, Gtk2::Adjustment,
62       Gtk2::Adjustment)
63

ENUMS AND FLAGS

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

SEE ALSO

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.32.0                      2020-07-28                 Gtk2::Viewport(3)
Impressum