Top |
Functions
AsBundle * | as_bundle_new () |
AsBundleKind | as_bundle_kind_from_string () |
const gchar * | as_bundle_kind_to_string () |
const gchar * | as_bundle_get_id () |
const gchar * | as_bundle_get_runtime () |
const gchar * | as_bundle_get_sdk () |
AsBundleKind | as_bundle_get_kind () |
void | as_bundle_set_id () |
void | as_bundle_set_runtime () |
void | as_bundle_set_sdk () |
void | as_bundle_set_kind () |
Types and Values
#define | AS_TYPE_BUNDLE |
struct | AsBundleClass |
enum | AsBundleKind |
#define | AS_BUNDLE_KIND_XDG_APP |
AsBundle |
Description
Screenshot may have multiple versions of an bundle in different resolutions or aspect ratios. This object allows access to the location and size of a single bundle.
See also: AsScreenshot
Functions
as_bundle_kind_from_string ()
AsBundleKind
as_bundle_kind_from_string (const gchar *kind
);
Converts the text representation to an enumerated value.
Since: 0.3.5
as_bundle_kind_to_string ()
const gchar *
as_bundle_kind_to_string (AsBundleKind kind
);
Converts the enumerated value to an text representation.
Since: 0.3.5
as_bundle_get_id ()
const gchar *
as_bundle_get_id (AsBundle *bundle
);
Gets the ID for this bundle.
Since: 0.3.5
as_bundle_get_runtime ()
const gchar *
as_bundle_get_runtime (AsBundle *bundle
);
Gets the runtime required for this bundle.
Since: 0.5.10
as_bundle_get_sdk ()
const gchar *
as_bundle_get_sdk (AsBundle *bundle
);
Gets the SDK for this bundle.
Since: 0.5.10
as_bundle_get_kind ()
AsBundleKind
as_bundle_get_kind (AsBundle *bundle
);
Gets the bundle kind.
Since: 0.3.5
as_bundle_set_id ()
void as_bundle_set_id (AsBundle *bundle
,const gchar *id
);
Sets the ID for this bundle.
Since: 0.3.5
as_bundle_set_runtime ()
void as_bundle_set_runtime (AsBundle *bundle
,const gchar *runtime
);
Sets the runtime required for this bundle.
Since: 0.5.10
as_bundle_set_sdk ()
void as_bundle_set_sdk (AsBundle *bundle
,const gchar *sdk
);
Sets the SDK for this bundle.
Since: 0.5.10
as_bundle_set_kind ()
void as_bundle_set_kind (AsBundle *bundle
,AsBundleKind kind
);
Sets the bundle kind.
Since: 0.3.5