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

NAME

6       Gtk2::Viewport
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   adjustment = $viewport->get_hadjustment
28   $viewport->set_hadjustment ($adjustment)
29           ·   $adjustment (Gtk2::Adjustment)
30
31   shadowtype = $viewport->get_shadow_type
32   $viewport->set_shadow_type ($type)
33           ·   $type (Gtk2::ShadowType)
34
35   adjustment = $viewport->get_vadjustment
36   $viewport->set_vadjustment ($adjustment)
37           ·   $adjustment (Gtk2::Adjustment)
38

PROPERTIES

40       'hadjustment' (Gtk2::Adjustment : readable / writable / construct /
41       private)
42           The GtkAdjustment that determines the values of the horizontal
43           position for this viewport
44
45       'shadow-type' (Gtk2::ShadowType : readable / writable / private)
46           Determines how the shadowed box around the viewport is drawn
47
48       'vadjustment' (Gtk2::Adjustment : readable / writable / construct /
49       private)
50           The GtkAdjustment that determines the values of the vertical
51           position for this viewport
52

SIGNALS

54       set-scroll-adjustments (Gtk2::Viewport, Gtk2::Adjustment,
55       Gtk2::Adjustment)
56

ENUMS AND FLAGS

58   enum Gtk2::ShadowType
59       ·   'none' / 'GTK_SHADOW_NONE'
60
61       ·   'in' / 'GTK_SHADOW_IN'
62
63       ·   'out' / 'GTK_SHADOW_OUT'
64
65       ·   'etched-in' / 'GTK_SHADOW_ETCHED_IN'
66
67       ·   'etched-out' / 'GTK_SHADOW_ETCHED_OUT'
68

SEE ALSO

70       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
71       Gtk2::Container, Gtk2::Bin
72
74       Copyright (C) 2003-2008 by the gtk2-perl team.
75
76       This software is licensed under the LGPL.  See Gtk2 for a full notice.
77
78
79
80perl v5.12.0                      2010-05-02                 Gtk2::Viewport(3)
Impressum