mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
widget: Clarify docs on gtk_widget_set_double_buffered()
Also make them more scary so people really really don't use it as a random knob when trying to make things go fast. //bugzilla.gnome.org/show_bug.cgi?id=750505
This commit is contained in:
parent
ef93257db7
commit
1cc8de2412
@ -9336,11 +9336,16 @@ gtk_widget_get_app_paintable (GtkWidget *widget)
|
||||
* pixmap will not happen automatically (as it is done in
|
||||
* gdk_window_begin_paint_region()).
|
||||
*
|
||||
* Since 3.10 this function only works for widgets with native
|
||||
* windows.
|
||||
* In 3.10 GTK and GDK have been restructured for translucent drawing. Since
|
||||
* then expose events for double-buffered widgets are culled into a single
|
||||
* event to the toplevel GDK window. If you now unset double buffering, you
|
||||
* will cause a separate rendering pass for every widget. This will likely
|
||||
* cause rendering problems - in particular related to stacking - and usually
|
||||
* increases rrendering times significantly.
|
||||
*
|
||||
* Deprecated: 3.14: This does not work under non-X11 backends,
|
||||
* and it should not be used in newly written code.
|
||||
* Deprecated: 3.14: This function does not work under non-X11 backends or with
|
||||
* non-native windows.
|
||||
* It should not be used in newly written code.
|
||||
**/
|
||||
void
|
||||
gtk_widget_set_double_buffered (GtkWidget *widget,
|
||||
|
Loading…
Reference in New Issue
Block a user