mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
add tkinter.EventType aliases (#6516)
This commit is contained in:
@@ -111,6 +111,7 @@ _TakeFocusValue = Union[int, Literal[""], Callable[[str], Optional[bool]]] # -t
|
||||
class EventType(str, Enum):
|
||||
Activate: str
|
||||
ButtonPress: str
|
||||
Button = ButtonPress
|
||||
ButtonRelease: str
|
||||
Circulate: str
|
||||
CirculateRequest: str
|
||||
@@ -128,6 +129,7 @@ class EventType(str, Enum):
|
||||
GraphicsExpose: str
|
||||
Gravity: str
|
||||
KeyPress: str
|
||||
Key = KeyPress
|
||||
KeyRelease: str
|
||||
Keymap: str
|
||||
Leave: str
|
||||
|
||||
Reference in New Issue
Block a user