gtk_tree_view_expand_to_path versus gtk_tree_view_expand_row
The gtk_tree_view_expand_to_path says:
Expands the row at path . This will also expand all parent rows of path as necessary.
The gtk_tree_view_expand_row says:
Opens the row so its children are visible.
open_all - whether to recursively expand, or just expand immediate children
The first can be avoided due to the second, it looks like there are two functions doing the same.
My problem is that the gtk_tree_view_expand_to_path sounds like "expand all parents, thus 'path' is visible" (from the expand **to** path
, instead of expand path
), even the description says something else. I do not know how much trouble that would cause, but I'd prefer to have the first work on parents only, while the second can be used as a replacement for those whom want different behavior.
Or, is there a third function one could be able to use, which is not named confusingly, please? I didn't notice any such, but I could just overlook it.