Path: utzoo!attcan!uunet!grand!day From: day@grand.UUCP (Dave Yost) Newsgroups: comp.lang.eiffel Subject: Widgets and Eiffel Message-ID: <469@grand.UUCP> Date: 21 Dec 88 18:15:19 GMT Reply-To: Vincent Phuah Organization: Grand Software, Inc., 213-650-1089, Los Angeles, CA Lines: 31 From: Vincent Phuah Date: Tue, 15 Nov 88 16:04:16 EST Using X Widgets in Eiffel -------------------------- I assume it is fair to say that the graphic library in the current release has a lot of glitches and doesn't work correctly at times. While waiting for their next release, I am curious to know whether there have been any success in using the X Widget Sets (e.g. Athena and HP) in Eiffel. Although Eiffel allows calls to external C routines, only basic C type parameters can be passed between C and Eiffel. This severely limits the type of external C routines that can be called. For example, I think it is not possible to call the routines provided by the X Toolkit because of the complex data structures that need to be passed between these routines and Eiffel. Also, there is a further complication when calling external C routines which have "#include files" in them. Currently, there is no facility in Eiffel to include these files which leads to an interesting problem - how to call a external function which has a return type defined in the "include files". These are the few problems I have encountered so far. Any solutions and/or input is welcome. Thanks. Vincent Phuah Software Technologies Dept. GTE Laboratories 40 Sylvan Road Waltham, MA 02254