47    fManager = fBuilder->GetManager();
    48    fEditDisabled = kEditDisable;
    51    TGFrame *fSelected = fEditor->GetSelected();
    52    if (fSelected) frame = fSelected;
    64    fCanvas = 
new TGCanvas(cf, 180, 110);
    66    fCanvas->MapSubwindows();
    71    fTitleFrame->AddFrame(
new TGLabel(fTitleFrame, 
"Variable name"),
    89    fFrameName->Resize(120, fFrameName->GetHeight());
    92    fFrameName->SetEnabled(
kTRUE);
   101    btn->
Connect(
"Clicked()", 
"TGuiBldNameFrame", 
this, 
"UpdateName()");
   103    fListTree->Connect(
"Clicked(TGListTreeItem*, Int_t)", 
"TGuiBldNameFrame",
   104                       this, 
"SelectFrameByItem(TGListTreeItem*, Int_t)");
   196                    "Name conflict", 
"Variable name already exists.",
   360             if (fitem) 
return fitem;
 TRootGuiBuilder * fBuilder
 
TGuiBldDragManager * GetManager() const
 
virtual void Resize(UInt_t w=0, UInt_t h=0)
Resize the frame. 
 
void SelectFrame(TGFrame *frame, Bool_t add=kFALSE)
Grab/Select frame. 
 
virtual void * GetUserData() const =0
 
TGListTreeItem * FindChildByData(TGListTreeItem *item, void *userData)
Find child of item by userData. 
 
TGListTreeItem * FindItemByObj(TGListTreeItem *item, void *ptr)
Find item with fUserData == ptr. 
 
TGListTreeItem * FindItemByName(TGListTree *tree, const char *name, TGListTreeItem *item=0)
Find item with GetText == name. Search tree downwards starting at item. 
 
virtual void SetAlignment(ETextJustification mode=kTextLeft)
Sets the alignment of the text entry. 
 
Int_t DeleteItem(TGListTreeItem *item)
Delete item from list tree. 
 
void Reset()
Reset name frame. 
 
TGuiBldDragManager * fManager
 
TGFrame * GetSelected() const
 
void UpdateName()
Set new name of frame, if it doesn't already exist in the same MDI frame. 
 
TGCompositeFrame * GetMdi(TGFrame *frame)
Find the parent mdi frame. 
 
virtual void DoRedraw()
Redraw the frame. 
 
virtual const char * ClassName() const
Returns name of class to which the object belongs. 
 
virtual void SetText(TGString *newText)
Set new text in label. 
 
virtual void SetName(const char *name)
 
void RemoveFrame(TGFrame *frame)
Remove a frame. 
 
virtual TList * GetList() const
 
virtual void UpdateStatusBar(const char *text=0)
Update information shown on the status bar. 
 
void OpenItem(TGListTreeItem *item)
Open item in list tree (i.e. show child items). 
 
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot...
 
void MapItems(TGCompositeFrame *main)
Map all the frames and subframes in mdi frame to the list tree. 
 
TGListTreeItem * GetNextSibling() const
 
void AddItem(TGListTreeItem *parent, TGListTreeItem *item)
Add given item to list tree. 
 
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname". 
 
virtual const char * GetName() const
Return unique name, used in SavePrimitive methods. 
 
virtual void SetOpen(Bool_t o)
 
virtual const char * GetText() const =0
 
void SetEditable(Bool_t on=kTRUE)
Grab server. 
 
const char * GetText() const
 
TGListTreeItem * GetParent() const
 
TGListTreeItem * GetFirstChild() const
 
virtual void SetEditable(Bool_t)
 
void SelectFrameByItem(TGListTreeItem *item, Int_t i=0)
When list tree item is clicked, frame with that name is selected. 
 
Bool_t Disconnect(const char *signal=0, void *receiver=0, const char *slot=0)
Disconnects signal of this object from slot of receiver. 
 
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints. 
 
const TGWindow * GetParent() const
 
void DoRedraw()
Redraw frame (just a prototype). 
 
Int_t Reparent(TGListTreeItem *item, TGListTreeItem *newparent)
Make newparent the new parent of item. 
 
static TGuiBuilder * Instance()
return an instance of TGuiBuilder object 
 
const TGWindow * GetDefaultRoot() const
Returns the root (i.e. 
 
void NeedRedraw(TGWindow *w, Bool_t force=kFALSE)
Set redraw flags. 
 
void ChangeSelected(TGFrame *frame)
Change selected frame. 
 
virtual void SetText(const char *text, Bool_t emit=kTRUE)
Sets text entry to text, clears the selection and moves the cursor to the end of the line...
 
virtual void SetEditable(Bool_t on=kTRUE)
Switch ON/OFF edit mode. 
 
Bool_t CheckItems(TGCompositeFrame *main)
Check if items are in the list tree and at the same place. 
 
void HighlightItem(TGListTreeItem *item)
Highlight item. 
 
TGListTreeItem * GetFirstItem() const
 
int main(int argc, char **argv)
 
const char * Data() const