nanogui: Drawing Targets


Previous by date: 13 Jan 2000 23:17:56 -0000 Re: Drawing Targets, Darran D. Rimron
Next by date: 13 Jan 2000 23:17:56 -0000 Re: Drawing Targets, Darran D. Rimron
Previous in thread: 13 Jan 2000 23:17:56 -0000 Re: Drawing Targets, Darran D. Rimron
Next in thread: 13 Jan 2000 23:17:56 -0000 Re: Drawing Targets, Darran D. Rimron

Subject: RE: Drawing Targets
From: Greg Haerr ####@####.####
Date: 13 Jan 2000 23:17:56 -0000
Message-Id: <C1962B36D9BBD311B0F80060083DFEFB040FF2@SYS.CenSoft.COM>

: To a lesser extent, yes -- but what I need to do is stop the application
: seeig anything parent to it's own window, therefore spoofing to the
: application that the window it is in is actually the parent (root?)
: window of an empty screen.... (ie, for example, write a parent app that
: calls a modified version nterm.c in one window and, ok, um, say world.c
: in another, yes?)

Ahhh, you want session management...  This could be performed
by creating "session" windows that are no-border no-display
windows that are all z-order stacked on top of the real root window.
Then, whenever a new application is requested with a top-level
window, instead of creating it like the session windows with the
parent as the real root window, GrSetParent is called, to reparent
the new window onto one of the session windows.  To switch
sessions, just GrRaiseWindow the session window to the top
of the z order, and all it's children (now known as applications)
will be viewable....

A couple new API's for newing a session, and switching sessions,
and it's a done deal...

Regards,

Greg


Previous by date: 13 Jan 2000 23:17:56 -0000 Re: Drawing Targets, Darran D. Rimron
Next by date: 13 Jan 2000 23:17:56 -0000 Re: Drawing Targets, Darran D. Rimron
Previous in thread: 13 Jan 2000 23:17:56 -0000 Re: Drawing Targets, Darran D. Rimron
Next in thread: 13 Jan 2000 23:17:56 -0000 Re: Drawing Targets, Darran D. Rimron


Powered by ezmlm-browse 0.20.