Controls and delay between checking for changed value events
===

For the trackbar and numeric up/down (amongst other things), it seems like the event that is fired whenever the value changes has very short delays between changes.

This is causing an issue for me because whenever the value changes, I execute some functions that take a fair amount of time to process (like, about 100-200 ms depending on the size of the input)

I've noticed that when I use the mouse wheel to increase/decrease the value, it registers 4 change events (prints "changed!" 4 times to debug console), and so the functions are executed 4 times. This is probably the settings I have for my mouse wheel.

Even when I manually click on the trackbar to give it a "large increase", it registers 2 change events.

I would like the functions to run when the value changes, but not to the point where a single mouse wheel scroll is triggering 4 calls. I just need the most recent value.

How can I make it so that I can specify some sort of delay before checking whether the value was changed?