struct Gio::DBusConnection::ClosedSignal

Overview

Emitted when the connection is closed.

The cause of this event can be

Upon receiving this signal, you should give up your reference to @connection. You are guaranteed that this signal is emitted only once.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/d_bus_connection.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(Bool, GLib::Error?, Nil)) : GObject::SignalConnection #

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

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

def emit(remote_peer_vanished : Bool, error : GLib::Error?) : Nil #

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

The signal name