KekLib.ReadOnlyText#
ReadOnlyText.py
copied from Readonly tkinter text widget https://stackoverflow.com/questions/21873195/readonly-tkinter-text-widget/21882093
- class CopyableLabel(parent, text, *args, **kwargs)#
Bases:
ReadOnlyText
Construct a text widget with the parent MASTER.
STANDARD OPTIONS
background, borderwidth, cursor, exportselection, font, foreground, highlightbackground, highlightcolor, highlightthickness, insertbackground, insertborderwidth, insertofftime, insertontime, insertwidth, padx, pady, relief, selectbackground, selectborderwidth, selectforeground, setgrid, takefocus, xscrollcommand, yscrollcommand,
WIDGET-SPECIFIC OPTIONS
autoseparators, height, maxundo, spacing1, spacing2, spacing3, state, tabs, undo, width, wrap,
- config(text=None, *args, **kwargs)#
Configure resources of a widget.
The values for resources are specified as keyword arguments. To get an overview about the allowed keyword arguments call the method keys.
- class ReadOnlyText(*args, **kwords)#
Bases:
Text
Construct a text widget with the parent MASTER.
STANDARD OPTIONS
background, borderwidth, cursor, exportselection, font, foreground, highlightbackground, highlightcolor, highlightthickness, insertbackground, insertborderwidth, insertofftime, insertontime, insertwidth, padx, pady, relief, selectbackground, selectborderwidth, selectforeground, setgrid, takefocus, xscrollcommand, yscrollcommand,
WIDGET-SPECIFIC OPTIONS
autoseparators, height, maxundo, spacing1, spacing2, spacing3, state, tabs, undo, width, wrap,
- init_tag()#
Just go through all binding for the Text widget. If the command is allowed, recopy it in the ROText binding table.
- tagInit = False#