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 when accept_tab is set to None

Returns:If True Tab key will produce Tab char
Return 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 when cursor_visible is set to None

Returns:If True the cursor will be visible
Return type:bool
editable

Whether the text can be modified by the user.

Default value is True, and be restored when editable is set to None

Returns:If True the text can be modified
Return 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 when overwrite is set to None

Returns:If True text overwrites existing contents
Return 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