EggDBus Reference Manual | ||||
---|---|---|---|---|
Top | Description | Signals |
org.freedesktop.DBus.Properties Interfaceorg.freedesktop.DBus.Properties Interface — Properties interface |
Methods
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)
Description
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.
Method Details
Get ()
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 ()
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 ()
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. |
Signal Details
The "EggDBusChanged" signal
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. |