1Gtk2::ImageView::Nav(3)User Contributed Perl DocumentatioGntk2::ImageView::Nav(3)
2
3
4
6 Gtk2::ImageView::Nav - Navigation window showing a thumbnailed
7 overview of a Gtk2::ImageView.
8
10 Glib::Object
11 +----Glib::InitiallyUnowned
12 +----Gtk2::Object
13 +----Gtk2::Widget
14 +----Gtk2::Container
15 +----Gtk2::Bin
16 +----Gtk2::Window
17 +----Gtk2::ImageView::Nav
18
20 Glib::Object::_Unregistered::AtkImplementorIface
21 Gtk2::Buildable
22
24 Gtk2::ImageView::Nav is a popup window that shows a downscaled preview
25 of the pixbuf that Gtk2::ImageView is showing. The user can drag around
26 a rectangle which indicates the current view of the image.
27
28 This class is used by Gtk2::ImageView::ScrollWin itself. It is probably
29 not very useful for clients of this library.
30
31 Gtk2::ImageView::Nav has the same keybindings that Gtk2::ImageView has.
32 All keypresses that it receives are passed along to the view.
33
35 widget = $view->new
36 Creates a new Gtk2::ImageView::Nav for showing thumbnails of the
37 view. The pixbuf is by default NULL.
38
39 view : a Gtk2::ImageView.
40
41 Returns
42
43 a new Gtk2::ImageView::Nav showing the view.
44
45 $nav->grab
46 pixbuf = $nav->get_pixbuf
47 Returns the downscaled pixbuf of the views pixbuf that this
48 Gtk2::ImageView::Nav shows, or NULL if that pixbuf has not been
49 created yet.
50
51 The pixbuf is by default NULL.
52
53 nav : a Gtk2::ImageView::Nav.
54
55 Returns
56
57 the pixbuf in the navigation area this image navigator shows, or NULL
58 if none exist.
59
60 $nav->release
61 $nav->show_and_grab ($center_x, $center_y)
62 · $center_x (integer)
63
64 · $center_y (integer)
65
66 Show the Gtk2::ImageView::Nav centered around the point (center_x,
67 center_y) and grab mouse and keyboard events. The grab continues
68 until a button release event is received which causes the widget to
69 hide.
70
71 nav : a Gtk2::ImageView::Nav.
72 center_x : x coordinate of center position
73 center_y : y coordinate of center position
74
75 Returns
76
77 the pixbuf in the navigation area this image navigator shows, or NULL
78 if none exist.
79
81 'view' (Gtk2::ImageView : writable / construct-only)
82 Image View to navigate
83
85 Gtk2::ImageView, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
86 Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window
87
89 Copyright (C) 2007 by Jeffrey Ratcliffe.
90
91 This software is licensed under the GPL-3; see Gtk2::ImageView for a
92 full notice.
93
95 Hey! The above document had some coding errors, which are explained
96 below:
97
98 Around line 51:
99 You forgot a '=back' before '=head3'
100
101 Around line 60:
102 =back without =over
103
104 Around line 83:
105 You forgot a '=back' before '=head3'
106
107 Around line 92:
108 =back without =over
109
110 Around line 125:
111 You forgot a '=back' before '=head3'
112
113 Around line 134:
114 =back without =over
115
116
117
118perl v5.12.0 2010-05-02 Gtk2::ImageView::Nav(3)