nanogui: silkscreen buttons, GrCloseWindows


Previous by date: 15 Nov 2000 12:01:56 -0000 silkscreen buttons, GrCloseWindows, CCYau
Next by date: 15 Nov 2000 12:01:56 -0000 Re: silkscreen buttons, GrCloseWindows, Morten Rolland
Previous in thread: 15 Nov 2000 12:01:56 -0000 silkscreen buttons, GrCloseWindows, CCYau
Next in thread: 15 Nov 2000 12:01:56 -0000 Re: silkscreen buttons, GrCloseWindows, Morten Rolland

Subject: Re: silkscreen buttons, GrCloseWindows
From: Alex Holden ####@####.####
Date: 15 Nov 2000 12:01:56 -0000
Message-Id: <Pine.LNX.4.04.10011151152300.1219-100000@hyperspace.linuxhacker.org>

On Wed, 15 Nov 2000, CCYau wrote:
> How can I cleanly kill a sub-process using Gr Windows function?

The client needs to select for the event GR_EVENT_TYPE_CLOSE_REQ, and
exit when it receives it. Note that GrCloseWindow() doesn't actually close
the window; it just sends a close request event to it (so the client can
pop up a "do you want to save your open files first" box or something if
it wants). GrKillWindow() forcibly disconnects the client from the server
and removes all it's windows (it's intended to be used only if the client
crashes)- it doesn't actually kill the client, but generally the client
will exit the next time it tries to access the connection to the server
and finds that it's been disconnected.

-- 
------- Alex Holden -------
http://www.linuxhacker.org/
 http://www.robogeeks.org/


Previous by date: 15 Nov 2000 12:01:56 -0000 silkscreen buttons, GrCloseWindows, CCYau
Next by date: 15 Nov 2000 12:01:56 -0000 Re: silkscreen buttons, GrCloseWindows, Morten Rolland
Previous in thread: 15 Nov 2000 12:01:56 -0000 silkscreen buttons, GrCloseWindows, CCYau
Next in thread: 15 Nov 2000 12:01:56 -0000 Re: silkscreen buttons, GrCloseWindows, Morten Rolland


Powered by ezmlm-browse 0.20.