Lisp HUG Maillist Archive

a few lww questions

1. Is there an easy (i.e. built-in...) way for an LWw-based application to 
   trigger a connection to the internet (like browsers and mail programs
   tend to do)?
2. How can I make a window float (stay on top)?
-- 
  (espen)


Re: a few lww questions

Espen Vestre <ev@netfonds.no> writes:

> 1. Is there an easy (i.e. built-in...) way for an LWw-based
> application to trigger a connection to the internet (like browsers
> and mail programs tend to do)?

You mean other than by (require "comm") and COMM:OPEN-TCP-STREAM?
Make the user's modem dial automatically?  In Germany, we send
programmers to prison who do that ;-)

Regards,
-- 
Nils Gösche
"Don't ask for whom the <CTRL-G> tolls."

PGP key ID 0x0655CFA0


Re: a few lww questions

Unable to parse email body. Email id is 827

Re: a few lww questions

davef@xanalys.com writes:

>    2. How can I make a window float (stay on top)?
> 
> In theory you can do it on Windows, though the CAPI does not provide a
> way.
> 
> It isn't possible on Motif because there is no way to tell the window
> manager to do that.  The :OWNER argument to CAPI:DISPLAY might make a
> window stay above its owner, if the window manager works properly.

This isn't really dependent on Motif but on the window manager. Within
standard ICCCM it's fairly complicated but can be done by using
ConfigureWindow requests to change the window stack. The downside of
this is that you need to keep track of the window stack yourself. If
you use a more modern window manager (something gnome or kde
compliant) you can do it by setting the window type to floating.

-- 
People don't bore me. I like people. - Really? All of them? - All of them. -
Even the creepy ones? - Nobody's creepy from the inside, Hazel.  Some of them 
are sad, and some of them hurt, and some of them think they're the only real 
thing in the whole world. But they're not creepy.         --  Hazel and Death


Updated at: 2020-12-10 09:01 UTC