Treeview expansion behaviour setting

This is a small request to change how the Treeview expansion works.
Currently, clicking on an item will change the expansion state. That is not always desired - Some times you may want to just select the item [by clicking on it] without it changing the expanded state.
For example, the widgets in the widget hierarchy can be selected without changing their states.

My suggestion would be for the treeview widget to have an option - similar to the selection mode - that looks like:

Expansion Change:

  • On Click
  • On Double Click
  • None [manually call functions]