Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Popup over Grid/Node? #185

@xahon

Description

@xahon

Popup doesn't show up with example imgui code

ImNodes::BeginNodeEditor(); // Or ImNodes::BeginNode(hardcoded_node_id);
// Below ImGui's demo code
if (ImGui::BeginPopupContextItem()) // <-- use last item id as popup id
{
    selected = n;
    ImGui::Text("This a popup for \"%s\"!", names[n]);
    if (ImGui::Button("Close"))
        ImGui::CloseCurrentPopup();
    ImGui::EndPopup();
}

I'm trying to bring in a context menu for convenient nodes creation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions