captured
Test if the passed widget ID currently has mouse capture.
Only valid between Window.beginand Window.end.
Parameters
- id:Id
- Id
Source
Implementation
pub fn captured(id: Id) bool {
if (captureMouseGet()) |cm| {
return id == cm.id;
}
return false;
}