Hi,

Oliver Gabel <[EMAIL PROTECTED]> writes:

> It seems that windows don`t have parents (or a parent attribute)
> in directFB.  In X11 the CreateSimpleWindow() funktion takes
> the parent window`s id as an argument.
> Now, it is crucial for widget sets that  windows can have  child
> windows,
> that move when the parent is moved, etc.  Is this the case, and how
> did you port  Gtk to DirectFB then?

DirectFB only knows toplevel windows. The single relationship a 
toplevel window has with other windows is the stacking order in
the window stack. In GTK+-DirectFB only GDK_WINDOW_TOPLEVEL, 
GDK_WINDOW_DIALOG and GDK_WINDOW_TEMP map to DirectFB windows.
GDK windows of type GDK_WINDOW_CHILD are created as subsurfaces
on the parent window and thus automatically move with the parent.


Salut, Sven


-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to