Akuli
1cd719ba8d
Add types to some untyped tkinter.Canvas methods ( #5868 )
...
* coords
* gettags
* itemconfigure, itemconfig
* tag_raise, tag_lower, their aliases
* dtag
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2021-08-07 17:01:56 +03:00
Akuli
9301131976
fix tkinter.Canvas tags option ( #5866 )
2021-08-07 15:53:46 +02:00
Akuli
36799fd63c
tkinter.Canvas: fix dash ( #5867 )
2021-08-07 15:38:05 +02:00
Sebastian Rittau
711580722b
Enable pyright for all Python 3 stubs ( #5597 )
...
* pyright: disable reportUnknownParameterType
Unknown parameter types are preferred over Any annotations for
incomplete stubs. Especially larger stubs are expected to be
incomplete for some time and it would be a shame to lose the
other pyright warnings for those stubs.
* Also disable reportUnknownVariableType
Fix problems with tkinter
* Disable reportUnknownMemberType
Fix pyright problems
2021-06-09 07:14:22 -07:00
Akuli
200260e685
move DndSource to tkinter/dnd.pyi ( #5588 )
2021-06-07 07:07:57 -07:00
Akuli
ec80fdaeb5
add types to most common tkinter.Entry methods ( #5586 )
...
* most common tkinter.Entry methods
* type-ignore tkinter's lsp violation
2021-06-07 11:55:35 +03:00
Akuli
4b66a9cd4e
add types to tkinter invoke methods ( #5582 )
2021-06-06 20:32:30 +02:00
Akuli
68dbab81f4
More types for tkinter.Treeview ( #5584 )
2021-06-06 19:19:23 +02:00
Akuli
6159136006
finish types of tkinter.Menu ( #5583 )
2021-06-06 19:15:37 +02:00
Akuli
ecafd6fe47
add types to tkinter.filedialog.ask* ( #5579 )
2021-06-06 13:05:57 +02:00
Sebastian Rittau
f0bf6eebbd
AnyStr cleanup ( #5487 )
...
* Replace all uses of StrPath, BytesPath, and AnyPath in Python 2 stubs.
* Add StrOrBytesPath as preferred alias for AnyPath.
* Replace all remaining AnyPath instances with StrOrBytesPath.
* Mark AnyPath as obsolete.
Part of #5470
2021-05-17 20:45:48 +02:00
Vyom Pathak
b35ae73c5f
Changed: argument type for xPos and yPos in tkinter to accept numbers ( #5334 )
2021-05-04 15:17:34 +03:00
Akuli
30c83ab5e0
tkinter.font nametofont root arg py3.10 ( #5307 )
...
Fixes #5306
2021-05-02 17:52:09 +02:00
Sebastian Rittau
4ac3ccad45
black: enable skip_magic_trailing_comma ( #5252 )
...
* black: enable skip_magic_trailing_comma
* Remove spurious commas
2021-04-27 08:32:32 -07:00
Vyom Pathak
c3e1875c25
Changed: text argument type to support float and int values for Tkinter
...
* Changed: text argument type to support float and int values for Tkinter
2021-04-24 17:33:45 +03:00
Daniel Rosenwasser
863b8f2e98
More complete type stubs for tkinter Canvas methods. ( #5188 )
...
* More complete type stubs for tkinter Canvas methods.
* Screen units.
* Switch to type alias.
2021-04-22 10:15:35 +03:00
Akuli
e98f398abc
allow bytes in tkinter.PhotoImage ( #5171 )
2021-04-01 12:54:49 +02:00
Tigran Kostandyan
1ed1e00046
fix name attribute for Toplevel class ( #5146 )
2021-03-29 18:40:16 +02:00
Akuli
4de7b82e31
fix tkinter.ttk.Treeview.selection return type ( #5024 )
2021-02-15 08:00:31 -08:00
Akuli
367700e03d
relax tkinter.font._FontDescription ( #5026 )
2021-02-15 07:59:53 -08:00
Akuli
003694ddd3
relax tkinter bind callback return types ( #5025 )
...
Fixes #5010
2021-02-15 07:54:13 -08:00
Akuli
903f74a68e
tkinter.Tk.eval self fix ( #5023 )
...
Fixes #5019
2021-02-15 07:52:06 -08:00
Akuli
310c4d3b34
Add return type for tkinter.Text.mark_previous ( #4986 )
2021-01-29 00:02:15 -08:00
Ivan Levkivskyi
16ae4c6120
Re-organize directory structure ( #4971 )
...
See discussion in #2491
Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com >
2021-01-27 12:00:39 +00:00