[ROOT] TGListViewer

From: Marco Calvi (Marco.Calvi@cern.ch)
Date: Tue Feb 25 2003 - 10:16:47 MET


Dear ROOTers,

I am using TGListTree inside a TGMainFrame. It works but it is not
syncronize... example:
when I double-click on a folder it does not show the sub-folders since I do
a refresh.
Any suggestion is welcomed

piece of code:
....
MagnetsTree = new TGListTree(this,30,600,kDoubleBorder,GetWhitePixel()); /*
"this" is the TGMainFrame */
MagnetsTree->AddItem(NULL,"ANSALDO",pictures->GetPicture("ofolder_s.xpm"),pi
ctures->GetPicture("folder_t.xpm"));
...

further questions:
is it correct to use NULL has the parent point of the first level items?
Associate or not the object to the mainframe does not change things..!?

thanks

Marco Calvi



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET