On 1/8/06, Alex Lau <[EMAIL PROTECTED]> wrote: > Mike Emmel wrote: > > On 1/8/06, Alex Lau <[EMAIL PROTECTED]> wrote: > >> Denis Oliver Kropp wrote: > >>> Mike Emmel wrote: > >>>> While your at it :) > >>>> > >>>> Gdk has two methods called > >>>> gdk_window_set_keep_above > >>>> gdk_window_set_keep_below > >> On top of this two function, I did try to add some new api on directfb.h > >> ( my version ) e.g. IDirectFBWindow_Maximize .. > >> I think this is not a good way to handle it .... and I'm thinking maybe > >> extending unique for doing the same thing, but then I need to import > >> unique in gdkdfb in order to make that work... > >> either way we need extra api for it to work, which is the direction you > >> are expecting? > > > > Don't implement or depend on the gdk api we need a similar pure > > directfb > > > > DirectfbWM->SetKeepAbove(DirectfbWM wm,IDirectFBWindow > > bottom,IDirectFBWindow top); > > > > Or something similar. > > > > You need a new abstract interfaces I think for window managers. > > > > Denis can help here. > > I see at the moment there isn't and IDirectFBWindowManager, I can add > one. But when I read the gdk doc it seem gdk_window_set_keep_above is > always on TOP instead of just above the parent, am I wrong? > or It should be the child frame always on TOP of the top level parent > instead? > Good question :)
No thats not true actualy its up to the window manger but I re-read the specs and keep above move the window to a higher layer and keep below move int to a lower logical layer keep_below basically means on the desktop. keep_above means in the dialog or drag layer. Sorry I misunderstood the apis myself. I can do them via exsiting Directfb Layers I think let me look first. Mike > >>>> What there for is to prevent a dialog or important window from being > >>>> hidden > >>>> by its parent window. The semantics are different from the concept of > >>>> windows in multiple layers so if we really want to support this > >>>> correctly it needs to be done in the window manager. The other issue > >>>> is drag and drop. > >>>> Maybe Denis can comment on these issues ? > > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
