What i know is: GTKDirectFB creates ONE dfb-window and ONE surface for the
Top Level Window. For any child window, dfb-window and surface is not
created rather a subsurface of the TopLevel Surface is assigned to the
widget. Hope this is correct and it answers your query.

Regards,
Siddharth



-----Original Message-----
From: Arvind Ayyangar [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 04, 2007 4:14 PM
To: Kumar Siddharth
Cc: directfb-dev
Subject: Re: [directfb-dev] surfaces associated with a window


gdk_directfb_surface_lookup returns only one surface. What about the
other surfaces associated with the window.
for e.g, in gtk applications, wen u add many widgets into the
container, many surface are created, which probably correspondto each
widget. But only one directfb window is created, which is for the top
level window. The surface returned is on the top level window in this
case. The surfaces of the other widgets are not returned..

how does gtk/dfb know which surfaces are to be painted when a
gtk_widget_show call is made?

On 1/4/07, Kumar Siddharth <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> You may try "IDirectFBSurface* gdk_directfb_surface_lookup(GdkWindow
> *window)" ..
>
> Regards,
> Siddharth
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Arvind Ayyangar
> Sent: Thursday, January 04, 2007 3:10 PM
> To: directfb-dev
> Subject: [directfb-dev] surfaces associated with a window
>
>
> hi ppl,
>  how can I get the surfaces associated with a window?
> Is there an API?
>
> --
> Regards
> ARviND AyyangaR
>
> _______________________________________________
> directfb-dev mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>
>


_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to