Signal

Gtk.TreeView::test-collapse-row

Declaration

gboolean
test_collapse_row (
  GtkTreeView self,
  GtkTreeIter* iter,
  GtkTreePath* path,
  gpointer user_data
)

Description [src]

The given row is about to be collapsed (hide its children nodes). Use this signal if you need to control the collapsibility of individual rows.

Default handler:

The default handler is called after the handlers added via g_signal_connect()

Parameters

iter GtkTreeIter
 

the tree iter of the row to collapse

 Ownership is not transferred to the callee
path GtkTreePath
 

a tree path that points to the row

 Ownership is not transferred to the callee

Return value

Returns: gboolean

FALSE to allow collapsing, TRUE to reject