Method
PanelSessionItemhas_metadata
Declaration [src]
gboolean
panel_session_item_has_metadata (
PanelSessionItem* self,
const char* key,
const GVariantType** value_type
)
Description [src]
If the item contains a metadata value for key.
Checks if a value exists for a metadata key and retrieves the GVariantType
for that key.
Parameters
key |
const char* |
The name of the metadata. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
value_type |
GVariantType |
A location for a |
|
| The argument will be set by the function. | |
The argument can be set to NULL. | |
| The instance takes ownership of the data, and is responsible for freeing it. |