mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
updated Readme
This commit is contained in:
@ -138,8 +138,6 @@ class App(tkinter.Tk):
|
||||
corner_radius=8)
|
||||
self.button_5.place(relx=0.66, rely=0.92, anchor=tkinter.CENTER)
|
||||
|
||||
|
||||
|
||||
self.progressbar.set(0.65)
|
||||
|
||||
def button_event(self):
|
||||
|
@ -1,8 +1,8 @@
|
||||
import tkinter
|
||||
import customtkinter # <- import the CustomTkinter module
|
||||
|
||||
#customtkinter.enable_macos_darkmode()
|
||||
#customtkinter.set_appearance_mode("System") # Other: "Dark", "Light"
|
||||
customtkinter.enable_macos_darkmode()
|
||||
customtkinter.set_appearance_mode("System") # Other: "Dark", "Light"
|
||||
|
||||
root_tk = tkinter.Tk() # create the Tk window like you normally do
|
||||
root_tk.geometry("400x240")
|
||||
|
@ -1,9 +1,9 @@
|
||||
import tkinter
|
||||
import customtkinter # <- import the CustomTkinter module
|
||||
#from PIL import Image, ImageTk # <- import PIL for the images
|
||||
from PIL import Image, ImageTk # <- import PIL for the images
|
||||
|
||||
#customtkinter.enable_macos_darkmode()
|
||||
#customtkinter.set_appearance_mode("System") # Other: "Dark", "Light"
|
||||
customtkinter.enable_macos_darkmode()
|
||||
customtkinter.set_appearance_mode("System") # Other: "Dark", "Light"
|
||||
|
||||
root_tk = tkinter.Tk() # create the Tk window like you normally do
|
||||
root_tk.geometry("400x240")
|
||||
|
Reference in New Issue
Block a user