Class

PosCompleterPresage

Description [src]

final class Pos.CompleterPresage : Pos.CompleterBase
  implements Gio.Initable, Pos.Completer {
  /* No available fields */
}

A completer using presage.

Uses presage for completions.

Implements

Functions

pos_completer_presage_new
No description available.

Instance methods

Methods inherited from PosCompleterBase (5)
pos_completer_base_get_additional_results
No description available.

pos_completer_base_get_after_text
No description available.

pos_completer_base_get_before_text
No description available.

pos_completer_base_set_surrounding_text
No description available.

pos_completer_base_wants_punctuation_swap

Checks if the passed in symbol is a punctuation and before_text ends in a space. Completers can invoke this to figure out if they want to drop that trailing space.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GInitable (1)
g_initable_init

Initializes the object implementing the interface.

Methods inherited from PosCompleter (9)
pos_completer_feed_symbol

Feeds a symbol to be processed by the completer.

pos_completer_get_completions

Returns the current possible completions.

pos_completer_get_display_name

Get the completers display name.

pos_completer_get_name

Returns the completers name.

pos_completer_get_preedit

Returns the current preedit.

pos_completer_learn_accepted
No description available.

pos_completer_set_language

Let the completer pick a language based on the given language code and region. If an error occurs FALSE is returned and error set to the error.

pos_completer_set_preedit

Sets the current preedit. The preedit is the current word under completion.

pos_completer_set_surrounding_text

Set the text before and after the current cursor position. This can be used by the completer to improve the prediction.

Properties

Pos.CompleterPresage:dict-dir
No description available.

Properties inherited from PosCompleterBase (1)
Pos.CompleterBase:sources

Additional completion sources the completer should consult.

Properties inherited from PosCompleter (3)
PosCompleter:completions

The list of completions for a given preedit.

PosCompleter:name

The name of this completer.

PosCompleter:preedit

The preedit is not yet submitted text at the current cursor position.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Signals inherited from PosCompleter (2)
PosCompleter::commit-string

The completer wants the given text to be committed as is. This can happen when the completer encounters a word separating character (e.g. space). preedit will be set to empty in this case.

PosCompleter::update

The completer changed it’s preedit to the given string and wants the given number of bytes before and after the preedit removed.

Class structure

struct PosCompleterPresageClass {
  PosCompleterBaseClass parent_class;
  
}

No description available.

Class members
parent_class: PosCompleterBaseClass

No description available.