Table of Contents

Class StyleSchemeManager

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

Constructors

StyleSchemeManager(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public StyleSchemeManager(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

StyleSchemeManager(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected StyleSchemeManager(CreationData data)

Parameters

data CreationData

StyleSchemeManager(StyleSchemeManagerHandle)

protected StyleSchemeManager(StyleSchemeManagerHandle handle)

Parameters

handle StyleSchemeManagerHandle

Fields

SchemeIdsPropertyDefinition

public static readonly Property<string[], StyleSchemeManager> SchemeIdsPropertyDefinition

Field Value

Property<string[], StyleSchemeManager>

SearchPathPropertyDefinition

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

Field Value

Property<string[], StyleSchemeManager>

Properties

SchemeIds

public string[] SchemeIds { get; }

Property Value

string[]

SearchPath

public string[] SearchPath { get; set; }

Property Value

string[]

Methods

AppendSearchPath(string)

public void AppendSearchPath(string path)

Parameters

path string

ForceRescan()

public void ForceRescan()

GetDefault()

public static StyleSchemeManager GetDefault()

Returns

StyleSchemeManager

GetGType()

public static Type GetGType()

Returns

Type

GetScheme(string)

public StyleScheme? GetScheme(string schemeId)

Parameters

schemeId string

Returns

StyleScheme

GetSchemeIds()

public string[]? GetSchemeIds()

Returns

string[]

GetSearchPath()

public string[] GetSearchPath()

Returns

string[]

New()

public static StyleSchemeManager New()

Returns

StyleSchemeManager

NewFromPointer(nint, bool)

Creates a new managed StyleSchemeManager instance for a given pointer.

public static StyleSchemeManager NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

StyleSchemeManager

NewWithProperties(ConstructArgument[])

Creates a new StyleSchemeManager and sets the properties specified by the construct arguments.

public static StyleSchemeManager NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

StyleSchemeManager

PrependSearchPath(string)

public void PrependSearchPath(string path)

Parameters

path string

SetSearchPath(string[]?)

public void SetSearchPath(string[]? path)

Parameters

path string[]