[comp.sys.mac.programmer] Dialogs in TCL - how??

stanger@otago.ac.nz (Nigel Stanger) (06/19/91)

This may be a dumb question, but I don't care ;-)

OK, I've been programming in THINK Pascal for quite some time
now, and I finally decided to wrap myself around TCL (since OOP
seems to be the wave of the future). Things were going really
well, until I tried to create a dialog box. I couldn't find
anything in TCL to do this!! How on earth do you do a ModalDialog
in TCL?? I searched thru all the files and all I could find were
3 (4?) utility routines, there was nothing for creating,
displaying, destroying, etc. dialogs. 

Help!! What do I do??  I could draw everything by hand in a
CWindow (or whatever), but what's the point when the Dialog
Manager is sitting there just waiting to be used? Do I have to
create my own Dialog class? Or do it by hand? Or what? Aargh!

Oh, and on a vaguely related point, the documentation on TCL only
describes half of the available classes (i.e. Core Files only).
Is there any sort of documentation/books/whatever about the rest
of the classes in TCL (just to save me scrolling thru all the
source)?

-- 
See ya
                                Nigel.
----------------------------------------------------------------------
Nigel Stanger,                  Internet: stanger@otago.ac.nz
c/o University of Otago,
P.O. Box 56,                    Phone: +64 3 479-8179
Dunedin, NEW ZEALAND.           Fax:   +64 3 479-8311
----------------------------------------------------------------------
         "If I had a quote, I'd be wearing it." -- Bob Dylan
----------------------------------------------------------------------