Table of Contents

Class SnippetManager

Namespace
GtkSource
Assembly
GtkSource-5.dll
public class SnippetManager : Object, IDisposable, GTypeProvider, InstanceFactory
Inheritance
SnippetManager
Implements
Inherited Members

Constructors

SnippetManager(params ConstructArgument[])

public SnippetManager(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SnippetManager(SnippetManagerHandle)

public SnippetManager(SnippetManagerHandle handle)

Parameters

handle SnippetManagerHandle

Fields

SearchPathPropertyDefinition

public static readonly Property<string[], SnippetManager> SearchPathPropertyDefinition

Field Value

Property<string[], SnippetManager>

Properties

SearchPath

public string[] SearchPath { get; set; }

Property Value

string[]

Methods

GetDefault()

public static SnippetManager GetDefault()

Returns

SnippetManager

GetGType()

public static Type GetGType()

Returns

Type

GetSearchPath()

public string[] GetSearchPath()

Returns

string[]

GetSnippet(string?, string?, string)

public Snippet? GetSnippet(string? group, string? languageId, string trigger)

Parameters

group string
languageId string
trigger string

Returns

Snippet

ListAll()

[Version("5.6")]
public ListModel ListAll()

Returns

ListModel

ListGroups()

public string[] ListGroups()

Returns

string[]

ListMatching(string?, string?, string?)

public ListModel ListMatching(string? group, string? languageId, string? triggerPrefix)

Parameters

group string
languageId string
triggerPrefix string

Returns

ListModel

SetSearchPath(string[]?)

public void SetSearchPath(string[]? dirs)

Parameters

dirs string[]