Pawan Sharma
Pawan Sharma

Reputation: 2342

Cell Boundary Gtk Treeview Python

I want to have a cell boundary like this:

this

But what Gtk Treeview gives me is this:

this

Is there any way I can achieve this in Gtk3 Python ?

Upvotes: 2

Views: 373

Answers (1)

José Fonte
José Fonte

Reputation: 4104

You can use the TreeView set_grid_lines method set as both.

Example:

treeview.set_grid_lines(Gtk.TreeViewGridLines.BOTH)

Upvotes: 2

Related Questions