From 6dc712b8f8836c7910b8ce4c38b999a31cd8c9be Mon Sep 17 00:00:00 2001 From: Cedric Martineau Date: Thu, 16 Nov 2023 14:56:25 -0500 Subject: [PATCH] WindowConfig: rename files_dropped function to files_dropped_event to fit with the getattr called in assign_event_callbacks. --- moderngl_window/context/base/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moderngl_window/context/base/window.py b/moderngl_window/context/base/window.py index 49ace31..d5e84ec 100644 --- a/moderngl_window/context/base/window.py +++ b/moderngl_window/context/base/window.py @@ -1122,7 +1122,7 @@ def resize(self, width: int, height: int): def close(self): """Called when the window is closed""" - def files_dropped(self, x: int, y: int, paths: List[str]): + def files_dropped_event(self, x: int, y: int, paths: List[str]): """ Called when files dropped onto the window