CustomTkinter icon indicating copy to clipboard operation
CustomTkinter copied to clipboard

Update ctk_textbox.py

Open Qwabena-Proxy opened this issue 2 years ago • 4 comments

Fixed

  • AttributeError ‘CTKTextbox’ has no attribute ‘delete’ *AttributeError ‘CTKTextbox’ has no attribute ‘get’

Qwabena-Proxy avatar Aug 13 '22 23:08 Qwabena-Proxy

Can not use get value from CTKTextbox

Barry-sze avatar Aug 16 '22 14:08 Barry-sze

Can not use get value from CTKTextbox

You can check the changes i made and then update your CTKTextbox and it will work

Qwabena-Proxy avatar Aug 18 '22 00:08 Qwabena-Proxy

Thanks a lot Qwabena !!!!!!!!!!!!!!!!!

sim2511 avatar Aug 22 '22 21:08 sim2511

Thanks a lot Qwabena !!!!!!!!!!!!!!!!!

You welcome 🙏🏽 🙂

Qwabena-Proxy avatar Aug 24 '22 10:08 Qwabena-Proxy

Would be nice to see this merged, while its not difficult to do:

text_box = CTkTextbox()
text_box.textbox.get()
text_box.textbox.delete('1.0', END)

Its unnecessarily verbose (more so depending on imports) and unintuitive as most individuals first reaction will be to treat the CTk widgets just like native Tk ones, parity here would be nice.

Evolution0 avatar Nov 08 '22 21:11 Evolution0

Already implemented in develop branch.

TomSchimansky avatar Nov 09 '22 10:11 TomSchimansky