ROOT
6.07/01
Reference Guide
|
This TableTest class is a simple example of how to use a TGTable with a TTreeTableInterface. More...
Go to the source code of this file.
This TableTest class is a simple example of how to use a TGTable with a TTreeTableInterface.
TableTest inherits from TGMainFrame to create a top level frame to embed the TGTable in. First, the staff.root file is opened to obtain a tree. This tree also contains strings as data. Then a TTreeTableInterface is created using this tree. A table is then created using the interface. In the end, the table is added to the TGMainFrame that is the TableTest and the necessary calls to correctly draw the window are made. For more information about the use of TTreeTableInterface and TGTable, see their documentation.
Definition in file staffTableTest.C.