Gtk2-ImageView

 view release on metacpan or  search on metacpan

ImageView.xs  view on Meta::CPAN

image data.

The offset is clamped so that it will never cause the GtkImageView to display
pixels outside the pixbuf. Setting this attribute causes the widget to repaint
itself if it is realized.

If invalidate is TRUE, the views entire area will be invalidated instead of
redrawn immidiately. The view is then queued for redraw, which means that
additional operations can be performed on it before it is redrawn.

The difference can sometimes be important like when you are overlaying data and
get flicker or artifacts when setting the offset. If that happens, setting
invalidate to TRUE could fix the problem. See the source code to
GtkImageToolSelector for an example.

Normally, invalidate should always be FALSE because it is much faster to repaint
immidately than invalidating.

=over

=item view : a Gtk2::ImageView



( run in 0.429 second using v1.01-cache-2.11-cpan-49f99fa48dc )