Core: Launcher: can drag-and-drop patch on Launcher window (#3442)

* Core: Launcher: can drag-and-drop patch on Launcher window

* doc string for `_on_drop_file`
This commit is contained in:
Doug Hoskisson
2024-06-04 16:54:21 -07:00
committed by GitHub
parent 3cc391e9a1
commit 76266f25ef
3 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
from typing import Callable, ClassVar
from kivy.event import EventDispatcher
class WindowBase(EventDispatcher):
width: ClassVar[int] # readonly AliasProperty
height: ClassVar[int] # readonly AliasProperty
@staticmethod
def bind(**kwargs: Callable[..., None]) -> None: ...
class Window(WindowBase):
...

2
typings/kivy/event.pyi Normal file
View File

@@ -0,0 +1,2 @@
class EventDispatcher:
...