Table of Contents

Class SnippetManager

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

Constructors

SnippetManager(bool, params ConstructArgument[])

protected SnippetManager(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

SnippetManager(IntPtr, bool)

protected SnippetManager(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

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[]