MCPcopy Create free account
hub / github.com/OpenSpace/OpenSpace / BeginPopupContextItem

Method BeginPopupContextItem

modules/imgui/ext/imgui/imgui.cpp:8280–8291  ·  view source on GitHub ↗

This is a helper to handle the simplest case of associating one named popup to one given widget. - You can pass a NULL str_id to use the identifier of the last item. - You may want to handle this on user side if you have specific needs (e.g. tweaking IsItemHovered() parameters). - This is essentially the same as calling OpenPopupOnItemClick() + BeginPopup() but written to avoid computing the ID tw

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

GetIDMethod · 0.80

Tested by

no test coverage detected