home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14618 < prev    next >
Encoding:
Internet Message Format  |  1992-07-30  |  912 b 

  1. Path: sparky!uunet!mcsun!corton!loria!loria.fr!roegel
  2. From: roegel@loria.fr (Roegel Denis)
  3. Newsgroups: comp.windows.x
  4. Subject: STOP: text translations in Athena widget
  5. Message-ID: <421@muller.loria.fr>
  6. Date: 30 Jul 92 11:20:48 GMT
  7. Sender: news@news.loria.fr
  8. Organization: CRIN (CNRS) Nancy - INRIA Lorraine
  9. Lines: 23
  10.  
  11.  
  12. Hello netters,
  13.  
  14.  
  15. This is a little question about the translations (of an Athena widget). 
  16.  
  17. I have a line looking
  18.  
  19. static String   text_translationsT = "\
  20.     <Key>Delete:    DeleteT() end-of-file() delete-previous-character()\n\
  21.         ...
  22.  
  23.  
  24. I would like to call delete-previous-character() only conditionnally, 
  25. depending on the result of DeleteT(). Let's assume that DeleteT() sets an 
  26. integer 'yes' either to 0 or 1, and that I want to call 
  27. delete-previous-character() when 'yes' is equal to 1.
  28.  
  29. How can I achieve it ?
  30.  
  31. Thanks very much in advance,
  32.  
  33. Denis.  INTERNET e-mail: roegel@loria.fr
  34.