Closed muhammad-al-baqir-khalid closed 6 years ago
Could you add some sample code?
import turtle as draw from appJar import gui
app = gui('Draw') drawing = draw.Turtle() drawing.circle(30) app.go() draw.done()
if you close one of the forms u will get an error.
Traceback (most recent call last):
File "C:\Users\PC\Desktop\Learning\eiu.py", line 9, in
Ah, OK, I see.
Have you seen this: http://appjar.info/outputWidgets/#turtle
Nice work it's worked :D
I'm using turtle built-in module to make a circle but it's using another window. I would like to drawing it inside the same form that appJar use. about turtle built-in module: The turtle module provides turtle graphics primitives, in both object-oriented and procedure-oriented ways. Because it uses Tkinter for the underlying graphics, it needs a version of Python installed with Tk support. https://docs.python.org/3.7/library/turtle.html