#๐Ÿ”’ Weird Window?

24 messages ยท Page 1 of 1 (latest)

gleaming wolf
#

I'm having trouble with this window that keeps appearing after creating an image how do I fix it? (python & message me if you would like to see the code)

stray summitBOT
#

@gleaming wolf

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

visual bramble
#

!paste can you send the code here?

stray summitBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

humble furnace
#

I just saw your message in this thread randomly

#

i miss you

gleaming wolf
warped lichen
gleaming wolf
#

oopsies

warped lichen
#

You have pass the root to Toplevel

self.drawing_window = tk.TopLevel(self.root)
#

Also dont destory it

#

Consider hiding it

gleaming wolf
#

how would I do that?

#

Sorry if Im being a nag I'm new

warped lichen
#

Use this instead of destory

self.root.withdraw()
#

You can then unhide it with this

self.root.deiconify()
#

If you want

gleaming wolf
#

where do I put this?

warped lichen
gleaming wolf
#

TYSM

stray summitBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.