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 : Nil | String = nil) new

Instance Method Detail

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

[View source]
def connect(handler : Proc(String | Nil, String, GLib::Variant, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gio::DBusProxy, String | Nil, String, GLib::Variant, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit(sender_name : String | Nil, signal_name : String, parameters : _) : Nil #

[View source]
def name : String #
Description copied from struct GObject::Signal

The signal name


[View source]