Top |
A SnapdScreenshot represents a screenshot that shows a snap.
Screenshots can be queried using snapd_snap_get_screenshots()
.
const gchar *
snapd_screenshot_get_url (SnapdScreenshot *screenshot
);
Get the URL for this screenshot, e.g. "http://example.com/screenshot.png"
Since: 1.0
guint
snapd_screenshot_get_width (SnapdScreenshot *screenshot
);
Get the width of the screenshot in pixels or 0 if unknown.
Return: a width
Since: 1.0
guint
snapd_screenshot_get_height (SnapdScreenshot *screenshot
);
Get the height of the screenshot in pixels or 0 if unknown.
Return: a height
Since: 1.0
typedef struct _SnapdScreenshot SnapdScreenshot;
SnapdScreenshot contains screenshot information.
Since: 1.0
“height”
property“height” guint
Height of screenshot in pixels.
Flags: Read / Write / Construct Only
Default value: 0
“url”
property“url” gchar *
URL for this screenshot.
Flags: Read / Write / Construct Only
Default value: NULL
“width”
property“width” guint
Width of screenshot in pixels.
Flags: Read / Write / Construct Only
Default value: 0