Gm.DeviceInfo¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
[ |
r/w/co |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Gm.DeviceInfo(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Get device dependent information.
Allows to query device dependent information from different sources (currently we only look a the built-in gresources).
The lookups are currently based on device tree compatibles. See [func`device_tree_get_compatibles`].
New in version 0.0.1.
- classmethod new(compatibles)¶
- Parameters:
compatibles (
str
) – device tree compatibles- Returns:
The known device information
- Return type:
Gets device information based on the passed in device tree compatibles.
New in version 0.0.1.
- get_display_panel()¶
- Returns:
The display panel information
- Return type:
Gets display panel information. Queries the database for the best matching panel based on the device’s compatibles.
New in version 0.0.1.