Hello GUI
This commit is contained in:
parent
cf07310837
commit
2a1819e0f3
|
@ -0,0 +1,27 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from tkinter import *
|
||||
import pay
|
||||
|
||||
window = Tk()
|
||||
|
||||
title = Label(window, text="Paiement Ḡ1")
|
||||
title.pack()
|
||||
|
||||
# Issuer input
|
||||
issuer = StringVar()
|
||||
xIssuer = Entry(window, textvariable=issuer, width=30)
|
||||
xIssuer.pack()
|
||||
|
||||
# Comment input
|
||||
comment = StringVar()
|
||||
xComment = Entry(window, textvariable=comment, width=30)
|
||||
xComment.pack()
|
||||
|
||||
def ProceedPaiement():
|
||||
print("Paiement en cours ...")
|
||||
|
||||
sendButton = Button(window, text="Envoyer", command=ProceedPaiement)
|
||||
sendButton.pack()
|
||||
|
||||
window.mainloop()
|
|
@ -1,3 +1,4 @@
|
|||
gql
|
||||
duniterpy
|
||||
termcolor
|
||||
tkinter
|
||||
|
|
Reference in New Issue