🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37183

Position of the thumb on scrollbars

#37183
From: Sanjay Manandhar
Date: Thu, 22 Feb 1990 06:49
18 lines
1001 bytes
According to the documentation, one can place the thumb on arbitrary
position along the scrollbar. This is supposed to take a float between
0.0 and 1.0.

However, the best I can do is get the thumb at beginning of the bar.
I've tried placing the thumb midway (0.5), for instance, in R3 and R4.

XtSetArg(arg[7], XtNtop, 0.5);            # in R3
XtSetArg(arg[7], XtNtopOfThumb, 0.5);     # in R4

The R4 docs provide a portable way to do this, but that does not work
either. If someone has run into this problem, and found a fix, I'd
appreciate hearing it.

thanx,

sanjay
Technical Details
Message-ID: <1685@mit-amt.MEDIA.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!mit-amt!sanjay

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!mit-amt!sanjay
From: sanjay@mit-amt.MEDIA.MIT.EDU (Sanjay Manandhar)
Newsgroups: comp.windows.x
Subject: Position of the thumb on scrollbars
Message-ID: <1685@mit-amt.MEDIA.MIT.EDU>
Date: 22 Feb 90 06:49:05 GMT
Reply-To: sanjay@media-lab.media.mit.edu (Sanjay Manandhar)
Organization: MIT Media Lab, Cambridge MA
Lines: 18