[comp.windows.x.motif] Help wanted with using UIL

stuart@siesoft.co.uk (Stuart Hood) (09/07/90)

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