new_ml_image

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

new_ml_image, ml_image_set_src, ml_image_get_src - monolith image widget

SYNOPSIS

#include <ml_image.h>

ml_image new_ml_image (pool pool, const char *src);
void ml_image_set_src (ml_image, const char *src);
const char *ml_image_get_src (ml_image);

DESCRIPTION

An image widget displays a graphical image, taken from a particular source (in fact, it corresponds almost exactly to the HTML <img/> element).
The current implementation of ml_image is rather immature. In future we will support image sizes, alt, title, longdesc, and so on.
new_ml_image creates a new image. You should supply the src (source) for the image, which is an absolute or relative link. If src is set to NULL then no image is displayed.
ml_image_(set|get)_src updates the source of the image. You may set the source to NULL to display no image at all.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

monolith-1.0.0