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
constructArgumentsConstructArgument[]
StyleSchemeManager(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected StyleSchemeManager(CreationData data)
Parameters
dataCreationData
StyleSchemeManager(StyleSchemeManagerHandle)
protected StyleSchemeManager(StyleSchemeManagerHandle handle)
Parameters
handleStyleSchemeManagerHandle
Fields
SchemeIdsPropertyDefinition
public static readonly Property<string[], StyleSchemeManager> SchemeIdsPropertyDefinition
Field Value
SearchPathPropertyDefinition
public static readonly Property<string[], StyleSchemeManager> SearchPathPropertyDefinition
Field Value
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
pathstring
ForceRescan()
public void ForceRescan()
GetDefault()
public static StyleSchemeManager GetDefault()
Returns
GetGType()
public static Type GetGType()
Returns
GetScheme(string)
public StyleScheme? GetScheme(string schemeId)
Parameters
schemeIdstring
Returns
GetSchemeIds()
public string[]? GetSchemeIds()
Returns
- string[]
GetSearchPath()
public string[] GetSearchPath()
Returns
- string[]
New()
public static StyleSchemeManager New()
Returns
NewFromPointer(nint, bool)
Creates a new managed StyleSchemeManager instance for a given pointer.
public static StyleSchemeManager NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new StyleSchemeManager and sets the properties specified by the construct arguments.
public static StyleSchemeManager NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
PrependSearchPath(string)
public void PrependSearchPath(string path)
Parameters
pathstring
SetSearchPath(string[]?)
public void SetSearchPath(string[]? path)
Parameters
pathstring[]