tito/kivy — Issue #325: on_mouse_move not send if no buton pressed
Author: mpad
Created: 2011-11-25 10:29:38+00:00
State: open

Using kivy 1.0.9 with the following :

```python
from kivy.app import App
from kivy.uix.button import Button
from kivy.core.window import Window
from kivy.uix.boxlayout import BoxLayout

topB = BoxLayout(orientation='vertical',size=Window.size, padding=10, spacing=5 )

def checkMouse(*a):
print a
Window.bind(on_mouse_move = checkMouse)
#Window.bind(on_motion = checkMouse)

class HLButton(Button):
pass

topB.add_widget( HLButton(text="das de", ))#height=40) )
topB.add_widget( HLButton(text="LLPLA", ))#height=40) )
topB.add_widget( HLButton(text="LLP##33", ))#height=40) )

class MyPaintApp(App):
def build(self):
return topB

if __name__ == '__main__':
MyPaintApp().run()

```

the `checkMouse` is not called when the mouse simply move around but only when a mouse button is pressed.