Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!know!samsung!uunet!mcsun!ukc!stl!siesoft!stuart From: stuart@siesoft.co.uk (Stuart Hood) Newsgroups: comp.windows.x.motif Subject: Help wanted with using UIL Summary: Help wanted with using UIL Keywords: UIL, help Message-ID: <1990Sep7.160336.19481@siesoft.co.uk> Date: 7 Sep 90 16:03:36 GMT Sender: usenet@siesoft.co.uk (NNTP Poster) Distribution: comp Organization: Siemens System Developement Group, Reading, UK Lines: 54 I am having problems using our installed version of UIL. According to the OSF/Motif Programmer's guide, the following should produce a Main Window widget: module test object w1: XmMainWindow { arguments { XmNheight = 100; XmNwidth = 100; }; }; end module I cannot get this to compile. After some experimentation, I produced the following, which does compile: module test object w1: main_window { arguments { height = 100; width = 100; }; }; end module and with a suitable program this does produce a window on the display. The problems are: 1. why doen't the first version work 2. if I try and extend the simple test by setting the visual_policy, say, it does not behave correctly. 3. I cannot work out how to define the scrollbar widgets. 4. I cannot use constants such as XmAUTOMATIC. My guess is that I have a different version of the UIL compiler or that I am doing something stupid. If it is the former would someone send me (or tell me how to get) the documentation. Any and all help will be appreciated. Stuart. -- Stuart Hood 65-73 Crockhamwell Road, Woodley, Reading, Berkshire, RG5 3JP, UK Phone: + 44-734-691994 Email: stuart@siesoft.co.uk - Happiness is going to the kitchen for a tea and finding the kettle just boiled