[comp.windows.x] Several Xt questions..

changw@athena.ecs.csus.edu (Weide (Willie) Chang) (04/05/91)

Hi, everyone, I have several Xt programming questions:

a) In resource file, what's the right term for NULL (of C code), such

   *box1.fromVert: XNull(?)

b) the bitmap utility seems always make pixmap file with some size of
   border though I tried 'bitmap -bw 0 test' for asking no border.
   The app displays there's always some border as I put 'test' to a
   label widget though I set '*borderWidth:0' in resource.

c) the value for 'XtNorientation'. On O'Reilly's book, it's
   XtOrientationHorizontal, XtOrientationVertical. Tried, no avail,
   finally use plain 0/1 instead, and worked. What're they really
   called? (these values)

d) The resource sequence has to match the creation(instantiation)
   sequence of widgets in the code (sequential nature in codes,
   resource files, and dependent to each other.) Right?
   <e.g.>  
   in code:
		XtVaCreateManagedWidget(w1,..
		XtVaCreateManagedWidget(w2,..
   while in resource:
		*w1.fromVert: w2

   (oh,oh, w2 is not yet created as w1 wants the position reference.)

e) What's the best way to have a line kind of graph between 2 widgets.
   Draw a line (Xlib fnc) between 2 box shaped widgets?
   Make widgets look like lines to fill in the space?

Thanks for any pointers!
			
Willie*    changw@jupiter.nmt.edu   or   changw@athena.csus.edu