In Gtk4, is it possible to apply an specific style on treeview rows depending if are odd or even ?
If so, could you point out the appopiate CSS node and selectors (maybe something like :nth-child(odd) and :nth-child(even) ?
In Gtk4, is it possible to apply an specific style on treeview rows depending if are odd or even ?
If so, could you point out the appopiate CSS node and selectors (maybe something like :nth-child(odd) and :nth-child(even) ?
TreeView cells are not widgets, so they don’t support nth-child
selectors.
The recommendation is to use one of the new list view widgets instead of GtkTreeView
.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.