struct Gio::DBusProxy::GSignalSignal

Overview

Emitted when a signal from the remote object and interface that @proxy is for, has been received.

Since 2.72 this signal supports detailed connections. You can connect to the detailed signal g-signal::x in order to receive callbacks only when signal x is received from the remote object.

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(String?, String, GLib::Variant, Nil)) : GObject::SignalConnection #

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

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

def emit(sender_name : String?, signal_name : String, parameters : _) : Nil #

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

The signal name