natiny_view_set_pickable
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
natiny_view_set_pickable(tooltip, false);
Notes
- It does not change drawing.
NATINY_VIEW_HOOK_DRAWis called as usual.