home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / motif / 5714 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  2.4 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mlb.semi.harris.com!trantor.harris-atd.com!dw3f.ess.harris.com!ccarpent
  2. From: ccarpent@dw3f.ess.harris.com (Craig Carpenter)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: Selection Dialog Box Dialog Types
  5. Message-ID: <1992Aug20.124009.27684@trantor.harris-atd.com>
  6. Date: 20 Aug 92 12:40:09 GMT
  7. Sender: news@trantor.harris-atd.com (News stuff)
  8. Reply-To: ccarpent@dw3f.ess.harris.com (Craig Carpenter)
  9. Organization: Harris GISD
  10. Lines: 53
  11.  
  12. --
  13. I am using a GUI builder to build my UIL and have seen some wierdness
  14. with the Selection
  15. Box and I do not understand why.
  16.  
  17. The Dialog Types for the Canned Selection Dialog are selectable and are
  18. set in the UIL, for 
  19. example
  20.  
  21. object box_Filter_Selection : XmSelectionDialog widget {
  22.     arguments {
  23.         XmNautoUnmanage = true;
  24.         XmNdialogStyle = XmDIALOG_APPLICATION_MODAL;
  25.         XmNdialogTitle = 'FILTER SELECTION';
  26.         XmNselectionLabelString = 'SELECTION';
  27.         XmNlistLabelString = 'FILTERS';
  28.         XmNdialogType = XmDIALOG_WORK_AREA;
  29.         XmNx = 490;         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^=======Set here
  30.         XmNy = 40;
  31.         XmNwidth = 214;
  32.         XmNheight = 295;
  33.     };
  34.     controls {
  35.     };
  36.     callbacks {
  37.         XmNokCallback =  procedure cb_Filter_Open_Ok(0);
  38.     };
  39. };
  40.  
  41. Once this object is realize on the display via Mrm it ignores the Dialog
  42. type and uses the  
  43. default selection box widget. It does not matter which of the type I use
  44. I get the same results
  45. and I can't change it in the code. X gives me a warning about unable to
  46. change dialog type.
  47.  
  48. Anyone have any clues as to why this is happening. Is this a Motif bug,
  49. or a GUI builder 
  50. problem. Since the UIL Looks good I can't believe that the Builder is
  51. causing the problem.
  52.  
  53. Thanks
  54.  
  55. ============================================================================= 
  56.                                                  
  57. Craig Carpenter                                   HARRIS CORPORATION
  58. E-Mail: ccarpent@dw3f.ess.harris.com       IIIIIIIII    SSSSSSSS   DDDDDDD
  59. Phone : (407)984-6444                         I        S          D      D
  60. Fax   : (407)984-6327                         I        SSSSSSSS   D      D
  61.                                               I               S   D      D
  62. "Me, Myself, and I have                   IIIIIIIII    SSSSSSSS   DDDDDDD
  63. these opinions, not the company"
  64. ============================================================================
  65.