Hello GUI

This commit is contained in:
poka 2020-11-15 07:27:51 +01:00
parent cf07310837
commit 2a1819e0f3
2 changed files with 28 additions and 0 deletions

27
pay-gui.py Executable file
View File

@ -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()

View File

@ -1,3 +1,4 @@
gql
duniterpy
termcolor
tkinter