[comp.windows.open-look] XView Canvas Scrollbar Question

chua@Neon.Stanford.EDU (Teck-Joo Chua) (01/31/91)

Is it possible to position a vertical scrollbar on the left of a canvas
instead of the default right side?

Any help would be much appreciated.


-- 
-------------------------------------------------------------------------
* Teck-Joo Chua		 	 |	Computer Science Department 	*
* Email: chua@cs.stanford.edu	 |	Stanford University	      	*
* Phone: (415) 497-6699		 |	Stanford, California 94305    	*

dmaustin@vivid.sun.com (Darren Austin - I will not instigate revolution) (01/31/91)

In article <1991Jan30.170750.4692@Neon.Stanford.EDU> chua@Neon.Stanford.EDU (Teck-Joo Chua) writes:

>   Is it possible to position a vertical scrollbar on the left of a canvas
>   instead of the default right side?

Yes it is, but only by the user, and not by the application.  The
user can specify this by using the "Properties" function off the
main root menu (if you are using olwm).  Under the
"Miscellaneous" category there is a choice item for setting the
scrollbar placement.

If you don't want to/can't do it this way, put the following into your
.Xdefaults file:

	OpenWindows.ScrollbarPlacement:	left

Hope this helps,
--Darren
--
Darren Austin                         |  Actually, it's a buck and a quarter
Windows and Graphics Software	      |  staff, but I'm not going to tell
Sun Microsystems, Mountain View       |  *him* that.
dmaustin@sun.com	              |

js9g@ccwf.cc.utexas.edu (S.H. Snyder Jr.) (01/31/91)

In article <1991Jan30.170750.4692@Neon.Stanford.EDU>,
chua@Neon.Stanford.EDU (Teck-Joo Chua) writes:

|>Is it possible to position a vertical scrollbar on the left of a canvas
|>instead of the default right side?

Just ad the line:

OpenWindows.ScrollbarPlacement:left

into your .Xdefaults file.  That should do it.

I remain,
___________________________________________________________________________
"Diane, I'm holding in my hand a small box of  |      SILENCE=DEATH
chocolate bunnies." -- Dale Cooper             |   Live free or shut up.
Hey! I didn't eat the mousse! -Meaning of Life |  js9g@ccwf.cc.utexas.edu