[comp.windows.x] Widget advice wanted

brian@radio.astro.utoronto.ca (Brian Glendenning) (08/24/89)

I am going to port (i.e. rewrite) an application I have previously
written under sunview. It is a program to manipulate colour raster
images (which come over a socket from another program). The appearance
of the image (colour map, zoom, scroll, etc) depends on cursor
positioning, button presses, and toggle positions.

I have the Nutshell Xlib books. That stuff seems to be fairly
straightforward. My questions involve the widgets (I really, really
don't want to roll them myself). Which widgets should I use? The HP
widgets appear to be well documented, but it looks like they don't run
under the R3 intrinsics yet (is this still true)? The Athena widgets
documentation seems to be more opaque, and there doesn't seem to be a
toggle (I suppose you could fake it with buttons without too much
work). Since this code may run on several different types of machines
availability under the vendor's various X is also a concern I guess.

Also, if someone can point me to a code I can study that does
(preferably fairly simple) graphics stuff in a canvas with attached
scrollbars and buttons/toggles I'd be grateful.

Since these are probably hopelessly stupid questions, please respond
by email. I will forward replies to interested parties or summarize to
the list if there is enough interest. If you point me at a code let me
know if I can send it to other interested people or if I should keep
it under wraps. Thank you.

--
	  Brian Glendenning - Radio astronomy, University of Toronto
brian@radio.astro.utoronto.ca uunet!utai!radio!brian  glendenn@utorphys.bitnet