GLXCurses.EntryCompletion module

class GLXCurses.EntryCompletion.EntryCompletion[source]

Bases: GLXCurses.Object.Object

EntryCompletion — Completion functionality for GLXCurses.Entry

Properties

inline_completion

WDetermines whether the common prefix of the possible completions should be inserted automatically in the entry. Note that this requires text-column to be set, even if you are using a custom match function.

Type:bool
Flags:Read / Write
Default value:False
inline_selection

Determines whether the possible completions on the popup will appear in the entry as you navigate through them.

Type:bool
Flags:Read / Write
Default value:False
minimum_key_length

Minimum length of the search key in order to look up matches.

Type:bool
Flags:Read / Write
Allowed values:>= 0
Default value:1
model

The model to find matches in.

Type:TreeModel
Flags:Read / Write
popup_completion

Determines whether the possible completions should be shown in a popup window.

Type:bool
Flags:Read / Write
Default value:True
popup_single_match

Determines whether the completions popup window will shown for a single possible completion. You probably want to set this to False if you are using inline completion.

Type:bool
Flags:Read / Write
Default value:True
text_column

The column of the model containing the strings. Note that the strings must be UTF-8.

Type:int
Flags:Read / Write
Allowed values:>= -1
Default value:-1
new()[source]

Creates a new EntryCompletion object.

Returns:A new GLXCurse Entry Completion object
Return type:GLXCurse.EntryCompletion