+ fun
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from gui.utils import nassi, output
|
||||
import PySimpleGUI as sg
|
||||
import os.path
|
||||
import random
|
||||
|
||||
def gui():
|
||||
#sg.theme_previewer()
|
||||
@@ -58,6 +59,9 @@ def gui():
|
||||
if event == 'Exit' or event == sg.WIN_CLOSED:
|
||||
break
|
||||
|
||||
if event == '-DONATE-':
|
||||
sg.popup_annoying(('You donated $'+ str(random.randint(0, 1000000000000000)) + '.') , title='Error')
|
||||
|
||||
if event == '-OUTPUT FOLDER-':
|
||||
fnames = output(values)
|
||||
window['-OUTPUT FILE LIST-'].update(fnames)
|
||||
|
||||
Reference in New Issue
Block a user