Adds a style class to context, so posterior calls to
Style.contextGet or any of the gtk_render_*()
functions will make use of this new class for styling.
In the CSS file format, a gtk.Entry defining a “search”
class, would be matched by:
|[ <!-- language="CSS" -->
entry.search { ... }
While any widget defining a “search” class would be
matched by:
|[ <!-- language="CSS" -->
.search { ... }
Adds a style class to context, so posterior calls to Style.contextGet or any of the gtk_render_*() functions will make use of this new class for styling.
In the CSS file format, a gtk.Entry defining a “search” class, would be matched by:
|[ <!-- language="CSS" --> entry.search { ... }