Пользовательский значок панели задач в tkinter и customtkinterPython

Программы на Python
Anonymous
Пользовательский значок панели задач в tkinter и customtkinter

Сообщение Anonymous »

Как я могу получить собственный значок панели задач в 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, но ни одно не помогло.

Подробнее здесь: https://stackoverflow.com/questions/751 ... tomtkinter

Вернуться в «Python»