|
ROOT
Reference Guide |
|
Go to the documentation of this file.
12 #ifndef ROOT_TTVLVContainer
13 #define ROOT_TTVLVContainer
void RemoveNonStatic()
Remove all non-static items from the list view, except expressions.
void SaveText()
Save the edited entry true name and alias.
TGLayoutHints * fBLayout1
TTVLVContainer(const TGWindow *p, UInt_t w, UInt_t h, UInt_t options=kSunkenFrame)
TGLVContainer constructor.
This class represent a specialized expression editor for TTVLVEntry 'true name' and 'alias' data memb...
void InsertText(const char *text)
Insert text in text entry.
void SetToolTipText(const char *text, Long_t delayms=1000)
Set tool tip text associated with this item.
#define dest(otri, vertexptr)
virtual ~TGSelectBox()
TGSelectBox destructor.
void SetEntry(TTVLVEntry *entry)
Connect one entry.
void SetAlias(const char *alias)
const char * Data() const
const char * Ey()
Return the expression on Y.
This class represent the list view container for the.
const char * GetConvName()
TTVLVContainer * fContainer
void PrependTilde()
Prepend a ~ to item alias.
empty object used as context menu support for TGLVTreeEntries.
TTVLVEntry * EditedEntry()
A graphic user interface designed to handle ROOT trees and to take advantage of TTree class features.
TGItemContext()
Constructor.
TList * ExpressionList()
Return the list of user-defined expressions.
void Associate(TTVLVEntry *item)
static TGSelectBox * GetInstance()
Return the pointer to the instantiated singleton.
TGSelectBox(const TGWindow *p, const TGWindow *main, UInt_t w=10, UInt_t h=10)
TGSelectBox constructor.
void GrabPointer()
Just focus the cursor inside.
virtual void AddThisItem(TTVLVEntry *item)
Handle_t Cursor_t
Cursor handle.
void SetSmallPic(const TGPicture *spic)
Set small picture.
void SetViewer(TTreeViewer *viewer)
static TGSelectBox * fgInstance
Bool_t FullConverted()
Return true if converted name is alias free.
void SetCutType(Bool_t type=kFALSE)
Set cut type.
const char * Ez()
Return the expression on Z.
void Empty()
Clear all names and alias.
TTVLVEntry(const TGWindow *p, const TGPicture *bigpic, const TGPicture *smallpic, TGString *name, TGString **subnames, EListViewMode ViewMode)
TTVLVEntry constructor.
Bool_t HasAlias()
Check if alias name is not empty.
void SetLabel(const char *title)
Set label of selection box.
void SelectItem(const char *name)
Select an item.
void RemoveItem()
Remove item.
int main(int argc, char **argv)
TGLayoutHints * fItemLayout
void EmptyAll()
Clear all names and aliases for expression type items.
Bool_t ValidateAlias()
Return true if edited alias is not a leading string of other expression aliases.
void SetItemName(const char *name)
Redraw this entry with new name.
const char * GetTrueName()
TTreeViewer * GetViewer()
const char * ConvertAliases()
Convert all aliases into true names.
TGItemContext * GetContext()
virtual void CloseWindow()
Close the select box.
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Message interpreter.
virtual void SetColumns(Int_t *cpos, Int_t *jmode)
virtual Bool_t HandleCrossing(Event_t *event)
Handle mouse crossing event.
const char * Cut()
Return the cut entry.
void SetTrueName(const char *name)
void SetListView(TGListView *lv)
This class represent entries that goes into the TreeViewer listview container.
TTVLVContainer * GetContainer()
Mother of all ROOT objects.
#define ClassDef(name, id)
virtual ~TTVLVEntry()
TTVLVEntry destructor.
void SetExpression(const char *name="", const char *alias="-empty-", Bool_t cut=kFALSE)
Set item expression.
const char * ScanList()
Return the cut entry.
virtual void Delete(Option_t *)
Delete this object.
virtual Bool_t HandleButton(Event_t *event)
Handle mouse button event in container.
virtual Bool_t HandleMotion(Event_t *event)
Handle mouse motion events.
void Draw(Option_t *option="")
Draw item.
virtual ~TTVLVContainer()
TGLVContainer destructor.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
TTVLVEntry * ExpressionItem(Int_t index)
Return the expression item at specific position.
void CopyItem(TTVLVEntry *dest)
Copy this item's name and alias to an other.
void SetExpression(const char *name, const char *alias, Bool_t cutType=kFALSE)
Set the true name, alias and type of the expression, then refresh it.
void EditExpression()
Edit expression.
const char * Ex()
Return the expression on X.