Mar-16-2019, 07:01 AM
(Mar-07-2019, 06:10 PM)Vicolas Wrote:Thanks Sir.(Mar-03-2019, 11:13 PM)joe_momma Wrote: You're really close- I made some changes to your callback: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.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)