Function zng_wgt_input::cursor
source ยท pub fn cursor(
child: impl UiNode,
cursor: impl IntoVar<CursorSource>,
) -> impl UiNode
Expand description
P
Sets the mouse pointer cursor displayed when hovering the widget.
You can set this property to a CursorIcon
for a named platform dependent icon, CursorImg
for a custom image,
or to false
that converts to CursorSource::Hidden
.