home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.object
- Path: sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!mprgate.mpr.ca!lichen!janzen
- From: janzen@lichen.mpr.ca (Martin Janzen)
- Subject: Re: C++ tools recommendations wanted
- Message-ID: <1992Dec17.213730.2153@mprgate.mpr.ca>
- Sender: janzen@lichen (Martin Janzen)
- Reply-To: janzen@mprgate.mpr.ca
- Organization: MPR Teltech Ltd.
- References: <7623@fury.BOEING.COM>
- Date: Thu, 17 Dec 92 21:37:30 GMT
- Lines: 45
-
- In article <7623@fury.BOEING.COM>, cek@sdc.boeing.com (Conrad Kimball) writes:
- >[wants suggestions for C++ software development tools]
-
- >How about GUI builders, such as UIM/X? There are quite a few competing
- >products for use in building C applications, but how well do they work
- >in a C++ environment?
-
- I've used UIM/X, but find that I prefer X.Designer (from Imperial Software
- Technology, sales@ist.co.uk; or V.I. Corp., info@vicorp.com), because of
- its widget tree editor, layout editor, and numerous other small details
- not really relevant to comp.object...
-
- X.Designer generates code that contains one global variable for each widget
- to which you assign a variable name. I create one class for each interface
- (ie. each separate Shell widget and child widget tree). The constructor
- calls the XD-generated function, then copies the global variables to
- private data members. This encapsulates the interface nicely, and makes
- it easy to create multiple instances of the interface. (I do have to
- filter the generated code through a sed script; I'd be happy to mail you
- the script if you end up using X.Designer.)
-
- >What about Motif toolkits for use with C++? C++ wrappers around the
- >OSF Motif toolkit? Native C++ toolkits that deliver Motif look and
- >feel?
-
- The problem with C++ wrappers like WWL is that a) they prevent you from
- using a UI builder, and b) you're dealing with a lot of very small classes,
- corresponding to individual widgets. Some people may prefer this; I've
- found it easier to use something similar to Doug Young's approach (see his
- book "Object-Oriented Programming with C++ and OSF/Motif", Prentice-Hall,
- 1992, 0-13-630252-1), in which each class corresponds to a higher-level
- abstraction within the program (such as an entire interface), encapsul-
- ating a _group_ of related widgets, and all associated callbacks, actions,
- member functions, and so on.
-
- I haven't tried any of the native C++ toolkits like InterViews or OI (or
- whatever ParcPlace calls it now).
-
- Hope that helps...
-
- --
- Martin Janzen janzen@mprgate.mpr.ca (134.87.131.13)
- MPR Teltech Ltd. Phone: (604) 293-5309
- 8999 Nelson Way Fax: (604) 293-6100
- Burnaby, BC, CANADA V5A 4B5
-