【发布时间】:2023-02-14 06:18:34
【问题描述】:
我怎样才能得到定制任务栏tkinter 和customtkinter 中的图标?
我试过:
# Importing customtkinter as ctk
import customtkinter as ctk
# Creating the root window
root = ctk.CTk()
# Creating the root's title
root.title('test')
# Setting window icon
root.iconbitmap('C\MyDirecory\MyFolder\favicon.ico')
# How can I set the taskbar icon?
我尝试了PyCharm 给我的所有建议,但都没有用。
【问题讨论】:
标签: python tkinter customtkinter