pythonuser-interfacegtk3cellrenderer

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 ?


Solution

  • You can use the TreeView set_grid_lines method set as both.

    Example:

    treeview.set_grid_lines(Gtk.TreeViewGridLines.BOTH)