Lumiera
0.pre.03
»edit your freedom«
|
#include "stage/ctrl/panel-locator.hpp"
Service to access, locate or place panels within top-level windows Access- and query front-end to the individual panel managers, which are located within the top-level windows.
Definition at line 76 of file panel-locator.hpp.
Public Member Functions | |
PanelLocator (WindowList &) | |
template<class PAN > | |
PAN & | find_or_create () |
lookup or allocate "the" instance of the indicated Panel(subtype). More... | |
Private Types | |
using | PWindow = std::shared_ptr< workspace::WorkspaceWindow > |
using | WindowList = list< PWindow > |
Private Member Functions | |
panel::Panel & | preliminary_impl_PanelLookup (int typeID) |
Private Member Functions inherited from NonCopyable | |
NonCopyable (NonCopyable const &)=delete | |
NonCopyable & | operator= (NonCopyable const &)=delete |
Private Attributes | |
WindowList & | windowList_ |
|
inline |
lookup or allocate "the" instance of the indicated Panel(subtype).
While there can be multiple instances of some panel type in various windows, this function will look through a canonical search order to either retrieve the first instance found, or create a new one in the primary window.
error::Invalid | when requesting a target class not recognised as known docking panel entity. |
Definition at line 112 of file panel-locator.hpp.
|
private |
preliminary implementation of docking panel lookup and allocation.
Definition at line 176 of file window-locator.cpp.