
Removing the TK icon on a Tkinter window - Stack Overflow
Oct 5, 2020 · On Windows Step One: Create a transparent icon using either an icon editor, or a site like rw-designer. Save it as transparent.ico. Step Two: from tkinter import * tk = Tk() tk.iconbitmap(default='transparent.ico') lab = Label(tk, text='Window with transparent icon.') lab.pack() tk.mainloop() On Unix Something similar, but using an xbm icon.
python - Replace text/image of Tkinter logo - Stack Overflow
I have a question regarding the Tkinter logo which appears in the top left corner of the Tk window. I would like to know how to change the name, and eventually replace the whole thing with an alte...
How can change the logo of Tkinter GUI screen - Stack Overflow
Jul 4, 2023 · I was trying to change the Logo of my Python Tkinter GUI, as right now it is displayed as "Tk" at top left corner. Can somebody please tell me how to change this and please write something custom names?
Changing the default tkinter logo (python 2.7, windows)
Sep 16, 2014 · Ok, so I tried this on python 3, windows, (obviously changing Tkinter to tkinter) and everything worked fine. Maybe the computer you are on has something to do with it.
How to replace the icon in a Tkinter app? - Stack Overflow
Oct 15, 2015 · If you haven't an icon.ico file you can use an ImageTk.PhotoImage(ico) and wm_iconphoto. import tkinter as tk from PIL import Image, ImageTk root = tk.Tk() ico = Image.open('test.jpg') photo = ImageTk.PhotoImage(ico) root.wm_iconphoto(False, photo) root.mainloop() Note: If default is True, this is applied to all future created toplevels as well. The data in the images is taken as a snapshot at ...
Не отображается Label в окне в Python (tkinter)
Feb 23, 2023 · Возникла проблема с динамическим отображением метки Label в окне библиотеки tkinter в Python. За отображение и уничтожение метки отвечают методы: create_waiting и destroy_waiting. Код: import tkint...
Icono para ventanas con TopLevel - Stack Overflow en español
Voy a intentar completar la respuesta de ChemaCortes a raiz de los comentarios. En Python 3 efectivamente lo más simple es quizás usar el método iconphoto o wm_iconphoto, que poseen tanto tkinter.Tk como tkinter.Toplevel: Usar la imagen para el icono de la ventana principal y para todas sus hijas (default=True): self.wm_iconphoto(True, self.img_logo) Usar la imagen solo para el icono de la ...
No logro cargar una imagen en Label - Stack Overflow en español
Estoy intentando cargar una imagen en una ventana con Tkinter lo cual puse este código que he visto en algunos tutoriales, cuando corro el programa me sale una ventana en blanco. Por lo que he est...
Ícone na parte superior de uma janela - Stack Overflow em …
Dec 1, 2017 · Preciso altera o ícone no canto esquerdo de uma janela que criei, o código que tenho como exemplo é o seguinte, mas não funciona: objeto.tk.call("icone.ico"); Como posso fazer?
Como mostrar uma imagem no tkinter? - Stack Overflow em …
Jun 18, 2019 · vejo dois erros O primeiro esta aqui self.imagem['image'] = ImageTk.PhotoImage(Image.open("bola.jpg")) oq acontece é que ImageTk.PhotoImage esta sendo pego pelo coletor de lixo, a solução é passar a referancia com variavel self.amostra = ImageTk.PhotoImage(Image.open("bola.jpg")) self.imagem['image'] = self.amostra O segundo erro é o mesmo o coletor esta pegando a chamada da classe ...