Table of Contents

Class CssProvider

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class CssProvider : Object, IObject, INotifyPropertyChanged, IDisposable, StyleProvider, IHandle, GTypeProvider
Inheritance
CssProvider
Implements
Inherited Members

Constructors

CssProvider(bool, params ConstructArgument[])

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

Parameters

owned bool
constructArguments ConstructArgument[]

CssProvider(IntPtr, bool)

protected CssProvider(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ParsingErrorSignal

Signal Descriptor for OnParsingError.

public static readonly Signal<CssProvider, CssProvider.ParsingErrorSignalArgs> ParsingErrorSignal

Field Value

Signal<CssProvider, CssProvider.ParsingErrorSignalArgs>

Methods

GetGType()

public static Type GetGType()

Returns

Type

LoadFromBytes(Bytes)

[Version("4.12")]
public void LoadFromBytes(Bytes data)

Parameters

data Bytes

LoadFromData(string, long)

public void LoadFromData(string data, long length)

Parameters

data string
length long

LoadFromFile(File)

public void LoadFromFile(File file)

Parameters

file File

LoadFromPath(string)

public void LoadFromPath(string path)

Parameters

path string

LoadFromResource(string)

public void LoadFromResource(string resourcePath)

Parameters

resourcePath string

LoadFromString(string)

[Version("4.12")]
public void LoadFromString(string @string)

Parameters

string string

LoadNamed(string, string?)

public void LoadNamed(string name, string? variant)

Parameters

name string
variant string

New()

public static CssProvider New()

Returns

CssProvider

ToString()

public string ToString()

Returns

string

Events

OnParsingError

public event SignalHandler<CssProvider, CssProvider.ParsingErrorSignalArgs> OnParsingError

Event Type

SignalHandler<CssProvider, CssProvider.ParsingErrorSignalArgs>