Benoit Carpentier <[EMAIL PROTECTED]> writes: > lines 199 to 209 : > > if (GTK_WIDGET_MAPPED (widget) && > paned->child1->allocation.height < > child1_allocation.height) > { > gtk_widget_size_allocate (paned->child2, > &child2_allocation); > gtk_widget_size_allocate (paned->child1, > &child1_allocation); > } > else > { > gtk_widget_size_allocate (paned->child1, > &child1_allocation); > gtk_widget_size_allocate (paned->child2, > &child2_allocation); > } > > why is the order of allocating paned->child1 and > paned->child2 important here ?
Because if the child widgets have windows, then allocating them in the other order would make the windows overlap briefly, which causes unnecessary flicker and repainting. Søren _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list