Article View: comp.windows.interviews
Article #215Connectors and ibuild?
From: Brad Karp
Date: Mon, 10 Aug 1992 22:28
Date: Mon, 10 Aug 1992 22:28
46 lines
2540 bytes
2540 bytes
Our configuration: SUN4, IV 3.0.1, built with g++ using the patches available in contrib/ on interviews.stanford.edu. (Apologies in advance for asking what may be a trivial question.) We are using ibuild and Unidraw to implement a user interface to a network simulator we are building here. Because we are simulating a network, the idea of using Connectors for the objects on the Canvas is quite attractive; we'd like to perform dataflow through the connected components of the network we're simulating. ibuild's repertoire of Tools for VPanelControl's includes ConnectTool, whose man page indeed states that this Tool's job is to connect instances of Connector by manipulation. However, I can find _no_ mention of a Tool which supports instantiating a Connector on the Canvas by direct manipulation. Since Connector is a subclass of GraphicComp, it would seem that all one would have to do is change the type of the instantiated object to Connector from GraphicComp, but still use the same member functions of GraphicComp to initialize the new object. Unfortunately, I see no easy way to tell ibuild that I want a GraphicCompTool to instantiate "not just any GraphicComp, but a Connector." It would seem pointless for ibuild to support connecting Components which it can't even generate. Does ibuild have a Tool which generates Connectors? If so, how would I go about using it, and if not, what would be the easiest way for me to circumvent its lack of support for this capability? Also, a more general question: Are there good, comprehensive references/user guides to InterViews and Unidraw _other_ than those supplied with the package? (Either publically available or commercially published ones would be fine.) While the user guides and tutorials included are somewhat informative, we find it a bit of a leap from the man pages and guides to writing "real" InterViews code. Replies by email to karp@das.harvard.edu preferred; if there's interest, I'll summarize. Any advice will be greatly appreciated!
Technical Details
Message-ID:
<1992Aug10.222824.2740@das.harvard.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!das-news.harvard.edu!usenetShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!das-news.harvard.edu!usenet From: karp@virtual9.harvard.edu (Brad Karp) Newsgroups: comp.windows.interviews Subject: Connectors and ibuild? Summary: Shall the twain ever meet? Keywords: Connector ibuild Message-ID: <1992Aug10.222824.2740@das.harvard.edu> Date: 10 Aug 92 22:28:24 GMT Article-I.D.: das.1992Aug10.222824.2740 Sender: usenet@das.harvard.edu (Network News) Organization: Aiken Computation Lab, Harvard University Lines: 46