| 3096 | } |
| 3097 | |
| 3098 | bool ImGui::TableBeginContextMenuPopup(ImGuiTable* table) |
| 3099 | { |
| 3100 | if (!table->IsContextPopupOpen || table->InstanceCurrent != table->InstanceInteracted) |
| 3101 | return false; |
| 3102 | const ImGuiID context_menu_id = ImHashStr("##ContextMenu", 0, table->ID); |
| 3103 | if (BeginPopupEx(context_menu_id, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings)) |
| 3104 | return true; |
| 3105 | table->IsContextPopupOpen = false; |
| 3106 | return false; |
| 3107 | } |
| 3108 | |
| 3109 | // Output context menu into current window (generally a popup) |
| 3110 | // FIXME-TABLE: Ideally this should be writable by the user. Full programmatic access to that data? |
nothing calls this directly
no test coverage detected