Module view.ImageViewer

Dialog that allows the user to view an image.

Functions

ImageViewer.new (parent) Constructor.
ImageViewer:run (img, title) Runs the dialog.
(private) ImageViewer:build_gui (parent) Builds the interface.


Functions

ImageViewer.new (parent)
Constructor.

Parameters

  • parent: Parent window
ImageViewer:run (img, title)
Runs the dialog.

Parameters

  • img: Name of the image file
  • title: Title of the image
(private) ImageViewer:build_gui (parent)
Builds the interface.

Parameters

  • parent:

Valid XHTML 1.0!