home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / motif / 8206 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  1.5 KB

  1. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!gatech!usenet.ins.cwru.edu!agate!ucbvax!BAT.GSFC.NASA.GOV!ks
  2. From: ks@BAT.GSFC.NASA.GOV (ASTS Ken Sall)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: Ruler using Scale: Correction
  5. Message-ID: <9212231700.AA19808@bat.gsfc.nasa.gov>
  6. Date: 23 Dec 92 17:00:39 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: inet
  9. Organization: The Internet
  10. Lines: 30
  11.  
  12. Oops, I recently posted a partially incorrect response to Mark S. Bubien: 
  13.  
  14.  Mark>> I am looking for a way to put rulers into a Motif window.
  15.  
  16.  Me> Use XmScale widget with numerous children XmLabel widgets, one set for
  17.  Me> the tick marks (label: "|") and one set for the numerics.
  18.    ... rest deleted ...
  19.  
  20. I should have said:
  21.  
  22.    Use XmScale widget with numerous children XmLabel widgets, with each label
  23.    containing both the numeric and a tick mark (label: "|").
  24.  
  25. My labels are of the form:
  26.  
  27. ScaleTest*slider*label1.labelString:        0\n|
  28. ScaleTest*slider*label2.labelString:        25\n|
  29. ScaleTest*slider*label3.labelString:        50\n|
  30. ScaleTest*slider*label4.labelString:        75\n|
  31. ScaleTest*slider*label5.labelString:        100\n|
  32.  
  33. ------------------------------------------------------------------------
  34. Ken Sall
  35. ksall@cen.com                        ks@bat.gsfc.nasa.gov
  36.  
  37. Century Computing, Inc.              TAE Plus project
  38. Laurel, MD 20707                     under contract to:
  39. (301) 953-3330                       NASA/Goddard Space Flight Center
  40. ------------------------------------------------------------------------
  41.  
  42.