Method

LspCompletionItemset_label

Declaration

void
lsp_completion_item_set_label (
  LspCompletionItem* self,
  const gchar* value
)

Description

Sets the value of label.

The label of this completion item.

The label property is also by default the text that is inserted when selecting this completion.

If label details are provided, the label itself should be an unqualified name of the completion item.

Parameters

value

Type: const gchar*

The new value of label.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.