Color of seperator row in treeview

Is there any way to set the color in a treeview row_seperator_func?

The only way I can see is to set the color globally for the treeview with css, this then means I have reset the color for the renderers in the view

Is treeview.view.separator { color: ... } what you’re looking for?

Would this be in the CSS styles?
I cant see it referenced in the the docs for treeview, just this

“GtkTreeView has a main CSS node with name treeview and style class .view. It has a subnode with name header, which is the parent for all the column header widgets’ CSS nodes. For rubberband selection, a subnode with name rubberband is used.”

Yes, it’s not documented AFAIK. There’s also treeview.view.separator:backdrop, not sure what exactly that affects.

The :backdrop pseudo class is applied to all widgets when the corresponding toplevel window is not focused.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.