struct Gio::VolumeMonitor::DriveEjectButtonSignal

Overview

Emitted when the eject button is pressed on @drive.

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

Instance Method Detail

def connect(*, after : Bool = false, &block : Proc(Gio::Drive, Nil)) : GObject::SignalConnection #

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

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

def emit(drive : Gio::Drive) : Nil #

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

The signal name