GLXCurses.TextView module¶
-
class
GLXCurses.TextView.
TextView
[source]¶ Bases:
GLXCurses.Container.Container
-
accept_tab
¶ Whether Tab will result in a tab character being entered.
Default value is
True
, and be restored whenaccept_tab
is set toNone
Returns: If True
Tab key will produce Tab charReturn type: bool
-
bottom_margin
¶ The bottom margin for text in the text view.
Returns: The bottom margin padding Return type: int
-
buffer
¶ The buffer which is displayed.
Returns: a buffer Return type: GLXCurses.TextBuffer
-
cursor_visible
¶ If the insertion cursor is shown.
Default value is
True
, and be restored whencursor_visible
is set toNone
Returns: If True
the cursor will be visibleReturn type: bool
-
editable
¶ Whether the text can be modified by the user.
Default value is
True
, and be restored wheneditable
is set toNone
Returns: If True
the text can be modifiedReturn type: bool
-
indent
¶ Amount to indent the paragraph, in chars.
Returns: indentation in chars Return type: int
-
input_hints
¶ Additional hints (beyond “
input_purpose
”) that allow input methods to fine-tune their behaviour.Returns: The right margin padding Return type: int
-
input_purpose
¶ The purpose of this text field.
This property can be used by on-screen keyboards and other input methods to adjust their behaviour.
Returns: The right margin padding Return type: int
-
justification
¶ Left, right, or center justification.
Returns: str Return type: GLXCurses.GLXC.Justification
-
left_margin
¶ The left margin for text in the text view.
Returns: The left margin padding Return type: int
-
overwrite
¶ Whether entered text overwrites existing contents.
Default value is
False
, and be restored whenoverwrite
is set toNone
Returns: If True
text overwrites existing contentsReturn type: bool
-
populate_all
¶
-
right_margin
¶ The right margin for text in the text view.
Returns: The right margin padding Return type: int
-
top_margin
¶ The top margin for text in the text view.
Returns: The top margin padding Return type: int
-
wrap_mode
¶
-