Python Forum
[Tkinter] Toggling the Check button
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] Toggling the Check button
#5
(Mar-07-2019, 06:10 PM)Vicolas Wrote:
(Mar-03-2019, 11:13 PM)joe_momma Wrote: You're really close- I made some changes to your callback:
 def wrap_text(self): self.use = self.wrap.get() if self.use: self.text.config(wrap=WORD) self.wrap.set(0) else: self.text.config(wrap=NONE) self.wrap.set(1) 
Thank you very much for your reply. But is there a way I can also toggle (show/display) with tkinter x-scrollbar (Horizontal) on click of the 'Word wrap' submenu. Thanks again.
Thanks Sir.
Reply


Messages In This Thread
Toggling the Check button - by Vicolas - Mar-02-2019, 01:10 PM
RE: Toggling the Check button - by joe_momma - Mar-03-2019, 11:13 PM
RE: Toggling the Check button - by Vicolas - Mar-07-2019, 06:10 PM
RE: Toggling the Check button - by joe_momma - Mar-11-2019, 06:15 PM
RE: Toggling the Check button - by Vicolas - Mar-16-2019, 07:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PySimpleGui] How to alter mouse click button of a standard submit button? skyerosebud 3 5,042 Jul-21-2019, 06:02 PM
Last Post: FullOfHelp

Forum Jump:

User Panel Messages

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