|
open_iA 2025.6
|
Class used for accessing an existing or creating a new child window as needed. More...
#include <iAMainWindow.h>
Public Member Functions | |
| iAChildSource (bool newWindow, iAMdiChild *child) | |
| iAMdiChild * | child (iAMainWindow *mainWin) |
Static Public Member Functions | |
| static std::shared_ptr< iAChildSource > | make (bool newWindow, iAMdiChild *child=nullptr) |
Class used for accessing an existing or creating a new child window as needed.
The goal is to defer the need to create windows to as late as possible; while making it customizable whether to create a new window each time one is requested (newWindow); or if newWindow is false, then either the the given child or the same new child is returned each time.
| iAChildSource::iAChildSource | ( | bool | newWindow, |
| iAMdiChild * | child ) |
| iAMdiChild * iAChildSource::child | ( | iAMainWindow * | mainWin | ) |
|
static |