Method

GtkEntryCompletionget_completion_prefix

since: 2.12

Declaration [src]

const gchar*
gtk_entry_completion_get_completion_prefix (
  GtkEntryCompletion* completion
)

Description [src]

Get the original text entered by the user that triggered the completion or NULL if there’s no completion ongoing.

Available since: 2.12

Return value

Type: const gchar*

The prefix for the current completion.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.