home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / softsys / andrew / 1483 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  2.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!agate!ucbvax!ANDREW.CMU.EDU!tpn+
  2. From: tpn+@ANDREW.CMU.EDU (Tom Neuendorffer)
  3. Newsgroups: comp.soft-sys.andrew
  4. Subject: Re: adew-clicklist - Problems
  5. Message-ID: <8fH_PGG00hYSRC7LcO@andrew.cmu.edu>
  6. Date: 7 Jan 93 21:55:30 GMT
  7. References: <9301071509.AA07435@nessie.cs.id.ethz.ch>
  8. Sender: daemon@ucbvax.BERKELEY.EDU
  9. Distribution: world
  10. Organization: The Internet
  11. Lines: 35
  12.  
  13. Excerpts from internet.other.info-andrew: 7-Jan-93 adew-clicklist -
  14. Problems Germano Caronni@nessie.c (1254)
  15.  
  16.  
  17. > I have a clicklist-value, in which i insert a stirng-array, containing
  18. > some colons. As the font inside the table is always proportional,
  19. > and as I have not found any way to set the font or it's proportio-
  20. > nality, my colums will always be unaligned. (i cant use TAB)
  21. > Is there a possibility to set the font-style or the font itself ?
  22. > In Arb I can set a body-font, but this matters only for the title
  23. > of the clicklist-field, not for data which i assign later...
  24.  
  25. The clicklistv object has a pointer to a text object and a cltextview.
  26. To change the style of the text, you could create a style object and
  27. call text_SetGlobalStyle  on the text object (followed by a
  28. text_NotifyObservers call) . 
  29.  
  30. > How can I let choose the user more than one entry of the clicklist
  31. > at the same time ? Is there a method where i can find a whole
  32. > selected range ? (And how can I find out, which button he uses to
  33. > click on the entries? I think there is something like this in the
  34. > valuev.ch - but I could not figure out how to let it work. It seems
  35. > that only inputs with the left mouse-button acutally cause a callback...
  36.  
  37. The clicklist view was designed as a simple way to get back a single
  38. clicked-upon string from the user, and these options are simply not
  39. supported. You could make your own subclass of clklist or cltextview
  40. that would support these, or you could try using the stringtable object
  41. (atk/util/strtbl.c). If you need a quick option that doesn't require
  42. programming, you could use the menterstrv view , and just tell your
  43. users to type an X after each choice that applies. See the Adew
  44. reference manual for info on menterstrv.
  45.  
  46.     Good luck,
  47.         Tom
  48.