#๐Ÿ”’ Tkinter border when a button is clicked

19 messages ยท Page 1 of 1 (latest)

zenith minnowBOT
#

@shrewd yacht

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.

regal ice
#

set the bg of the button to the same color as the bg around it

#

yuppp tkinter's really stupid like that

#

for some reason there's no image widget

#

like ??

#

also for ur clicking problem i believe u can set the button's relief setting to tk.FLAT or something like that

#

waiiit no that's not for clicking

#

wait i think it is

#

try it out

#

as in u get an error or it just breaks the button?

#

okay try out tk.SOLID

#

oh i see it's not supposed to have tk.
just do relief=SUNKEN or relief=SOLID either one (hopefully) will work

#

if that doesn't work then sorry ๐Ÿ˜ญ

#

noiiceee!!! no problem at all

#

btw i hope ur development using tkinter goes well - i've suffered w it for ages but using stupid tricks like that i've gotten by, so im a fan of it ๐Ÿ˜…
have a good one and if u ever need help w tkinter, dm me

#

ohhh i see lmao ๐Ÿ˜‚

#

you too!

zenith minnowBOT
#
Python help channel closed

This help channel has been closed. 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.