Class
AppStreamScreenshot
Description
class AppStream.Screenshot : GObject.Object
{
/* No available fields */
}
No description available.
Instance methods
as_screenshot_get_context
Returns the AsContext
associated with this screenshot.
This function may return NULL
if no context is set.
since: 0.11.2
as_screenshot_get_environment
Get the GUI environment ID of this screenshot, if any is associated with it. E.g. “plasma-mobile” or “gnome:dark”.
as_screenshot_get_image
Gets the AsImage closest to the target size. The AsImage
may not actually
be the requested size, and the application may have to pad / rescale the
image to make it fit.
Only images for the current active locale (or fallback, if images are not localized)
are considered.
since: 0.14.0
as_screenshot_get_images
Gets the images for this screenshots. Only images valid for the current language are returned. We return all sizes.
as_screenshot_get_images_all
Returns an array of all images we have, regardless of their size and language.
since: 0.10
as_screenshot_get_videos
Gets the videos for this screenshots. Only videos valid for the current language selection are returned. We return all sizes.
as_screenshot_get_videos_all
Returns an array of all screencast videos we have, regardless of their size and locale.
as_screenshot_set_context
Sets the document context this screenshot is associated with.
since: 0.11.2