Article View: comp.sys.mac.oop.misc
Article #99Re: TCL windows and dialogs
From: Art Urban
Date: Sun, 20 Dec 1992 22:07
Date: Sun, 20 Dec 1992 22:07
23 lines
1765 bytes
1765 bytes
In article <1992Dec18.174746.10916@vax.oxford.ac.uk> vollrath@vax.oxford.ac.uk writes: %hundred parameters, then outputs the results to FileForce files. The %program has to display some changeable information (like date) on screen, %and optionally display a picture of the web, and a text log file. %Now, how is this best structured. CDocument is not a subclass of CDLOG- %Director. Should I make itsWindow the log window, have a separate director %to deal with the graphic window, and a subclass of CDLOGDirector to handle %the dialog? Seems awkward, because the dialog has a couple of buttons to As some kind net-soul explained to me: Your DLOG window should be supervised by an instance of DLOGDirector, and then the DLOGDirector should be supervised by an instance of CDocument. Because CDocument is a subclass of CDirectorOwner, it can supervise another Director. I hope this is right! I have not yet tried it myself... -- Art Urban urban@stout.atd.ucar.edu =============================================================================== "What's Next? Chasing bunnies on a motorbike until their hearts explode? -Crow ===============================================================================
Technical Details
Message-ID:
<1992Dec20.220740.10143@fsl.noaa.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!qwerty-gw.fsl.noaa.gov!yoda.fsl.noaa.gov!urbanReferences:
<1992Dec18.174746.10916@vax.oxford.ac.uk>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.mac.oop.misc Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!qwerty-gw.fsl.noaa.gov!yoda.fsl.noaa.gov!urban From: urban@yoda.fsl.noaa.gov (Art Urban) Subject: Re: TCL windows and dialogs Message-ID: <1992Dec20.220740.10143@fsl.noaa.gov> Sender: urban@fsl.noaa.gov Organization: Forecast Systems Lab, NOAA, Boulder CO, USA References: <1992Dec18.174746.10916@vax.oxford.ac.uk> Date: Sun, 20 Dec 1992 22:07:40 GMT Lines: 23