Module gtkimageview :: Class ImageScrollWin
[frames] | no frames]

Class ImageScrollWin

Provides a widget similar in appearance to gtk.ScrollableWindow that is more suitable for displaying ImageView's.

In particular, this widget draws a crosshair icon in the bottom right corner. Pressing that icon brings up an ImageNav which shows a thumbnailed overview of the viewed pixbuf.

ImageScrollWin is a subclass of gtk.Table.


See Also:
GtkScrolledWindow the GTK widget that ImageScrollWin mimics, ImageNav
Instance Methods
 
__init__(self, view)
Creates a new ImageScrollWin containing the view.
Method Details

__init__(self, view)
(Constructor)

 

Creates a new ImageScrollWin containing the view.

The widget is built using four subwidgets arranged inside a gtk.Table with two columns and two rows. Two scrollbars, one navigator button (the decorations) and one ImageView.

When the ImageView fits inside the window, the decorations are hidden.