home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!mlb.semi.harris.com!trantor.harris-atd.com!dw3f.ess.harris.com!ccarpent
- From: ccarpent@dw3f.ess.harris.com (Craig Carpenter)
- Newsgroups: comp.windows.x.motif
- Subject: Selection Dialog Box Dialog Types
- Message-ID: <1992Aug20.124009.27684@trantor.harris-atd.com>
- Date: 20 Aug 92 12:40:09 GMT
- Sender: news@trantor.harris-atd.com (News stuff)
- Reply-To: ccarpent@dw3f.ess.harris.com (Craig Carpenter)
- Organization: Harris GISD
- Lines: 53
-
- --
- I am using a GUI builder to build my UIL and have seen some wierdness
- with the Selection
- Box and I do not understand why.
-
- The Dialog Types for the Canned Selection Dialog are selectable and are
- set in the UIL, for
- example
-
- object box_Filter_Selection : XmSelectionDialog widget {
- arguments {
- XmNautoUnmanage = true;
- XmNdialogStyle = XmDIALOG_APPLICATION_MODAL;
- XmNdialogTitle = 'FILTER SELECTION';
- XmNselectionLabelString = 'SELECTION';
- XmNlistLabelString = 'FILTERS';
- XmNdialogType = XmDIALOG_WORK_AREA;
- XmNx = 490; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^=======Set here
- XmNy = 40;
- XmNwidth = 214;
- XmNheight = 295;
- };
- controls {
- };
- callbacks {
- XmNokCallback = procedure cb_Filter_Open_Ok(0);
- };
- };
-
- Once this object is realize on the display via Mrm it ignores the Dialog
- type and uses the
- default selection box widget. It does not matter which of the type I use
- I get the same results
- and I can't change it in the code. X gives me a warning about unable to
- change dialog type.
-
- Anyone have any clues as to why this is happening. Is this a Motif bug,
- or a GUI builder
- problem. Since the UIL Looks good I can't believe that the Builder is
- causing the problem.
-
- Thanks
-
- =============================================================================
-
- Craig Carpenter HARRIS CORPORATION
- E-Mail: ccarpent@dw3f.ess.harris.com IIIIIIIII SSSSSSSS DDDDDDD
- Phone : (407)984-6444 I S D D
- Fax : (407)984-6327 I SSSSSSSS D D
- I S D D
- "Me, Myself, and I have IIIIIIIII SSSSSSSS DDDDDDD
- these opinions, not the company"
- ============================================================================
-