tkintertools.standard.texts¶
字数 468 个 代码 145 行 阅读时间 3 分钟 访问量
All standard Text
classes
🟢Information
¶
class
public
| Text
🟡append
¶
method
public
Text
🟡clear
¶
method
public
Text
🟡coords
¶
method
public
🟡delete
¶
method
public
Text
value from the trail 🟡display
¶
method
public
🟡get
¶
method
public
Text
🟡set
¶
method
public
Text
🟢SingleLineText
¶
class
public
| Text
Single-line editable text
widget
: parent widgetrelative_position
: position relative to its widgetssize
: size of componenttext
: text valuefamily
: font familyfontsize
: font sizeweight
: weight of the fontslant
: slant of the fontunderline
: wether text is underlineoverstrike
: wether text is overstrikealign
: align mode of the textlimit
: limit on the number of charactersshow
: display a value that obscures the original contentplaceholder
: a placeholder for the promptname
: name of componentanimation
: Wether use animation to change colorstyles
: style dict of componentkwargs
: extra parameters for CanvasItem
🟡_move_left
¶
method
protected
🟡_move_right
¶
method
protected
🟡_text_delete
¶
method
protected
🟡_text_get
¶
method
protected
🟡_text_insert
¶
method
protected
🟡_text_length
¶
method
protected
🟡_text_overflow
¶
method
protected
🟡_text_set
¶
method
protected
🟡append
¶
method
public
🟡coords
¶
method
public
🟡cursor_find
¶
method
public
🟡cursor_get
¶
method
public
🟡cursor_move
¶
method
public
🟡cursor_move_to
¶
method
public
🟡cursor_set
¶
method
public
🟡delete
¶
method
public
🟡display
¶
method
public
🟡get
¶
method
public
🟡get_gap
¶
method
public
🟡insert
¶
method
public
🟡pop
¶
method
public
🟡select_all
¶
method
public
🟡select_clear
¶
method
public
🟡select_get
¶
method
public
🟡select_set
¶
method
public
🟡set
¶
method
public