[Gambas-user] Triggering org.freedesktop.DBus.Properties.PropertiesChanged

Benoit Minisini benoit.minisini at gambas-basic.org
Sat Feb 11 18:33:59 CET 2023

Le 11/02/2023 à 03:08, Bruce Steers a écrit :
>     i eventually figured out how to fire property change signals.
>  [...]
> I did not know what the third "Invalidated" argument was for.
> Here's a quote from the spec site so you can see if you need it..
>   org.freedesktop.DBus.Properties.PropertiesChanged (STRING interface_name,
>      ARRAY of DICT_ENTRY<STRING,VARIANT> changed_properties,
>      ARRAY<STRING> invalidated_properties);
>   where|changed_properties|  is a dictionary containing the changed properties with the new values and
>   |invalidated_properties|  is an array of properties that changed but the value is not conveyed.

Everything is explained in the DBus documentation.

'gb.dbus' does not support the 
'org.freedesktop.DBus.Properties.PropertiesChanged' signal property 
properly - support for associated annotation is missing.

I think it could be done. It will be for the 3.19 version.


Benoît Minisini.

More information about the User mailing list