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 [[email protected]] only contains information about the available snippets until [[email protected]_item] is called for a specific snippet. This helps reduce the number of [[email protected]]'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.




2022 vala-language.org