With the double buffering turned on, any drawing is
pushed onto a stack before the updated window is made
visible.

Is it possible to reverse the stack just before the
flush in order to boost the performance?

Kev

--- John Cupitt <[EMAIL PROTECTED]> wrote:

> On 10/5/05, Kevin Brooks <[EMAIL PROTECTED]> wrote:
> > I don't know how to reverse the rendering order
> > though.
> 
> I implement a 'pop - to - front' effect with layered
> widgets with
> 
>   g_object_ref( thing );
>   gtk_container_remove( container, thing );
>   gtk_container_add( container, thing );
>   g_object_unref( thing );
> 
> ie. you remove and re-add the child to get it to the
> top. The _ref()
> stops the child being destroyed when it is removed.
> 
> You could use this to reverse the order of the child
> widgets, but I
> guess it would probably flicker a lot.
> 
> J
> 



                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to