| Top |
| AsScreenshot * | as_screenshot_new () |
| AsScreenshotKind | as_screenshot_kind_from_string () |
| const gchar * | as_screenshot_kind_to_string () |
| AsScreenshotKind | as_screenshot_get_kind () |
| const gchar * | as_screenshot_get_caption () |
| GPtrArray * | as_screenshot_get_images () |
| void | as_screenshot_set_kind () |
| void | as_screenshot_set_caption () |
| void | as_screenshot_add_image () |
Screenshots have a localized caption and also contain a number of images of different resolution.
See also: AsImage
AsScreenshot *
as_screenshot_new (void);
Creates a new AsScreenshot.
Since 0.1.0
AsScreenshotKind
as_screenshot_kind_from_string (const gchar *kind);
Converts the text representation to an enumerated value.
Since 0.1.0
const gchar *
as_screenshot_kind_to_string (AsScreenshotKind kind);
Converts the enumerated value to an text representation.
Since 0.1.0
AsScreenshotKind
as_screenshot_get_kind (AsScreenshot *screenshot);
Gets the screenshot kind.
Since 0.1.0
const gchar * as_screenshot_get_caption (AsScreenshot *screenshot,const gchar *locale);
Gets the image caption for a specific locale.
Since 0.1.0
GPtrArray *
as_screenshot_get_images (AsScreenshot *screenshot);
Gets the image sizes included in the screenshot.
Since 0.1.0
void as_screenshot_set_kind (AsScreenshot *screenshot,AsScreenshotKind kind);
Sets the screenshot kind.
Since 0.1.0
void as_screenshot_set_caption (AsScreenshot *screenshot,const gchar *locale,const gchar *caption,gsize caption_len);
Sets a caption on the screenshot for a specific locale.
screenshot |
a AsScreenshot instance. |
|
locale |
the locale, or |
|
caption |
the caption text. |
|
caption_len |
the size of |
Since 0.1.0
void as_screenshot_add_image (AsScreenshot *screenshot,AsImage *image);
Adds an image to the screenshot.
Since 0.1.0