home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.motif
- Path: sparky!uunet!munnari.oz.au!mel.dit.csiro.au!jaguar!tim
- From: tim@catt.citri.edu.au (Tim Liddelow)
- Subject: How do I make the lists in a FileSelectionBox/Dialog not resize ?
- Message-ID: <1993Jan5.233515.18811@mel.dit.csiro.au>
- Keywords: X,motif,dialog
- Sender: news@mel.dit.csiro.au
- Reply-To: tim@catt.citri.edu.au
- Organization: CATT Centre at CITRI
- Date: Tue, 5 Jan 93 23:35:15 GMT
- Lines: 23
-
- I have a problem with a FileSelectionDialog (that I have modified). I have changed
- the 'XmNfileSearchProc' resource to point to my own routine so I can selectively
- fill up the 'Files' list widget. The problem I find is that when the strings in
- the 'Files' list widget change, I get all this ugly resizing of both the 'Files' list
- and the 'Directories' list. I have tried stuff like
-
- XtVaSetValues(XmFileSelectionBoxGetChild(my_file_req, XmDIALOG_LIST,
- XmNlistSizePolicy, XmCONSTANT,
- NULL);
-
- but this doesn't seem to have much effect. Any ideas ?
-
- Thanks in advance
- ---
- ________________________________________________________________________________
- Tim Liddelow for(;;) fork();
- Systems Programmer
- Centre of Advanced Technology in Telecommunications My brain on a bad day.
- CITRI, Melbourne, Australia
- internet : tim@kimba.catt.citri.edu.au
- Phone : +61 3 282 2455 Fax : +61 3 282 2444
- ________________________________________________________________________________
-
-