.\" Automatically generated by Pod::Man 4.09 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "Gtk2::ImageView::Nav 3pm" .TH Gtk2::ImageView::Nav 3pm "2017-07-23" "perl v5.26.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Gtk2::ImageView::Nav \- Navigation window showing a thumbnailed overview of a Gtk2::ImageView. .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 8 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::Bin \& +\-\-\-\-Gtk2::Window \& +\-\-\-\-Gtk2::ImageView::Nav .Ve .SH "INTERFACES" .IX Header "INTERFACES" .Vb 2 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" Gtk2::ImageView::Nav is a popup window that shows a downscaled preview of the pixbuf that Gtk2::ImageView is showing. The user can drag around a rectangle which indicates the current view of the image. .PP This class is used by Gtk2::ImageView::ScrollWin itself. It is probably not very useful for clients of this library. .PP Gtk2::ImageView::Nav has the same keybindings that Gtk2::ImageView has. All keypresses that it receives are passed along to the view. .SH "METHODS" .IX Header "METHODS" .ie n .SS "widget = $view\->\fBnew\fP" .el .SS "widget = \f(CW$view\fP\->\fBnew\fP" .IX Subsection "widget = $view->new" Returns a new Gtk2::ImageView::Nav for showing thumbnails of the view. The pixbuf is by default undef. .ie n .SS "$nav\->\fBgrab\fP" .el .SS "\f(CW$nav\fP\->\fBgrab\fP" .IX Subsection "$nav->grab" .ie n .SS "pixbuf = $nav\->\fBget_pixbuf\fP" .el .SS "pixbuf = \f(CW$nav\fP\->\fBget_pixbuf\fP" .IX Subsection "pixbuf = $nav->get_pixbuf" Returns the downscaled pixbuf of the views pixbuf that this Gtk2::ImageView::Nav shows, or undef if that pixbuf has not been created yet. .PP The pixbuf is by default undef. .ie n .SS "$nav\->\fBrelease\fP" .el .SS "\f(CW$nav\fP\->\fBrelease\fP" .IX Subsection "$nav->release" .ie n .SS "$nav\->\fBshow_and_grab\fP ($center_x, $center_y)" .el .SS "\f(CW$nav\fP\->\fBshow_and_grab\fP ($center_x, \f(CW$center_y\fP)" .IX Subsection "$nav->show_and_grab ($center_x, $center_y)" .IP "\(bu" 4 \&\f(CW$center_x\fR (integer) .IP "\(bu" 4 \&\f(CW$center_y\fR (integer) .PP Returns the Gtk2::ImageView::Nav centered around the point (center_x, center_y) and grab mouse and keyboard events. The grab continues until a button release event is received which causes the widget to hide. .SH "PROPERTIES" .IX Header "PROPERTIES" .IP "'view' (Gtk2::ImageView : default undef : writable / construct-only)" 4 .IX Item "'view' (Gtk2::ImageView : default undef : writable / construct-only)" Image View to navigate .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2::ImageView, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2007 by Jeffrey Ratcliffe. .PP This software is licensed under the \s-1GPL\-3\s0; see Gtk2::ImageView for a full notice.