mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
Update ctk_textbox.py
There were no options to delete and get the text. --Updated
This commit is contained in:
parent
06332a1061
commit
6c8fc8c5bd
@ -132,6 +132,13 @@ class CTkTextbox(CTkBaseClass):
|
||||
|
||||
def tag_remove(self, *args, **kwargs):
|
||||
return self.textbox.tag_remove(*args, **kwargs)
|
||||
|
||||
def delete(self, *args, **kwargs):
|
||||
self.textbox.delete(*args, **kwargs)
|
||||
|
||||
def get(self, index1, index2=None):
|
||||
"""Return the text from INDEX1 to INDEX2 (not included)."""
|
||||
return self.tk.call(self.textbox, 'get', index1, index2)
|
||||
|
||||
def configure(self, require_redraw=False, **kwargs):
|
||||
if "fg_color" in kwargs:
|
||||
|
Loading…
x
Reference in New Issue
Block a user