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