def event_paused_lose_mouse_focus(self): """Lose mouse focus event when paused. See the documentation for :meth:`sge.Game.event_lose_mouse_focus` for more information. """ if sge.DEBUG: bad_name = "event_paused_loose_mouse_focus" if hasattr(self, bad_name): sge._scold_user_on_lose_vs_loose(bad_name)
def event_lose_keyboard_focus(self): """Lose keyboard focus event. See the documentation for :meth:`sge.Game.event_lose_keyboard_focus` for more information. """ if sge.DEBUG: bad_name = "event_loose_keyboard_focus" if hasattr(self, bad_name): sge._scold_user_on_lose_vs_loose(bad_name)
def event_lose_keyboard_focus(self): """Lose keyboard focus event. Called when the game loses keyboard focus. Keyboard focus is normally needed for key press and release events to be received. .. note:: See the note in the documentation for :meth:`event_gain_keyboard_focus`. """ if sge.DEBUG: bad_name = "event_loose_keyboard_focus" if hasattr(self, bad_name): sge._scold_user_on_lose_vs_loose(bad_name)
def event_lose_mouse_focus(self): """Lose mouse focus event. Called when the game loses mouse focus. Mouse focus may be needed for mouse motion, button press, and button release events to be received. .. note:: See the note in the documentation for :meth:`event_gain_keyboard_focus`. """ if sge.DEBUG: bad_name = "event_loose_mouse_focus" if hasattr(self, bad_name): sge._scold_user_on_lose_vs_loose(bad_name)