Packages
granite-7
Granite
Widgets
Utils
set_color_primary
Granite.Widgets.Utils
Description:
This namespace contains functions to apply CSS stylesheets to widgets.
Content:
Functions:
public
CssProvider
?
set_color_primary
(
Widget
window,
RGBA
color,
int
priority =
STYLE_PROVIDER_PRIORITY_APPLICATION
)
Applies colorPrimary property to the window. The colorPrimary property currently changes the color of the
Gtk.HeaderBar
and it's children so that the application window can have a so-called "brand color".