Mercurial > dwindows
diff readme.txt @ 2532:457c91634881
Added dw_window_compare() to check if two window handles refer to the same object.
Most platforms just compare the pointer or handle, but Android uses IsSameObject().
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 11 May 2021 05:00:07 +0000 |
parents | e57765c7a437 |
children | dbd15c13f5bb |
line wrap: on
line diff
--- a/readme.txt Tue May 11 00:51:20 2021 +0000 +++ b/readme.txt Tue May 11 05:00:07 2021 +0000 @@ -83,6 +83,10 @@ 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 new function dw_window_compare() to check if two window handles + reference the same object. Necessary in the Android port since + handles passed to callbacks are local references, so they don't + match the handles saved during window creation. Added support for dw_window_set_font() with a NULL font parameter. This resets the font used on the widget to the default font. Fixed GTK warnings on GTK3 caused by using Pango style font syntax.