문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top