Dazzle.SuggestionEntryBuffer¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
The suggestion currently selected |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Dazzle.SuggestionEntryBuffer(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- clear()¶
- commit()¶
- get_suggestion()¶
- Returns:
An
Dazzle.Suggestion
orNone
.- Return type:
Gets the
Dazzle.Suggestion
that is the current “preview suffix” of the text in the entry.
- set_suggestion(suggestion)¶
- Parameters:
suggestion (
Dazzle.Suggestion
orNone
) – AnDazzle.Suggestion
orNone
Sets the current suggestion for the entry buffer.
The suggestion is used to get a potential suffix for the current entry text. This allows the entry to show “preview text” after the entered text for what might be inserted should they activate the current item.
Property Details¶
- Dazzle.SuggestionEntryBuffer.props.suggestion¶
- Name:
suggestion
- Type:
- Default Value:
- Flags:
The suggestion currently selected