Table of Contents

Field InjectGtkCss

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

Indicates whether custom GTK CSS should be injected during application startup.

public static bool InjectGtkCss

Returns

bool
Indicates whether custom GTK CSS should be injected during application startup.

Remarks

If set to true, the value of GtkCss will be applied to relevant GTK widgets using a GtkCssProvider. This allows for dynamic theming or visual customization of scrollbars, backgrounds, or other interface elements.

Important: This must be set before the application is created to have any effect.