You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
697 B

import webview
from Config.settings import config
PROJECT = config.settings("Information", "PROJECT")
SERVER_HOST = config.settings("Server", "SERVER_HOST")
PORT = config.settings("Server", "PORT")
def gui():
url = "http://{}:{}/".format(SERVER_HOST, PORT)
webview.create_window(PROJECT,
url=url,
js_api=None,
width=900,
height=800,
resizable=True,
fullscreen=False,
min_size=(200, 200),
background_color='#FFF',
text_select=False)
webview.start()