struct Gio::VolumeMonitor::MountPreUnmountSignal

Overview

May be emitted when a mount is about to be removed.

This signal depends on the backend and is only emitted if GIO was used to unmount.

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::Mount, Nil)) : GObject::SignalConnection #

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

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

[View source]
def emit(mount : Gio::Mount) : Nil #

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

The signal name


[View source]