Skip to content

Set open state of tree node #2958

Description

@dgregorius

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    treetree nodes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions