Skip to main content

set_native_hover

Function set_native_hover 

Source
pub fn set_native_hover(
    ctx: &Context,
    viewport: ViewportId,
    button: Option<Button>,
)
Expand description

Says which window button the pointer is over when the system, not egui, sees the pointer there (on Windows the buttons answer the system’s hit test, so their hover never reaches egui): the button is drawn hot. None when the pointer left them.