Page 1 of 1

Relative mouse position

Posted: Fri Mar 02, 2007 10:28
by mkolb
Hi there, I need to get the mouse position on a widget.
I couldn't find anything which would supply such a functionality in 0.5.0, there was a screentowindow function in 0.4 but I can't find anything like that in 0.5.0.
For the sake of completeness I also tell you what I want to achieve.
I want to set the current value of a slider to the position the mouse click on the widget.
Any suggestions are welcome. Thanks in advance!
Regards