Mercurial > dwindows
diff org.dbsoft.dwindows.dwtest.desktop.in @ 2757:b91bc30d0e4a
GTK4: dw_menu_popup() coordinates are relative to the parent window.
The coordinates in the context events in GTK4 had been relative to the
container or tree widget, causing the menu to popup in offset locations.
Added a function to convert from the widget coordinate to the window.
The events now pass window relative coordinates so when passed to
dw_menu_popup() the menu appears in about the right location.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 03 Jan 2022 15:45:15 +0000 |
parents | e6d212a978fe |
children |