Path: utzoo!attcan!uunet!cs.utexas.edu!sun-barr!apple!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Getting to viewport scrollbars Message-ID: <8905152303.AA22746@expo.lcs.mit.edu> Date: 15 May 89 23:03:55 GMT References: Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 19 > To do this, I needed to get to `viewport.vertical', the vertical scrollbar; > however, there's no `clean' way to get that part of the composite, that I > could deduce. You're right this functionality is not supported. > So, I import ViewportP.h and just access the structure member > for the XtInstallAccelerators call. Is this the kosher way to do it? No, there is no way to do it. This may break horribly at some point in the future. > Is there something I missed in the manual? Nope, perhaps we should document the names of the scrollbars, then you could use XtNameToWidget(). Chris