Re: [ROOT] GUI-Window always on top, even when not active

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Jun 04 2002 - 15:26:18 MEST


Hi Valeri,

  this has nothing to do with GDK/Win32 but with the way the ROOT GUI
works. If you implement correctly the Qt TVirtualX interface your
version will behave the same. The issue is that windows deriving from
TGTransientFrame are dialog windows that stay on top of their parent
TGMainFrames. If you want a window that can be put to the back use a
TGMainFrame derived class.

Cheers, Fons.



On Tue, 2002-06-04 at 15:02, Valeri Fine wrote:
>  One needs no guess job here.
> 
>  Usually the WIN32 applications behave as one expects. This indicates the
> window attributes
> of those dialogs are not set properly and the  author of Win32Gdk version
> should fix this.
> 
>   Valeri
> 
> ----- Original Message -----
> From: "Brett Viren" <bv@bnl.gov>
> To: "Andreas Zoglauer" <zog@mpe.mpg.de>
> Cc: "ROOTtalk mailing list" <roottalk@pcroot.cern.ch>
> Sent: Tuesday, June 04, 2002 8:46 AM
> Subject: Re: [ROOT] GUI-Window always on top, even when not active
> 
> 
> > Andreas Zoglauer writes:
> >  > When one looks at the example "guitest" and one opens the editor (with
> >  > the "Open Editor" button) then the editor is always the topmost window
> of
> >  > the guitest example, i.e. even when I click at the main program
> GuiTest,
> >  > then it gets activated, but the editor remains in front of it.
> >
> > This may be a window manager issue.  Do you have "keep transients
> > above parent's window" or something similar set in whatever
> > w.m. configuration you are using?  Eg, in Sawfish this is under the
> > "Misc" area of the configuration app.
> >
> > -Brett.
> >
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:54 MET