MCPcopy Create free account
hub / github.com/DISTRHO/DPF / setParent

Method setParent

distrho/src/DistrhoPluginCLAP.cpp:409–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407 }
408
409 bool setParent(const clap_window_t* const window)
410 {
411 if (fIsFloating)
412 return false;
413
414 fParentWindow = window->uptr;
415
416 if (fUI == nullptr)
417 {
418 createUI();
419 fHostGui->resize_hints_changed(fHost);
420 }
421
422 return true;
423 }
424
425 bool setTransient(const clap_window_t* const window)
426 {

Callers 1

clap_gui_set_parentFunction · 0.80

Calls 1

createUIFunction · 0.50

Tested by

no test coverage detected