Page 1 of 1

[Solved] Getting the cursor focused widget in ColibriGui?

Posted: Fri Oct 06, 2023 3:28 pm
by knn217

Hello Im trying to identify the cursor focused widget from ColibriManager, is there a way to do this? I looked at the code and ColibriManager doesn't seem to give away any info about the current FocusPair for cursor.

I've also considered iterating through the widgets myself and check their states, but this doesn't seem like the correct method since ColibriManager seems to do that already whenever setMouseCursorMoved() is called.


Re: Getting the cursor focused widget in ColibriGui?

Posted: Fri Oct 06, 2023 3:40 pm
by dark_sylinc

Fixed.

Thanks for the report!


Re: Getting the cursor focused widget in ColibriGui?

Posted: Sat Oct 07, 2023 1:23 am
by knn217

Thanks for the fix!