home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.x.motif:8742 comp.os.vms:21659 comp.windows.x:21446
- Newsgroups: comp.windows.x.motif,comp.os.vms,comp.windows.x
- Path: sparky!uunet!gatech!destroyer!cs.ubc.ca!mprgate.mpr.ca!vli
- From: vli@mpr.ca (Vincent Li)
- Subject: event flags in X/Motif
- Message-ID: <1993Jan22.000239.1435@mprgate.mpr.ca>
- Sender: news@mprgate.mpr.ca
- Organization: MPR Teltech Ltd., Burnaby, B.C., Canada
- Date: Fri, 22 Jan 93 00:02:39 GMT
- Lines: 28
-
- Hi Folks,
- I'm running on VMS 5.5-1, Motif 1.0 (I think).
- Got 3 questions I can't find in the FAQ's
-
- 1) Could my X/Motif application exe generated in this environment be able to
- run under VMS5.5-1 with DECwindows with XUI? If not, what should I look
- out for? I've seen some discussions concerning DECwindows & Motif already,
- but couldn't figure out a clear yes/no on this issue.
- 2) A real easy one, how do I ghost out a button (pushbutton widget/gadget) to
- prevent unprivileged user from selecting an option?
- 3) Can I have my Motif application be notified when a VMS event flag is set?
- (ie. one you get with sys$getef.) I've seen codes to work with VMS mailboxes
- before, but I would like, and have, all those $QIO code hidden well away.
- All my application does is make a call to connect and pass an event flag
- as the parameter. When something is in the mailbox, for example, the event
- flag get set. Currently, I simply wait for the event flags in the main line.
- (For some uses, I have an AST set the event flag which I wait for in the
- mainline.) Is there a way I can tell the X server the event flag set is an
- X event and add a callback of some kine to process it, or am I stuck with
- the processing in AST (which I can do now)?
-
- Thanks in advance.
-
- -- Vince
-
- ---------------------------------------
- vli@mprgate.mpr.ca |-) It works well under pressure: Another thing
- |-] you can say about your pillow. -- Mr Boffo
-