Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!uwm.edu!bionet!agate!ucbvax!ucdavis!csusac!unify!openlook!openlook-request From: aim@Corp.Sun.COM (Amy) Newsgroups: comp.windows.open-look Subject: Re: Mixing OLIT Widgets and XView Message-ID: Date: 6 Mar 91 21:17:14 GMT Lines: 26 >> >>Can anyone tell me if it's possible to embed OLIT widgets in an XView application. >>I have written an XView program and I want to add a text editor to it. However, XView's >>text subwindows don't offer any of the features that I want (underlining, boxing text). >>My question is: can I create a canvas using guide and then use the OLIT TEXTEDIT widget >>to manipulate text in that canvas? I don't want to write a custom text editor from >>scratch? ` Well, unfortunately you're talking about mixing apples with oranges... OLIT is an Intrinsics toolkit - therefore the widgets require the "Intrinsics Glue" in order to work together. XView has no concept of a "widget" or its data structures, etc. and would have no idea how to manipulate the OLIT TextEdit widget. The bottom line is that you cannot mix objects in these 2 toolkits because of the significant differences in their architecture. If you are using XView, then you'll probably have to implement that Text functionality yourself via a canvas....(yes, A LOT of work!). Regards, Amy Moore Member of Technical Staff Market Development Group Sun Microsystems, Inc.