[comp.soft-sys.andrew] button sets

tpn+@ANDREW.CMU.EDU (Tom Neuendorffer) (01/18/91)

Excerpts from mail: 16-Jan-91 sysmgr@romaint.UUCP (436)

> I'm having difficulty figuring out how to set up a panel of buttons
> (ideally icons), and then being able to switch one panel for another in
the same locations.  

ADEW may be what you are looking for. Try looking through the
documentation in andrew/doc/adew, starting with the overview, and
proceeding through the tutorial and the reference manual. You can use
the buttonv object, which can deal with icons if they have been
converted to characters in a font. Paste a page object in your
application where you want your button sets. Next, paste in an lset,
split it up, and paste in the desired buttons. Then use the paste option
on the 'Flip' menu card to paste in another lset for your next set of
button. The documentation should get you working from there.

	Tom Neuendorffer

dgross@rchland.iinus1.ibm.com (Dave Gross) (01/19/91)

Excerpts from ext.cmu.info-andrew: 17-Jan-91 button sets
TomNeuendorffer@RCHGATE (837+0)

> paste in an lset, split it up, and paste in the desired buttons.

One thing I dislike about lsets (and lpairs) is that the lines always
show up. Is there a way to have invisible dividing lines for lpairs? 
This would makea collection of icon-buttons look much nicer.

-- Dave

tpn+@ANDREW.CMU.EDU (Tom Neuendorffer) (01/19/91)

Excerpts from mail: 18-Jan-91 Re: button sets Dave Gross@rchland.iinus (369+0)

> One thing I dislike about lsets (and lpairs) is that the lines always
> show up.  Is there a way to have invisible dividing lines for lpairs? 

Not currently, though I have recently been thinking along the same
lines. I'll be fixing lpair to make this optional, and giving some
thought to the best way provide this functionality to ADEW applications.

	Tom

njw@doc.imperial.ac.uk (01/19/91)

>One thing I dislike about lsets (and lpairs) is that the lines always
>show up. Is there a way to have invisible dividing lines for lpairs?

instead of using lpair, use bpair.
This is a subclass of lpair, which overrides the
update methods to get rid of that line.

It's part of the standard stuff, probably in supportviews
or somewhere like that if you want to hunt up the source.

Documentation... Hah! :-)

Nick.

---
Nick Williams.                        "It's all gone... *Horribly* wrong."
njw@doc.ic.ac.uk   ... Dept of Computing, Imperial College, London SW7 2B7.  UK
njw@athena.mit.edu ... Project Athena, M.I.T., Cambridge, MA 02139. USA

Disclaimer: Any opinions or views you may find hiding in this message are 
mine: noone else wants them.

wjh+@ANDREW.CMU.EDU (Fred Hansen) (01/19/91)

Excerpts from internet.info-andrew: 18-Jan-91 Re: button sets
njw@doc.imperial.ac.uk (755)

> instead of using lpair, use bpair.  This is a subclass of lpair, which
> overrides the update methods to get rid of that line.

It's ... in supportviews....
> Documentation... Hah! :-)

Oops, I seem not to have documented bpair, which I wrote as a part of
lookz.  The complete documentation can't be said any much better than
what Dave Gross has already said.

Fred Hansen