How to set border-color on button click? #309
gauravguptabits
started this conversation in
General
Replies: 2 comments
-
Found the solution for it
This function repaints the button with updated configuration |
Beta Was this translation helpful? Give feedback.
0 replies
-
You shouldn't use the draw by yourself. I consider this a private method and I will indicate this by renaming it to _draw soo. But if you want to change the border_color or the border_width, you would use the configure method: self.start_stream_btn.configure(border_color=new_color, border_width=new_width) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a set of buttons in my UI, I would like to set the border-color of button when clicked and border-color of other button need to be unset as well.
Example
My current implementation looks like following:
Beta Was this translation helpful? Give feedback.
All reactions