#include <GuiBase.h>
Inheritance diagram for GuiCompositeFrameBase:

Public Member Functions | |
| GuiCompositeFrameBase () | |
| virtual | ~GuiCompositeFrameBase () |
| virtual void | Add (GuiBase &f) |
| virtual void | Remove (GuiBase &f) |
| virtual void | Show (GuiBase &f) |
| virtual void | Hide (GuiBase &f) |
| GuiBase::ChildrenList | GetChildrenList () |
|
|
Definition at line 81 of file GuiBase.h. 00081 {}
|
|
|
Definition at line 82 of file GuiBase.h. 00082 {}
|
|
|
|
Definition at line 87 of file GuiBase.h. Referenced by GuiTab::GuisAt(). 00087 { return fChildren; }
|
|
|
Definition at line 159 of file GuiBase.cxx. Referenced by hide_it(). 00160 {
00161 TGFrame* f = dynamic_cast<TGFrame*>(&child);
00162 TGCompositeFrame* cf = dynamic_cast<TGCompositeFrame*>(this);
00163
00164 if (f && cf) cf->HideFrame(f);
00165 }
|
|
|
Definition at line 130 of file GuiBase.cxx. References find(). Referenced by EVD::Digittext(), EVD::MCtext(), EVD::MCTreetext(), EVD::Recotext(), and remove_it(). 00131 {
00132 ChildrenList::iterator it = find(fChildren.begin(),fChildren.end(),&child);
00133 if (it == fChildren.end()) {
00134 cerr << "GuiCompositeFrameBase: can't remove child I don't have\n";
00135 return;
00136 }
00137
00138
00139
00140 TGFrame* f = dynamic_cast<TGFrame*>(&child);
00141 TGCompositeFrame* cf = dynamic_cast<TGCompositeFrame*>(this);
00142
00143 if (f && cf) {
00144 cf->HideFrame(f);
00145 cf->RemoveFrame(f);
00146 fChildren.erase(it);
00147 }
00148 else {
00149 cerr << "GuiCompositeFrameBase: failed to remove child\n";
00150 }
00151 }
|
|
|
Definition at line 152 of file GuiBase.cxx. Referenced by RegistryGui::SetPossiblesMenu(), and show_it(). 00153 {
00154 TGFrame* f = dynamic_cast<TGFrame*>(&child);
00155 TGCompositeFrame* cf = dynamic_cast<TGCompositeFrame*>(this);
00156
00157 if (f && cf) cf->ShowFrame(f);
00158 }
|
1.3.9.1