MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / postToUiThread

Function postToUiThread

src/gui/main.cc:163–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163void postToUiThread(std::function<void()> callback)
164{
165 ExecEvent* event = new ExecEvent(false);
166 event->SetCallback(callback);
167 wxGetApp().QueueEvent(event);
168}
169
170wxIMPLEMENT_APP(FluxEngineApp);

Callers 1

EntryMethod · 0.85

Calls 1

SetCallbackMethod · 0.80

Tested by

no test coverage detected