@@ -905,7 +905,9 @@ def ev_mousebuttondown(
905905 ) -> Optional [T ]:
906906 """Called when a mouse button is pressed."""
907907
908- def ev_mousebuttonup (self , event : "tcod.event.MouseButtonUp" ) -> Optional [T ]:
908+ def ev_mousebuttonup (
909+ self , event : "tcod.event.MouseButtonUp"
910+ ) -> Optional [T ]:
909911 """Called when a mouse button is released."""
910912
911913 def ev_mousewheel (self , event : "tcod.event.MouseWheel" ) -> Optional [T ]:
@@ -929,21 +931,29 @@ def ev_windowexposed(self, event: "tcod.event.WindowEvent") -> Optional[T]:
929931 def ev_windowmoved (self , event : "tcod.event.WindowMoved" ) -> Optional [T ]:
930932 """Called when the window is moved."""
931933
932- def ev_windowresized (self , event : "tcod.event.WindowResized" ) -> Optional [T ]:
934+ def ev_windowresized (
935+ self , event : "tcod.event.WindowResized"
936+ ) -> Optional [T ]:
933937 """Called when the window is resized."""
934938
935939 def ev_windowsizechanged (
936940 self , event : "tcod.event.WindowResized"
937941 ) -> Optional [T ]:
938942 """Called when the system or user changes the size of the window."""
939943
940- def ev_windowminimized (self , event : "tcod.event.WindowEvent" ) -> Optional [T ]:
944+ def ev_windowminimized (
945+ self , event : "tcod.event.WindowEvent"
946+ ) -> Optional [T ]:
941947 """Called when the window is minimized."""
942948
943- def ev_windowmaximized (self , event : "tcod.event.WindowEvent" ) -> Optional [T ]:
949+ def ev_windowmaximized (
950+ self , event : "tcod.event.WindowEvent"
951+ ) -> Optional [T ]:
944952 """Called when the window is maximized."""
945953
946- def ev_windowrestored (self , event : "tcod.event.WindowEvent" ) -> Optional [T ]:
954+ def ev_windowrestored (
955+ self , event : "tcod.event.WindowEvent"
956+ ) -> Optional [T ]:
947957 """Called when the window is restored."""
948958
949959 def ev_windowenter (self , event : "tcod.event.WindowEvent" ) -> Optional [T ]:
@@ -957,13 +967,17 @@ def ev_windowfocusgained(
957967 ) -> Optional [T ]:
958968 """Called when the window gains keyboard focus."""
959969
960- def ev_windowfocuslost (self , event : "tcod.event.WindowEvent" ) -> Optional [T ]:
970+ def ev_windowfocuslost (
971+ self , event : "tcod.event.WindowEvent"
972+ ) -> Optional [T ]:
961973 """Called when the window loses keyboard focus."""
962974
963975 def ev_windowclose (self , event : "tcod.event.WindowEvent" ) -> Optional [T ]:
964976 """Called when the window manager requests the window to be closed."""
965977
966- def ev_windowtakefocus (self , event : "tcod.event.WindowEvent" ) -> Optional [T ]:
978+ def ev_windowtakefocus (
979+ self , event : "tcod.event.WindowEvent"
980+ ) -> Optional [T ]:
967981 pass
968982
969983 def ev_windowhittest (self , event : "tcod.event.WindowEvent" ) -> Optional [T ]:
0 commit comments