mirror of
https://github.com/bytedream/aion.git
synced 2025-05-10 12:25:08 +02:00
22 lines
508 B
Python
22 lines
508 B
Python
from tkinter import *
|
|
|
|
root = Tk()
|
|
frame = Frame(root)
|
|
frame.pack()
|
|
|
|
bottomframe = Frame(root)
|
|
bottomframe.pack( side = BOTTOM )
|
|
|
|
redbutton = Button(frame, text="Red", fg="red")
|
|
redbutton.pack( side = LEFT)
|
|
|
|
greenbutton = Button(frame, text="green", fg="green")
|
|
greenbutton.pack( side = LEFT )
|
|
|
|
bluebutton = Button(frame, text="Blue", fg="blue")
|
|
bluebutton.pack( side = LEFT )
|
|
|
|
blackbutton = Button(bottomframe, text="Black", fg="black")
|
|
blackbutton.pack( side = BOTTOM)
|
|
|
|
root.mainloop() |