Screenshot
Object Hierarchy:
Description:
[ CCode ( type_id = "as_screenshot_get_type ()" ) ]
public class Screenshot : Object
Content:
Creation methods:
Methods:
- public void add_image (Image image)
Adds an image to the screenshot.
- public void add_video (Video video)
Adds a video to the screenshot.
- public void clear_images ()
Remove all images associated with this screenshot.
- public unowned string get_active_locale ()
Get the current active locale, which is used to get localized
messages.
- public unowned string get_caption ()
Gets the image caption
- public unowned Image get_image (uint width, uint height)
Gets the AsImage closest to the target size.
- public unowned GenericArray<Image> get_images ()
Gets the images for this screenshots.
- public unowned GenericArray<Image> get_images_all ()
Returns an array of all images we have, regardless of their size and
language.
- public ScreenshotKind get_kind ()
Gets the screenshot kind.
- public ScreenshotMediaKind get_media_kind ()
Gets the screenshot media kind.
- public unowned GenericArray<Video> get_videos ()
Gets the videos for this screenshots.
- public unowned GenericArray<Video> get_videos_all ()
Returns an array of all screencast videos we have, regardless of their
size and locale.
- public bool is_valid ()
Performs a quick validation on this screenshot
- public void set_active_locale (string locale)
Set the current active locale, which is used to get localized
messages.
- public void set_caption (string caption, string locale)
Sets a caption on the screenshot
- public void set_kind (ScreenshotKind kind)
Sets the screenshot kind.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref