How to change button state by code? #171
Answered
by
RobinsonLaw
RobinsonLaw
asked this question in
Q&A
Replies: 2 comments
-
Hello @RobinsonLaw thanks for trying pygubu. You can change button state with: self.button_start.configure(state="disabled") Buttons from ttk can be in "normal" or "disabled" state. Regards |
Beta Was this translation helpful? Give feedback.
0 replies
-
thank you I got it
Alejandro Autalán ***@***.***> 於 2022年12月4日週日 上午7:13寫道:
… Hello @RobinsonLaw <https://github.com/RobinsonLaw> thanks for trying
pygubu.
You can change button state with:
self.button_start.configure(state="disabled")
Buttons from ttk can be in "normal" or "disabled" state.
Regards
Alejandro A.
—
Reply to this email directly, view it on GitHub
<#171 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD427NEG2UHR7UMOEVKHUE3WLPHY5ANCNFSM6AAAAAASSVY7SM>
.
You are receiving this because you were mentioned.Message ID:
<alejandroautalan/pygubu-designer/repo-discussions/171/comments/4301329@
github.com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RobinsonLaw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
for example not success
self.button_start.config(state="DISABLE")
Beta Was this translation helpful? Give feedback.
All reactions