home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / motif / 8279 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.windows.x.motif
  2. Path: sparky!uunet!think.com!paperboy.osf.org!paperboy!drand
  3. From: drand@spinner.osf.org (Douglas S. Rand)
  4. Subject: Re: Is it possible to get at FileSelectionBox PushButtons?
  5. In-Reply-To: avinash@felix.contex.com's message of 31 Dec 92 15:27:42 GMT
  6. Message-ID: <DRAND.92Dec31112147@spinner.osf.org>
  7. Sender: news@osf.org (USENET News System)
  8. Organization: Open Software Foundation
  9. References: <3238@contex.contex.com> <3243@contex.contex.com>
  10. Date: 31 Dec 92 11:21:47
  11. Lines: 26
  12.  
  13. In article <3243@contex.contex.com> avinash@felix.contex.com (Avinash Chopde) writes:
  14.    ...
  15.    *XmFileSelectionBox.translations: #override \n\
  16.        <Btn2Down>,<Btn2Up>:    ManagerGadgetActivate() \n\
  17.        <Btn2Down>:    ManagerGadgetArm() \n\
  18.        <Btn2Up>:    ManagerGadgetActivate()
  19.  
  20.    ...
  21.    *XmMessageBox.translations: #override \n\
  22.        <Btn2Down>,<Btn2Up>:    ManagerGadgetActivate() \n\
  23.        <Btn2Down>:    ManagerGadgetArm() \n\
  24.        <Btn2Up>:    ManagerGadgetActivate()
  25.  
  26. I will point out that you are using the button normally
  27. used for drag and drop.  You should consider the implications
  28. of this for your users.  One of the reasons to use a particular
  29. widget set is the expectation that users will know the semantics
  30. of the controls.  The above would,  for example,  prevent 
  31. dragging from a label in the FileSelectionBox.
  32.  
  33.  
  34. --
  35. Douglas S. Rand <drand@osf.org>        OSF/Motif Dev.
  36. Snail:         11 Cambridge Center,  Cambridge,  MA  02142
  37. Disclaimer:    I don't know if OSF agrees with me... let's vote on it.
  38. Amateur Radio: KC1KJ
  39.