pub fn dispatch_shell_event(
tree: &mut ElementTree,
event: &ShellEvent,
now_ms: u64,
) -> boolExpand description
把一个中性 shell 事件路由到元素树。
返回 true 表示事件已触及树(调用方通常需要重绘);false 表示纯通知事件,
例如修饰键状态或文件拖拽悬停,留给应用层自己处理。
pub fn dispatch_shell_event(
tree: &mut ElementTree,
event: &ShellEvent,
now_ms: u64,
) -> bool把一个中性 shell 事件路由到元素树。
返回 true 表示事件已触及树(调用方通常需要重绘);false 表示纯通知事件,
例如修饰键状态或文件拖拽悬停,留给应用层自己处理。