Class

DevhelpCompletion

Description

class Devhelp.Completion : GObject.Object {
  parent: GObject,
  priv: DhCompletionPrivate*
}
No description available.

Hierarchy

hierarchy this DhCompletion ancestor_0 GObject ancestor_0--this

Ancestors

  • GObject

Constructors

dh_completion_new
No description available.

Available since: 3.28

Instance methods

dh_completion_add_string

Adds a string to the completion object.

Available since: 3.28

dh_completion_complete

This function does the equivalent of: 1. Searches the data structure of completion to find all strings that have prefix as prefix. 2. From the list found at step 1, find the longest prefix that still matches all the strings in the list.

Available since: 3.28

dh_completion_sort

Sorts all the strings. It is required to call this function after adding strings with dh_completion_add_string().

Available since: 3.28

Class structure

struct DevhelpCompletionClass {
  GObjectClass parent_class;
  None padding;
  
}
Class members
parent_class
GObjectClass
  No description available.
padding
None
  No description available.

Functions

dh_completion_aggregate_complete

The same as dh_completion_complete(), but aggregated for several DhCompletion objects.

Available since: 3.28