title image
This commit is contained in:
parent
b8ee32ada1
commit
a1d505da02
15
Main.py
15
Main.py
@ -5,6 +5,8 @@ import configparser
|
|||||||
import Backend
|
import Backend
|
||||||
import customtkinter
|
import customtkinter
|
||||||
from customtkinter import *
|
from customtkinter import *
|
||||||
|
import PIL
|
||||||
|
from PIL import Image
|
||||||
|
|
||||||
# Initialize a configparser object for managing the configuration file
|
# Initialize a configparser object for managing the configuration file
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
@ -56,15 +58,22 @@ def main():
|
|||||||
set_appearance_mode("dark")
|
set_appearance_mode("dark")
|
||||||
set_default_color_theme("blue")
|
set_default_color_theme("blue")
|
||||||
|
|
||||||
# Tabs to seperate options from launching the game
|
|
||||||
|
|
||||||
guitabs = CTkTabview(master=app, border_width=4, border_color="#0000FF")
|
|
||||||
guitabs.pack(expand=True, fill='both', padx=0, pady=0)
|
# Tabs to seperate options from launching the game
|
||||||
|
|
||||||
|
guitabs = CTkTabview(master=app, bg_color="transparent")
|
||||||
|
guitabs.pack(expand=True, fill='x', side="bottom", padx=0, pady=(20,0))
|
||||||
|
|
||||||
|
|
||||||
guitabs.add("Launcher")
|
guitabs.add("Launcher")
|
||||||
guitabs.add("Options")
|
guitabs.add("Options")
|
||||||
|
|
||||||
|
#Title image
|
||||||
|
|
||||||
|
titleimage = Image.open("Title.png")
|
||||||
|
titlelabel = CTkLabel(master=app, text="", image=CTkImage(titleimage, size=(400, 150)))
|
||||||
|
titlelabel.pack(expand=True, padx=0, pady=0)
|
||||||
|
|
||||||
#root.title("Select Prism Instance Path")
|
#root.title("Select Prism Instance Path")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user