struct Espresso::MonitorConnectEvent

Overview

Event triggered when a monitor connects or disconnects.

Defined in:

espresso/events/monitor_connect_event.cr

Instance Method Summary

Instance Method Detail

def connected? : Bool #

Flag indicating whether the monitor was connected or not.

True means the monitor was connected, false means it was disconnected.


[View source]
def disconnected? #

Flag indicating whether the monitor was disconnected or connected.

True means the monitor was disconnected, false means it was connected.


[View source]
def monitor : Monitor #

Monitor involved in the event.


[View source]