In my DBGrid (in Windows) I have this:
1. When the mouse cursor is above the column header OR the filter is active - filter' icon is visible:
2. When the mouse cursor is outside the column header AND the filter is empty - filter' icon is invisible:
3. And when the mouse cursor is outside the column header BUT the filter is active (filled by something) - filter' icon is visible:
How to do something like that for NSTableView?