StyleContext.addClass

Adds a style class to context, so posterior calls to gtk_style_context_get() or any of the gtk_render_*() functions will make use of this new class for styling. In the CSS file format, a GtkEntry defining an "entry"

class StyleContext
void
addClass
(
string className
)

Parameters

className string

class name to use in styling Since 3.0

Meta