struct Gio::VolumeMonitor::DriveDisconnectedSignal

Overview

Emitted when a drive is disconnected from the system.

Defined in:

lib/gi-crystal/src/auto/gio-2.0/volume_monitor.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(Gio::Drive, Nil)) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gio::Drive, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def connect(handler : Proc(Gio::VolumeMonitor, Gio::Drive, Nil), *, after : Bool = false) : GObject::SignalConnection #

[View source]
def emit(drive : Gio::Drive) : Nil #

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

The signal name


[View source]