list_matching


Description:

public ListModel list_matching (string? group, string? language_id, string? trigger_prefix)

Queries the known snippets for those matching group, language_id, and/or trigger_prefix.

If any of these are null, they will be ignored when filtering the available snippets.

The [iface@Gio.ListModel] only contains information about the available snippets until [method@Gio.ListModel.get_item] is called for a specific snippet. This helps reduce the number of [class@GObject.Object]'s that are created at runtime to those needed by the calling application.

Parameters:

this

a SnippetManager

group

a group name or null

language_id

a id or null

trigger_prefix

a prefix for a trigger to activate

Returns:

a ListModel of Snippet.