Is there a way to get to the state of a tree node and force it to open?
I am implementing a simple file explorer in ImGui (think Unity Project Widget). When I double click on a folder in the file view I need to change the state of the directory tree. What is the recommended way to do this? ImGui::SetNextItemOpen() does not help here. I also would very much prefer to NOT maintain my own tree state as this seems redundant and error prone.
Is there a way to get to the state of a tree node and force it to open?
I am implementing a simple file explorer in ImGui (think Unity Project Widget). When I double click on a folder in the file view I need to change the state of the directory tree. What is the recommended way to do this? ImGui::SetNextItemOpen() does not help here. I also would very much prefer to NOT maintain my own tree state as this seems redundant and error prone.