mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +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
|
||||
|
||||
@@ -646,8 +646,6 @@ rlcompleter.Completer.attr_matches
|
||||
rlcompleter.Completer.global_matches
|
||||
sunau.Au_read.initfp
|
||||
sunau.Au_write.initfp
|
||||
tkinter.EventType.Button
|
||||
tkinter.EventType.Key
|
||||
tkinter.Misc.config
|
||||
tkinter.font.Font.counter
|
||||
tkinter.simpledialog.Dialog.apply
|
||||
|
||||
Reference in New Issue
Block a user