home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!gatech!usenet.ins.cwru.edu!agate!ucbvax!BAT.GSFC.NASA.GOV!ks
- From: ks@BAT.GSFC.NASA.GOV (ASTS Ken Sall)
- Newsgroups: comp.windows.x.motif
- Subject: Ruler using Scale: Correction
- Message-ID: <9212231700.AA19808@bat.gsfc.nasa.gov>
- Date: 23 Dec 92 17:00:39 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: inet
- Organization: The Internet
- Lines: 30
-
- Oops, I recently posted a partially incorrect response to Mark S. Bubien:
-
- Mark>> I am looking for a way to put rulers into a Motif window.
-
- Me> Use XmScale widget with numerous children XmLabel widgets, one set for
- Me> the tick marks (label: "|") and one set for the numerics.
- ... rest deleted ...
-
- I should have said:
-
- Use XmScale widget with numerous children XmLabel widgets, with each label
- containing both the numeric and a tick mark (label: "|").
-
- My labels are of the form:
-
- ScaleTest*slider*label1.labelString: 0\n|
- ScaleTest*slider*label2.labelString: 25\n|
- ScaleTest*slider*label3.labelString: 50\n|
- ScaleTest*slider*label4.labelString: 75\n|
- ScaleTest*slider*label5.labelString: 100\n|
-
- ------------------------------------------------------------------------
- Ken Sall
- ksall@cen.com ks@bat.gsfc.nasa.gov
-
- Century Computing, Inc. TAE Plus project
- Laurel, MD 20707 under contract to:
- (301) 953-3330 NASA/Goddard Space Flight Center
- ------------------------------------------------------------------------
-
-