| 3042 | } |
| 3043 | |
| 3044 | bool ImGui::TableBeginContextMenuPopup(ImGuiTable* table) |
| 3045 | { |
| 3046 | if (!table->IsContextPopupOpen || table->InstanceCurrent != table->InstanceInteracted) |
| 3047 | return false; |
| 3048 | const ImGuiID context_menu_id = ImHashStr("##ContextMenu", 0, table->ID); |
| 3049 | if (BeginPopupEx(context_menu_id, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings)) |
| 3050 | return true; |
| 3051 | table->IsContextPopupOpen = false; |
| 3052 | return false; |
| 3053 | } |
| 3054 | |
| 3055 | // Output context menu into current window (generally a popup) |
| 3056 | // FIXME-TABLE: Ideally this should be writable by the user. Full programmatic access to that data? |
nothing calls this directly
no test coverage detected