Top | ![]() |
![]() |
![]() |
![]() |
org.freedesktop.DBus.Properties Interfaceorg.freedesktop.DBus.Properties Interface — Properties interface |
Get (IN String interface_name, IN String property_name, OUT Variant value) GetAll (IN String interface_name, OUT Dict<String,Variant> properties) Set (IN String interface_name, IN String property_name, IN Variant value)
Many native APIs will have a concept of object properties or attributes. These can be exposed via the org.freedesktop.DBus.Properties interface. The available properties and whether they are writable can be determined by using the org.freedesktop.DBus.Introspectable interface.
Get (IN String interface_name, IN String property_name, OUT Variant value)
Gets the value of the property with name property_name
on the interface with name interface_name
.
|
The name of the D-Bus interface. |
|
The name of the property. |
|
The value of the property. |
GetAll (IN String interface_name, OUT Dict<String,Variant> properties)
Gets all properties on the interface with the name interface_name
.
|
The name of the D-Bus interface. |
|
A dictionary containing all the properties. |
Set (IN String interface_name, IN String property_name, IN Variant value)
Sets the value of the property with name property_name
on the interface with name interface_name
to value
.
|
The name of the D-Bus interface. |
|
The name of the property. |
|
The value to set. |
EggDBusChanged (String interface_name, Dict<String,Variant> changed_properties)
Emitted when one or more properties change on an interface. Note: this signal is proprietary to EggDBus; no other D-Bus implementation will emit it.
|
The name of the D-Bus interface. |
|
A dictionary containing the changed properties. |