🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37198

viewport widget

#37198
From: Karen Thelen
Date: Thu, 22 Feb 1990 13:35
32 lines
1644 bytes
I have such an elementary problem.  I hope it has an elementary solution.
I am running R4 on a Sun4.  I have a list widget whose parent is a 
viewport widget.  The vertical scrollbar takes up the whole height of the 
widget and will not scroll the list.  I will not list all the things I 
have tried but ...  Oh by the way this code did run on a Sun3 R3.  

Here is the code:

    argcount = 0; 
    XtSetArg(arglist[argcount], XtNwidth, labelWidth); argcount++; 
    XtSetArg(arglist[argcount], XtNheight, halfWindowHeight); argcount++; 
    XtSetArg(arglist[argcount], XtNforceBars, True); argcount++;
    XtSetArg(arglist[argcount], XtNallowVert, True); argcount++;

    subview5 = XtCreateManagedWidget("subview5", viewportWidgetClass, vPaned1, 
                 arglist, argcount); 

    argcount = 0;
    XtSetArg(arglist[argcount], XtNwidth, windowWidth); argcount++;
    XtSetArg(arglist[argcount], XtNheight, halfWindowHeight); argcount++;
    XtSetArg(arglist[argcount], XtNdefaultColumns, 1); argcount++;
    XtSetArg(arglist[argcount], XtNlist, propertyList); argcount++;
    XtSetArg(arglist[argcount], XtNforceColumns, True); argcount++;
    properties = XtCreateManagedWidget("properties", listWidgetClass, subview5, 
                                   arglist, argcount);

Any ideas???


Thanks

KarenThelen
Technical Details
Message-ID: <59652@srcsip.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!uwm.edu!srcsip!terminus!thelen

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!uwm.edu!srcsip!terminus!thelen
From: thelen@SRC.Honeywell.COM (Karen Thelen)
Newsgroups: comp.windows.x
Subject: viewport widget
Message-ID: <59652@srcsip.UUCP>
Date: 22 Feb 90 13:35:53 GMT
Sender: news@src.honeywell.COM
Lines: 32