maliang.standard.texts¶
字数 441 个 代码 179 行 阅读时间 4 分钟 访问量
All standard Text
classes
🟢Information
¶
class
public
| Text
🟡append
¶
method
public
Text
🟡clear
¶
method
public
Text
🟡coords
¶
method
public
Element
🟡delete
¶
method
public
Text
value from the trail 🟡display
¶
method
public
Element
on a Canvas
🟡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 elementtext
: 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 characterslimit_width
: limit on the width of charactersshow
: display a value that obscures the original contentplaceholder
: a placeholder for the promptname
: name of elementgradient_animation
: Wether use animation to change colorkwargs
: extra parameters for CanvasItem
🟡_get_index
¶
method
protected
🟡_get_margin
¶
method
protected
🟡_is_overflow
¶
method
protected
🟡_move_left
¶
method
protected
🟡_move_right
¶
method
protected
🟡append
¶
method
public
🟡clear
¶
method
public
🟡coords
¶
method
public
Element
🟡cursor_move
¶
method
public
🟡cursor_move_to
¶
method
public
🟡display
¶
method
public
Element
on a Canvas
🟡get
¶
method
public
🟡insert
¶
method
public
🟡pop
¶
method
public
🟡remove
¶
method
public
🟡set
¶
method
public
🟢_CanvasTextProxy
¶
class
protected
| object
🟡__init__
¶
method
special
🟡_get_index
¶
method
protected
🟡append
¶
method
public
🟡clear
¶
method
public
🟡cursor_find
¶
method
public
🟡cursor_get
¶
method
public
🟡cursor_set
¶
method
public
🟡get
¶
method
public
🟡insert
¶
method
public
🟡length
¶
method
public
🟡pop
¶
method
public
🟡remove
¶
method
public
🟡select_all
¶
method
public
🟡select_clear
¶
method
public
🟡select_get
¶
method
public
🟡select_set
¶
method
public
🟡set
¶
method
public