Robert Roessler: > Also, for the GTK2 case, aren't the scrollbars separate done as > windows/widgets?
A change from GTK+ 1.x to 2.x was that scrollbars (derived from GtkRange) are still widgets but no longer windows. http://developer.gnome.org/doc/API/2.0/gtk/gtk-changes-2-0.html From gtk/gtkrange.c: gtk_range_init (GtkRange *range) { GTK_WIDGET_SET_FLAGS (range, GTK_NO_WINDOW); The problematic synchronous draw code: gtk_range_adjustment_value_changed ( GtkAdjustment *adjustment, gpointer data) { GtkRange *range = GTK_RANGE (data); range->need_recalc = TRUE; gtk_widget_queue_draw (GTK_WIDGET (range)); /* This is so we don't lag the widget being scrolled. */ if (GTK_WIDGET_REALIZED (range)) gdk_window_process_updates (GTK_WIDGET (range)->window, FALSE); Neil _______________________________________________ Scintilla-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scintilla-interest
