Class
MetaBackgroundImageCache
Description [src]
final class Meta.BackgroundImageCache : GObject.Object {
/* No available fields */
}
MetaBackgroundImageCache
caches loading of textures for backgrounds; there’s actually
nothing background specific about it, other than it is tuned to work well for
large images as typically are used for backgrounds.
Instance methods
meta_background_image_cache_load
Loads an image to use as a background, or returns a reference to an
image that is already in the process of loading or loaded. In either
case, what is returned is a MetaBackgroundImage
which can be dereferenced
to get a CoglTexture
. If meta_background_image_is_loaded()
returns TRUE
,
the background is loaded, otherwise the MetaBackgroundImage::loaded
signal will be emitted exactly once. The ‘loaded’ state means that the
loading process finished, whether it succeeded or failed.
meta_background_image_cache_purge
Remove an entry from the cache; this would be used if monitoring showed that the file changed.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.