Open rtommy opened 1 month ago
@rtommy
Try this:
self.textbox._textbox.cget("spacing1")
@rtommy Try this:
self.textbox._textbox.cget("spacing1")
Yes, I know that works. That’s why I could propose an idea what to change in cget().
It would be more practical if we didn’t need to consider adding _textbox
…
There are multiple arguments which cannot be fetched with
.cget()
for a CTkTextbox.For example:
spacing1
,spacing2
,spacing3
,state
, etc. (I have not checked all)Using
self.textbox.cget()
does not work for all attributes, some of them needself.textbox._textbox.cget()
instead.The
cget()
ofCTkTextbox class
inctk_textbox.py
would require an update I assume.