Python Forum
Tkinter - Issues with "iconbitmap" method
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tkinter - Issues with "iconbitmap" method
#4
(May-20-2020, 08:40 PM)Larz60+ Wrote: you can make root window hidden with parent.withdraw()
should be able to add it right after line 9
to bring back again, use parent.deiconify()

yeah, but they are already configured after the line 9.


(May-21-2020, 07:33 AM)deanhystad Wrote: Calling parent.withdraw() before creating the first or second window places the new window at the top. The other order of create then withdraw probably should leave the newly created window on top, but since this window loses focus when you call the parent window, who gets focus is completely up to the window manager.

Very strange that a window decoration has this subtle effect.

you are right, if I call "parent.withdraw()" before to create the new window, I solve the issue but.. I know, probably we are talking about some milliseconds, but this solution makes me to see always the main window closes and the second one appears. before, the process seemed faster, now opening a new window seems slower and I don't like it.
Reply


Messages In This Thread
RE: Tkinter - Issues with "iconbitmap" method - by aquerci - May-21-2020, 09:46 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  tkinter -- after() method and return from function -- (python 3) Nick_tkinter 12 470 Feb-20-2021, 10:26 PM
Last Post: Nick_tkinter
  Tkinter menu font size -method to change tonycat 2 1,221 Oct-11-2020, 02:43 AM
Last Post: tonycat
  tkinter get method is not accepting value when called by function jagasrik 1 403 Sep-16-2020, 05:28 AM
Last Post: Yoriz
  tkinter get method is not accepting value jagasrik 4 421 Sep-15-2020, 05:41 PM
Last Post: jagasrik
  Tkinter Listbox tab char issues ashtona 4 2,427 Mar-27-2018, 12:28 PM
Last Post: ashtona
  Widget placement issues with tkinter grid thread 1 mgtheboss 2 2,616 Jan-09-2018, 03:59 PM
Last Post: SmokerX
  Help with tkinter Button and Label interaction issues ... sealyons 0 3,207 Jun-01-2017, 06:58 PM
Last Post: sealyons

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020