natiny_view_set_pickable

C
void natiny_view_set_pickable(NatinyView view, bool pickable);

Sets whether the pointer can land on a view, or passes through it to what is below.

Parameters

Name Type Description
view NatinyView View handle
pickable bool false to let the pointer through

Example

C
natiny_view_set_pickable(tooltip, false);

Notes

  • It does not change drawing. NATINY_VIEW_HOOK_DRAW is called as usual.