|
|
Thank you all!
> Is it not possible to subclass your own scroll and then, in the handle
method, simply check for the user releasing the mouse button drag? I guess it is though I would also need to check for KeyUp (scrolling with keybord arrows) and MouseWheel (scrolling with mouse).
Thank you very much for the code, Karman! It looks neat though I have yet to fully understand it :) And I wonder what is the purpose of the boxes you draw in the constructor?
On Friday, September 9, 2022 at 10:23:04 AM UTC+2 geert karman wrote:
PS. After scrolling I check with a time out if another scroll happens, if not I execute my code. So you don't need repetitive timeouts.
In the end I solved my need by checking the yposition every 100ms but want to pick your brains for alternative / better solutions. Thank you!
Best regards, Jakub Holy
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/2374d3fa-e491-4f27-8bed-80ffb92d3446n%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |