set_expanded


Description:

public void set_expanded (bool expanded)

Expands or collapses a row.

If a row is expanded, the model of calling the [callback@Gtk.TreeListModelCreateModelFunc] for the row's item will be inserted after this row. If a row is collapsed, those items will be removed from the model.

If the row is not expandable, this function does nothing.

Parameters:

this

a `GtkTreeListRow`

expanded

true if the row should be expanded