home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / 20704 < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.5 KB  |  37 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!das.wang.com!wang!news
  3. From: dov@menora.weizmann.ac.il (Dov Grobgeld)
  4. Subject: Xaw text widget with reverse geometry
  5. Organization: The Weizmann Institute of Science, Israel
  6. Date: Sun, 3 Jan 1993 11:05:00 GMT
  7. Message-ID: <9301031114.AA17775@menora.weizmann.ac.il>
  8. Sender: news@wang.com
  9. Lines: 26
  10.  
  11. How difficult would it be to make a 'reversed geometry' version of
  12. the Xaw text widget? This would be necessary to input Hebrew.
  13. The only diffence I want to have in this widget is a resource called
  14. reverse, which when set 'true' will make the widget place the 
  15. characters in the widget with offset from the right margin instead
  16. of the left.
  17.  
  18. Here's an example:
  19.  
  20.    reverse=false                       reverse=true
  21.    +-----------------+                 +----------------+
  22.    | abcde           | <- text      -> |          edcba | 
  23.    |                 |    widgets      |                |
  24.    +-----------------+                 +----------------+
  25.    
  26. Any takers? Or can anyone describe to me what I would have to do
  27. to create this new resource?   
  28.  
  29. --
  30.                                                         ___   ___
  31.                                                       /  o  \   o \
  32. Dov Grobgeld                                         ( o  o  ) o   |
  33. The Weizmann Institute of Science, Israel             \  o  /o  o /
  34. "Where the tree of wisdom carries oranges"              | |   | |
  35.                                                        _| |_ _| |_
  36.                                        
  37.