pub enum CelEvent {
Show 18 variants
TreeChanged {
added: Vec<String>,
removed: Vec<String>,
},
NetworkIdle,
FocusChanged {
old: Option<String>,
new: Option<String>,
},
ValueChanged {
element_id: String,
new_value: Option<String>,
},
WindowCreated {
title: Option<String>,
},
MenuOpened,
MenuClosed,
SheetCreated,
LayoutChanged,
TitleChanged {
new_title: Option<String>,
},
AppActivated {
app_name: Option<String>,
},
AppDeactivated {
app_name: Option<String>,
},
WindowMoved,
WindowResized,
WindowMinimized,
WindowRestored,
SelectionChanged,
RowCountChanged,
}Expand description
Events emitted by the ContextWatchdog when screen state changes. Includes both polling-based detections and push-based AXObserver notifications.
Variants§
TreeChanged
Accessibility tree changed (elements added or removed).
NetworkIdle
Network became idle (no new connections recently).
FocusChanged
Keyboard/mouse focus moved to a different element.
ValueChanged
An element’s value changed (from AXObserver push notification).
WindowCreated
A new window was created (from AXObserver).
MenuOpened
A menu was opened (from AXObserver).
MenuClosed
A menu was closed (from AXObserver).
SheetCreated
A sheet/dialog appeared (from AXObserver).
LayoutChanged
UI layout changed (from AXObserver).
TitleChanged
An element’s title changed (from AXObserver).
AppActivated
An application was activated (brought to foreground).
AppDeactivated
An application was deactivated (sent to background).
WindowMoved
A window was moved.
WindowResized
A window was resized.
WindowMinimized
A window was minimized.
WindowRestored
A window was restored from minimized state.
SelectionChanged
Selection changed (text, list, etc.).
RowCountChanged
The number of rows in a table/outline changed.