How i can detect when mouse is pressed and released inside widget area not outside it ?
General and Desktop
4
Posts
2
Posters
7.1k
Views
1
Watching
-
Nothing wrong with that but i was trying to call a function just when a button is pressed before it is released but the problem is that if after pressing the button one is releasing dy"
Nothing wrong with that but i was trying to call a function just when a button is pressed before it is released but the problem is that if after pressing the button one is releasing it only outside the button area i want to call another function. How i can i do that?
I have checked mouse releaseEvent but mouse releasevent is called in both cases when mouse is released inside button or outside button area but i want to call it only in any of the one cases.