MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / GetClipboardText

Method GetClipboardText

include/imgui/imgui.cpp:5157–5161  ·  view source on GitHub ↗

A conformant backend should return NULL on failure (e.g. clipboard data is not text).

Source from the content-addressed store, hash-verified

5155
5156// A conformant backend should return NULL on failure (e.g. clipboard data is not text).
5157const char* ImGui::GetClipboardText()
5158{
5159 ImGuiContext& g = *GImGui;
5160 return g.PlatformIO.Platform_GetClipboardTextFn ? g.PlatformIO.Platform_GetClipboardTextFn(&g) : NULL;
5161}
5162
5163void ImGui::SetClipboardText(const char* text)
5164{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected