TTkTextWrap🌶️

class TTkTextWrap(document: TTkTextDocument = None)[source]🌶️

Bases: object

Methods🌶️

dataToScreenPosition(line, pos)[source]🌶️
disable()[source]🌶️
enable()[source]🌶️
normalizeScreenPosition(x, y)[source]🌶️

Return the widget position of the closest editable char in: x,y = widget relative position alignRightTab = if true, align the position to the right of the tab space return: x,y = widget relative position aligned to the close editable char

rewrap()[source]🌶️
screenToDataPosition(x, y)[source]🌶️
setDocument(document)[source]🌶️
setWordWrapMode(mode)[source]🌶️
setWrapWidth(width)[source]🌶️
size()[source]🌶️
wordWrapMode()[source]🌶️
wrapWidth()[source]🌶️

TTkTextWrap Attributes🌶️

wrapChanged