1

I'm writing a program using gtkmm-2.4 GUI package in Linux. How can I put horizontal lines as separators between rows of a TreeView?

1 Answer 1

3

You are looking for set_grid_lines:

someTreeView.set_grid_lines(Gtk::TREE_VIEW_GRID_LINES_HORIZONTAL);

The actual appearance of the lines is controlled by the current Gtk Theme.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.