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 Returns a new Gtk2::ImageView::Nav for showing thumbnails of the view.
37 The pixbuf is by default undef.
38
39 $nav->grab
40 pixbuf = $nav->get_pixbuf
41 Returns the downscaled pixbuf of the views pixbuf that this
42 Gtk2::ImageView::Nav shows, or undef if that pixbuf has not been
43 created yet.
44
45 The pixbuf is by default undef.
46
47 $nav->release
48 $nav->show_and_grab ($center_x, $center_y)
49 · $center_x (integer)
50
51 · $center_y (integer)
52
53 Returns the Gtk2::ImageView::Nav centered around the point (center_x,
54 center_y) and grab mouse and keyboard events. The grab continues until
55 a button release event is received which causes the widget to hide.
56
58 'view' (Gtk2::ImageView : default undef : writable / construct-only)
59 Image View to navigate
60
62 Gtk2::ImageView, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
63 Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window
64
66 Copyright (C) 2007 by Jeffrey Ratcliffe.
67
68 This software is licensed under the GPL-3; see Gtk2::ImageView for a
69 full notice.
70
71
72
73perl v5.28.0 2018-07-18 Gtk2::ImageView::Nav(3)