home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / motif / 8356 < prev    next >
Encoding:
Text File  |  1993-01-06  |  1.5 KB  |  36 lines

  1. Newsgroups: comp.windows.x.motif
  2. Path: sparky!uunet!munnari.oz.au!mel.dit.csiro.au!jaguar!tim
  3. From: tim@catt.citri.edu.au (Tim Liddelow)
  4. Subject: How do I make the lists in a FileSelectionBox/Dialog not resize ?
  5. Message-ID: <1993Jan5.233515.18811@mel.dit.csiro.au>
  6. Keywords: X,motif,dialog
  7. Sender: news@mel.dit.csiro.au
  8. Reply-To: tim@catt.citri.edu.au
  9. Organization: CATT Centre at CITRI
  10. Date: Tue, 5 Jan 93 23:35:15 GMT
  11. Lines: 23
  12.  
  13. I have a problem with a FileSelectionDialog (that I have modified).  I have changed
  14. the 'XmNfileSearchProc' resource to point to my own routine so I can selectively
  15. fill up the 'Files' list widget.  The problem I find is that when the strings in
  16. the 'Files' list widget change, I get all this ugly resizing of both the 'Files' list
  17. and the 'Directories' list.  I have tried stuff like
  18.  
  19. XtVaSetValues(XmFileSelectionBoxGetChild(my_file_req, XmDIALOG_LIST,
  20.     XmNlistSizePolicy, XmCONSTANT,
  21.     NULL);
  22.  
  23. but this doesn't seem to have much effect.  Any ideas ?
  24.  
  25. Thanks in advance
  26. ---
  27. ________________________________________________________________________________
  28.   Tim Liddelow                                          for(;;) fork();
  29.   Systems Programmer
  30.   Centre of Advanced Technology in Telecommunications   My brain on a bad day.
  31.   CITRI, Melbourne, Australia                           
  32.   internet : tim@kimba.catt.citri.edu.au                
  33.   Phone : +61 3 282 2455   Fax : +61 3 282 2444            
  34. ________________________________________________________________________________
  35.  
  36.