SetWindow(wxWindow* window);
127 longGetIndex(
CNode& node)
const;
128 longGetBranchIndex(
CNode& grandchild_node)
const;
130 boolHasOnlyOneChild()
const;
132 voidAddChild(
CNode& node);
133 voidRemoveChild(
CNode& node);
134 voidRemoveChild(
size_tindex);
135 voidRemoveAllChildren();
136 size_tReplaceChild(
CNode& old_node,
CNode& new_node);
138 voidEnforceChildOrder(
constvector<wxWindow*>& windows);
140 voidLink(
CNode& clone);
144 voidValidateSplitterSizes();
195 void LogPost(
const CNode& node,
unsigned intlevel)
const;
238 for(
size_t i= 0;
i< m_Children.size();
i++ ) {
239 CNode& child = *m_Children[
i];
248 for(
size_t i= 0;
i< m_Children.size();
i++ ) {
249 const CNode& child = *m_Children[
i];
257 return m_Root?
m_Root->DepthFirstSearch(func) :
false;
264 m_Root->DepthFirstForEach(func);
CNode - a node in layout tree corresponding to a window.
ENodeType GetType() const
const vector< int > & GetSplitterSizes() const
vector< int > & GetSplitterSizes()
IWMClient::CFingerprint TFingerprint
const wxWindow * GetWindow() const
CRef< CNode > GetParent()
bool DepthFirstSearch(F &func)
Inline functions.
const CNode * GetClone() const
TNodeVector & GetChildren()
vector< int > m_SplitterSizes
const TNodeVector & GetChildren() const
void SetFingerprint(const TFingerprint &p)
TFingerprint GetFingerprint() const
vector< CRef< CNode > > TNodeVector
CConstRef< CNode > GetParent() const
TFingerprint m_Fingerprint
void DepthFirstForEach(F &func)
CDockLayoutTree - represents hierarchical layout in a Dock Container as a tree where nodes correspond...
void x_DisconnectNodes(CNode &node)
IWMClient::CFingerprint TFingerprint
virtual ~CDockLayoutTree()
void DepthFirstForEach(F &func)
void SaveSplitterLayout()
CRef< CNode > m_CentralPane
CNode * x_FindByFingerprint(CNode &node, const TFingerprint &s)
CRef< CNode > GetCentralPane()
CDockLayoutTree * CloneTree() const
void Validate(const CNode &node, bool vis_tree) const
vector< CRef< CNode > > TNodeVector
CConstRef< CNode > GetRoot() const
CConstRef< CNode > GetCentralPane() const
objects::CUser_object * ToUserObject() const
CNode * FindByFingerprint(const TFingerprint &s)
static CRef< CDockLayoutTree > FromUserObject(const objects::CUser_object &obj)
bool DepthFirstSearch(F &func)
CDockLayoutTree()
CDockLayoutTree interface.
void x_HideNodes(CNode &node)
void DisconnectAllNodes()
CFingerprint identifies an instance of IWMClient and is used for labeling layout positions.
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
#define NCBI_GUIWIDGETS_WX_EXPORT
Defines to provide correct exporting from DLLs in Windows.
where boath are integers</td > n< td ></td > n</tr > n< tr > n< td > tse</td > n< td > optional</td > n< td > String</td > n< td class=\"description\"> TSE option controls what blob is orig
#define F(x)
Make a parametrized function appear to have only one variable.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4