Package: gtk
Function gtk-style-context-add-region
Lambda Listgtk-style-context-add-region (context regionname flags) ArgumentsDetails
Adds a region to the style context, so posterior calls to the gtk-style-context-property function or any of the gtk-render-*
functions will make use of this new region for styling. ExampleGtkTreeView row { ... }Pseudo-classes are used for matching flags, so the two following rules would apply to even and odd rows, respectively. GtkTreeView row:nth-child(even) { ... } GtkTreeView row:nth-child(odd) { ... } NoteWarning | See also |
2021-11-26