Signal_test_expand_row and signal_test_collapse_row usage example

I have a treeView which contains four rows.

I am inserting children into 1st row of the treeView.

treeviewConfusion

I want two functionalities

  1. Expand the treeview row when I add a child.
    Example: 1st Row I add children
    I saw documentation of the Gtk::TreeView which has a signal signal_test_expand_row
    I couldn’t find any example online on how to use it.
    How do I use it to select the 1st Row or any other row

  2. Highlight the latest child that was inserted into the row. How to I do it?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.