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

Bruce Steers bsteers4 at gmail.com
Fri Feb 10 00:53:26 CET 2023


On Tue, 7 Feb 2023, 18:41 Bruce Steers, <bsteers4 at gmail.com> wrote:

>
>
> On Tue, 7 Feb 2023 at 16:02, Benoit Minisini <
> benoit.minisini at gambas-basic.org> wrote:
>
>> Le 07/02/2023 à 16:44, Bruce Steers a écrit :
>> >
>> > I'm trying to make a dbus mpris interface for a MediaView control.
>> >
>> > I have some stuff working like cinnamon media control applet will
>> > stop/pause/play okay.
>> >
>> > What i am stuck with at present is being able to trigger the
>> > PropertiesChanged event.
>> >)
>
>
Does (or could) GB.dbus support the three property states?

>From what I've read a dbus property's state can be read-only , read-write
or both.

When 'both' the properties can be written to by the owning application but
not from outside.
And when set in the application they should trigger the
org.freedesktop.DBus.PropertiesChanged signal accordingly.

Could it be implemented with
Property Write org_name_etc ?

Respects
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230209/7ed50459/attachment.htm>


More information about the User mailing list