struct Espresso::MonitorConnectEvent
- Espresso::MonitorConnectEvent
- Struct
- Value
- Object
Overview
Event triggered when a monitor connects or disconnects.
Defined in:
espresso/events/monitor_connect_event.crInstance Method Summary
-
#connected? : Bool
Flag indicating whether the monitor was connected or not.
-
#disconnected?
Flag indicating whether the monitor was disconnected or connected.
-
#monitor : Monitor
Monitor involved in the event.
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.
def disconnected?
#
Flag indicating whether the monitor was disconnected or connected.
True means the monitor was disconnected, false means it was connected.