[comp.soft-sys.andrew] buttons

gk5g+@ANDREW.CMU.EDU (Gary Keim) (01/16/91)

Excerpts from misc: 15-Jan-91 sysmgr@romaint.UUCP (869)

> 2) Are there existing classes/packages that enable me to create and manage
> panels of buttons (ideally with bitmaps on them).  I have multiple sets of
> buttons that must occupy the same screen area depending on the programming 
> mode I'm in -- I need a way to easily switch between them.  Is "palette"
a possibility? 

The palette documentation is lacking.  Palette is not used by any ATK
applications.

There is a class called suite that does have some documentation and
working examples.  The class ( including documentation ) is located in
andrew/atk/apt/suite.  The bush application uses several instances of
the suite class which you could use as a model.  The pertinent module is
andrew/atk/bush/bushv.c.  

I know of no ATK class that manages multiple button panels.  You need to
instantiate each different button panel and only link the currently
active panel into the view tree.  

Gary Keim
ATK Group

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

Excerpts from internet.info-andrew: 15-Jan-91 Re: buttons Gary Keim (965+0)

> I know of no ATK class that manages multiple button panels.  You need to
> instantiate each different button panel and only link the currently
> active panel into the view tree.  

ADEW does have a 'page' object which can be used for overlaying
different button panels in one area of the screen.  I've been using it
for some experimental stuff and it has worked fine, so far.

Fred Hansen