Class
AppStreamScreenshot
since: 1.0
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”.
since: 1.0
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.
since: 1.0
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.
since: 1.0
as_screenshot_get_videos_all
Returns an array of all screencast videos we have, regardless of their size and locale.
since: 1.0
as_screenshot_set_context
Sets the document context this screenshot is associated with.
since: 0.11.2
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.
unstable since: 2.0
Class structure
struct AppStreamScreenshotClass {
GObjectClass parent_class;
void (* _as_reserved1) (
void
);
void (* _as_reserved2) (
void
);
void (* _as_reserved3) (
void
);
void (* _as_reserved4) (
void
);
void (* _as_reserved5) (
void
);
void (* _as_reserved6) (
void
);
}
Class members
parent_class: GObjectClass
- No description available.
_as_reserved1: void (* _as_reserved1) ( void )
- No description available.
_as_reserved2: void (* _as_reserved2) ( void )
- No description available.
_as_reserved3: void (* _as_reserved3) ( void )
- No description available.
_as_reserved4: void (* _as_reserved4) ( void )
- No description available.
_as_reserved5: void (* _as_reserved5) ( void )
- No description available.
_as_reserved6: void (* _as_reserved6) ( void )
- No description available.