Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # coding: utf-8
- """
- simple demo of tkinter gui in python 3.x
- """
- from tkinter import *
- class Window(Frame):
- def __init__(self, master=None):
- Frame.__init__(self, master)
- self.mainloop()
- root = Tk()
- root.wm_title("Janela Principal")
- j1 = Window(root)
- j1.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment