struct Gio::DBusProxy::GPropertiesChangedSignal

Overview

Emitted when one or more D-Bus properties on @proxy changes. The local cache has already been updated when this signal fires. Note that both @changed_properties and @invalidated_properties are guaranteed to never be nil (either may be empty though).

If the proxy has the flag %G_DBUS_PROXY_FLAGS_GET_INVALIDATED_PROPERTIES set, then @invalidated_properties will always be empty.

This signal corresponds to the PropertiesChanged D-Bus signal on the org.freedesktop.DBus.Properties interface.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/d_bus_proxy.cr

Instance Method Summary

Instance methods inherited from struct GObject::Signal

[](detail : String) : self [], name : String name

Constructor methods inherited from struct GObject::Signal

new(source : GObject::Object, detail : String? = nil) new

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(GLib::Variant, Enumerable(String), Nil)) : GObject::SignalConnection #

def connect(handler : Proc(GLib::Variant, Enumerable(String), Nil), *, after : Bool = false) : GObject::SignalConnection #

def connect(handler : Proc(Gio::DBusProxy, GLib::Variant, Enumerable(String), Nil), *, after : Bool = false) : GObject::SignalConnection #

def emit(changed_properties : _, invalidated_properties : Enumerable(String)) : Nil #

def name : String #
Description copied from struct GObject::Signal

The signal name