[+] frames.col_console example
This commit is contained in:
parent
61f2bc6c98
commit
30bacb0dce
18
examples/frames/colored_console.py
Normal file
18
examples/frames/colored_console.py
Normal file
@ -0,0 +1,18 @@
|
||||
from customtkinter import CTk
|
||||
|
||||
from frames import CTkColoredConsoleFrame
|
||||
|
||||
app = CTk()
|
||||
app.title("CTkColoredConsoleFrame")
|
||||
app.geometry("400x300")
|
||||
app.configure(bg='white')
|
||||
|
||||
con = CTkColoredConsoleFrame(app)
|
||||
con.pack(fill='both', expand=True)
|
||||
con.debug("Debug message")
|
||||
con.error("Error message")
|
||||
con.warning("Warning message")
|
||||
con.info("Info message")
|
||||
con.success("Success message")
|
||||
|
||||
app.mainloop()
|
Loading…
x
Reference in New Issue
Block a user