hk_dsimage

hk_dsimage is a data-aware image object. It does not store the images in a database. It loads them from a directory. The column contains the name of the image. If the image name contains a full path, this will be used. If it is only the image name the path set with set_path() will be used. If this is empty, the image will be searched in the current directory.

Inherits from hk_dsdatavisible.

set_path(p[,registerchange [,force_setting]])

Sets the path where the images are stored.

path()

returns the path

set_zoom(zoom[,registerchange[,force_setting]])

Zooms the image in percent. Values of 0 or smaller than 0 means 'fit to size', 100 (%) is the original size

zoom()

returns the current zoom