godbus / dbus

Native Go bindings for D-Bus
BSD 2-Clause "Simplified" License
976 stars 225 forks source link

feat: easy parsing of PropertiesChanged signals #371

Open damianmyers2 opened 1 year ago

damianmyers2 commented 1 year ago

Introducing a new type PropertiesChanged that conforms to the PropertiesChanged signal body fields. The Signal type will now have a func that parsed the Signal body and return the new type. Included some supporting functionality for PropertiesChanged to check for and get changed properties.

Addresses #201