Namespace
Gm – 0
Mobile friendly helpers
Classes
Cutout |
A display cutout or notch. since: 0.0.2 |
DeviceInfo |
Get device dependent information. since: 0.0.1 |
DisplayPanel |
Physical properties of a display panel like size, cutouts and rounded corners. since: 0.0.1 |
Structs
Rect |
A rectangle. |
Error Domains
Error |
Error codes returned by gmobile functions. |
Functions
device_tree_get_compatibles |
Read compatible machine types from
|
error_quark |
Gets the GM Error Quark. |
get_resource | |
init |
Call this function to initialize the library explicitly. This makes the embedded device information available. |
register_resource | |
svg_path_get_bounding_box |
Returns the bounding box of an SVG path. As this is meant for
display cutouts we operate on integer (whole pixel) values. When
parsing fails, |
timeout_add_seconds_once |
Sets a function to be called after a timeout with the default
priority, |
timeout_add_seconds_once_full |
Sets a function to be called after a timeout with priority |
unregister_resource |
Function Macros
str_is_null_or_empty |
Convenience macro to check if a given string is since: 0.0.5 |
strv_is_null_or_empty |
Convenience macro to check if a given since: 0.0.5 |