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
boolconstructArguments
ConstructArgument[]
CssProvider(IntPtr, bool)
protected CssProvider(IntPtr ptr, bool ownedRef)
Parameters
Fields
ParsingErrorSignal
Signal Descriptor for OnParsingError.
public static readonly Signal<CssProvider, CssProvider.ParsingErrorSignalArgs> ParsingErrorSignal
Field Value
Methods
GetGType()
public static Type GetGType()
Returns
LoadFromBytes(Bytes)
[Version("4.12")]
public void LoadFromBytes(Bytes data)
Parameters
data
Bytes
LoadFromData(string, long)
public void LoadFromData(string data, long length)
Parameters
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
New()
public static CssProvider New()
Returns
ToString()
public string ToString()
Returns
Events
OnParsingError
public event SignalHandler<CssProvider, CssProvider.ParsingErrorSignalArgs> OnParsingError