Mercurial > dwindows
comparison mobile.txt @ 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 | dd0b29320a3d |
children | d15517b49638 |
comparison
equal
deleted
inserted
replaced
2756:4f09bf72b391 | 2757:b91bc30d0e4a |
---|