changeset 2364:9ae60d8f4ea3

Add dw_render_redraw() information to the readme.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 12 Mar 2021 22:07:33 +0000
parents d7688c3ec43f
children 77686ad495ba
files readme.txt
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/readme.txt	Fri Mar 12 22:03:50 2021 +0000
+++ b/readme.txt	Fri Mar 12 22:07:33 2021 +0000
@@ -65,6 +65,11 @@
     mouse pointer grabbing and such are unable to function.
     I recommend sticking with X11 for now, but built with GTK3 or
     GTK4 Dynamic Windows applications will run on Wayland now.
+Added dw_render_redraw() function to trigger a DW_SIGNAL_EXPOSE 
+    event on render widgets allowing drawing to happen in the
+    callback. GTK4 and GTK3 with Wayland require drawing to be 
+    done in the callback, necessitating a dw_render_redraw() or
+    dw_flush() call.  dw_flush() may cause multiple draw passes.
 Added support for dw_window_set_font() with a NULL font paramaeter.
     This resets the font used on the widget to the default font.
 Fixed GTK warnings on GTK3 caused by using Pango style font syntax.