TGListTree, etc.

From: Anton Fokin (kosu_fokin@garbo.lucas.lu.se)
Date: Thu Apr 08 1999 - 16:57:42 MEST


Hi rooters,

1. I would like to be able to change O/CPicture in TGListTreeItem "on fly".
It seems to be useful for example if one needs to have multiple selection
where item icon is changing (item selected/not selected) on double click or
so. (Simple TGListBox doesn't support icons). Do you think it's a good idea
to add corresponding public SetPicture()/GetPicture() to TGListTreeItem?

2. The logic of TGListTree is a bit strange. It seems that only one folder
in a tree can be opened (in sense that OPicture is displayed for this
folder). Isn't it strange? In windows, for example, it is done so that all
open folders are displayed with OPicture.

3. Do we have a mechanism in ROOT GUI to align graphical strings? I would
like to have items in TGListBox/Tree which look like

      Field1       Field2        Field3

If I use sprintf(Item,"%20s%20s%20s",f1,f2,f3); it doesn't align fields
because of different font widths. 


Best regards,

Dr. Anton Fokin

Division of Cosmic and Subatomic Physics
Lund University
Sweden



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:31 MET