True when this scope is open/active and its contents may be submitted. Call EndPopup() only when true; on false, skip both contents and the matching end.
This no-argument helper opens a context menu on right-button release over the
preceding item. It fixes str_id = null and popup_flags = 1, so the
preceding item must provide an ID.
Text(), call
BeginPopupContextItemEx(id, flags) with an explicit ID instead.Ex variant to configure the mouse button or other
ImGuiPopupFlags. These are popup flags, unlike the window flags accepted
by BeginPopup(); include the right-button flag when combining options for
right-click activation.EndPopup() only when the begin call
returns true.
Open and begin a context popup for the preceding item.