GUI/tkinter programming #181
jorgemolongua
started this conversation in
General
Replies: 1 comment
-
Hi @jorgemolongua -- yes, you can import e.g. from python import tkinter as tk
window = tk.Tk()
btn = tk.Button(window, text='a button', fg='blue')
btn.place(x=80, y=100)
window.title('hello world')
window.geometry('300x200+10+10')
window.mainloop() Depending on the use case, it might make more sense to write the GUI code in plain Python and use Codon for the performance-sensitive bits via the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is GUI programming, like python's tkinter, supported?
Beta Was this translation helpful? Give feedback.
All reactions