TGListBox, TGFileDialog

From: Michael Heldmann (heldmann@bigfoot.com)
Date: Thu May 27 1999 - 16:54:00 MEST


Hello !
I'm trying to use the GUI-Classes in macros but i didn't find any
examples.
I tried to 

lb=new TGListBox(gClient.GetRoot(), 83)
lb.AddEntry("test1", 101)
lb.Draw()

the ListBox didn't show up, why ?
from this naiv approach you can see that i really didn't get the point
of how to use that sutff.

for a TGFileDialog I tried

fi=new TGFileInfo()
fd=new TGFileDialog(gClient.GetRoot(), gClient.GetRoot(), kFDOpen, &fi)

from this i get a segmentation violation.

I would really appriciate anybody helping such a dump newbie like me.
Thanks
   Michael Heldmann



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