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

Function puglNewViewWithTransientParent

dgl/src/WindowPrivateData.cpp:73–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73static PuglView* puglNewViewWithTransientParent(PuglWorld* const world, PuglView* const transientParentView)
74{
75 if (world == nullptr)
76 return nullptr;
77
78 if (PuglView* const view = puglNewView(world))
79 {
80 puglSetTransientParent(view, puglGetNativeView(transientParentView));
81 return view;
82 }
83
84 return nullptr;
85}
86
87static PuglView* puglNewViewWithParentWindow(PuglWorld* const world, const uintptr_t parentWindowHandle)
88{

Callers 1

PrivateDataMethod · 0.85

Calls 2

puglSetTransientParentFunction · 0.50
puglGetNativeViewFunction · 0.50

Tested by

no test coverage detected