typeshed icon indicating copy to clipboard operation
typeshed copied to clipboard

tkinter canvas dash

Open Akuli opened this issue 3 years ago • 0 comments

I have some code that does:

            self._canvas.create_rectangle(
                event.x,
                event.y,
                self._initial_drag_x,
                self._initial_drag_y,
                dash=5,
                outline="black",
                tags="selection_displayer_rect",
            )

It fails to type check, unless I comment out dash=5, but it works at runtime.

Akuli avatar Apr 27 '22 15:04 Akuli