| Top |
| AsScreenshotKind | as_screenshot_kind_from_string () |
| const gchar * | as_screenshot_kind_to_string () |
| gboolean | as_screenshot_is_valid () |
| AsScreenshot * | as_screenshot_new () |
| AsScreenshotKind | as_screenshot_get_kind () |
| void | as_screenshot_set_kind () |
| const gchar * | as_screenshot_get_caption () |
| void | as_screenshot_set_caption () |
| GPtrArray * | as_screenshot_get_images_all () |
| GPtrArray * | as_screenshot_get_images () |
| void | as_screenshot_add_image () |
| const gchar * | as_screenshot_get_active_locale () |
| void | as_screenshot_set_active_locale () |
| #define | AS_TYPE_SCREENSHOT |
| struct | AsScreenshotClass |
| enum | AsScreenshotKind |
| AsScreenshot |
Screenshots have a localized caption and also contain a number of images of different resolution.
See also: AsImage
AsScreenshotKind
as_screenshot_kind_from_string (const gchar *kind);
Converts the text representation to an enumerated value.
const gchar *
as_screenshot_kind_to_string (AsScreenshotKind kind);
Converts the enumerated value to an text representation.
gboolean
as_screenshot_is_valid (AsScreenshot *screenshot);
Performs a quick validation on this screenshot
AsScreenshotKind
as_screenshot_get_kind (AsScreenshot *screenshot);
Gets the screenshot kind.
void as_screenshot_set_kind (AsScreenshot *screenshot,AsScreenshotKind kind);
Sets the screenshot kind.
const gchar *
as_screenshot_get_caption (AsScreenshot *screenshot);
Gets the image caption
void as_screenshot_set_caption (AsScreenshot *screenshot,const gchar *caption,const gchar *locale);
Sets a caption on the screenshot
GPtrArray *
as_screenshot_get_images_all (AsScreenshot *screenshot);
Returns an array of all images we have, regardless of their size and language.
Since: 0.10
GPtrArray *
as_screenshot_get_images (AsScreenshot *screenshot);
Gets the images for this screenshots. Only images valid for the current language are returned. We return all sizes.
void as_screenshot_add_image (AsScreenshot *screenshot,AsImage *image);
Adds an image to the screenshot.
const gchar *
as_screenshot_get_active_locale (AsScreenshot *screenshot);
Get the current active locale, which is used to get localized messages.
void as_screenshot_set_active_locale (AsScreenshot *screenshot,const gchar *locale);
Set the current active locale, which is used to get localized messages. If the AsComponent linking this AsScreenshot was fetched from a localized database, usually only one locale is available.