Update main2.py
This commit is contained in:
parent
6dacce4b9a
commit
93cf6c9a83
6
main2.py
6
main2.py
@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from tkinter import *
|
from tkinter import *
|
||||||
|
import webbrowser
|
||||||
from tkinter import messagebox
|
from tkinter import messagebox
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
@ -8,6 +9,9 @@ class FLOappStore:
|
|||||||
def __init__(self, root):
|
def __init__(self, root):
|
||||||
self.root = root
|
self.root = root
|
||||||
|
|
||||||
|
def medici(self):
|
||||||
|
webbrowser.open("https://www.mediciventures.com/",new=1)
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
self.MainFrame = Frame(self.root, height=1000,width=500)
|
self.MainFrame = Frame(self.root, height=1000,width=500)
|
||||||
self.MainFrame.pack()
|
self.MainFrame.pack()
|
||||||
@ -17,7 +21,7 @@ class FLOappStore:
|
|||||||
button1 = Button(self.MainFrame,image = self.img1,width="187",height="186",command=lambda:self.execute('apps/FLO-Shared-Secret/FLO_Secret'))
|
button1 = Button(self.MainFrame,image = self.img1,width="187",height="186",command=lambda:self.execute('apps/FLO-Shared-Secret/FLO_Secret'))
|
||||||
button1.grid(row=2,column=1)
|
button1.grid(row=2,column=1)
|
||||||
self.img2 = PhotoImage(file="Logos/Medici.png")
|
self.img2 = PhotoImage(file="Logos/Medici.png")
|
||||||
button2 = Button(self.MainFrame, image=self.img2, width="187", height="186",command=lambda: self.execute('apps/FLO-Shared-Secret/FLO_Secret'))
|
button2 = Button(self.MainFrame, image=self.img2, width="187", height="186",command=self.medici)
|
||||||
button2.grid(row=2, column=2)
|
button2.grid(row=2, column=2)
|
||||||
|
|
||||||
def execute(self,f):
|
def execute(self,f):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user