[comp.windows.x] Using Save-under

haines@bbn.com (Ted Haines) (01/03/90)

We have an application using the HP workspace widget to
which we are adding popup menus.  The obvious approach using
the HP menu widgets goes in easily but unfortunately causes
a refresh to the workspace which is fairly slow.  We are
presently using the MIT X11R3 Sun 3 server.

I would think that using save-under would be the best
approach if it can be made to work.  Is that reasonable?  Is
there any way to get this combination to support save-under?
Is there some other approach?  Or should we keep a pixmap
copy of the workspace and refresh from that?

Does the Motif server and menu widget support save_under?

klee@chico.pa.dec.com (Ken Lee) (01/03/90)

In article <50297@bbn.COM>, haines@bbn.com (Ted Haines) writes:
> Does the Motif server and menu widget support save_under?

Motif does not include a server.  It should work with any server
satisfying the MIT protocol specifications.  The Xt intrinsics support
save_under though the save_under field of the public shell widget
(section 4.1.3 of the Xt manual).  Note that many current save_under
implementations are not especially fast, so you should probably test
this on you impelementation.

Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@decwrl.dec.com
uucp: uunet!decwrl!klee

libby@osf.osf.org (Libby Sackett) (01/04/90)

In article <50297@bbn.COM> haines@BBN.COM () writes:
>
>Does the Motif server and menu widget support save_under?

In addition to what Ken Lee pointed out (Motif doesn't contain
a server, the Intrinsics Shell supports save_under), the Motif
Menu Shell which is used by a popup menu does support save_under.

Libby Sackett,
QA