Mercurial > dwindows
annotate 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 |
rev | line source |
---|---|
2110
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
1 |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
2 [Desktop Entry] |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
3 Name=Dynamic Windows Test |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
4 Exec=@prefix@/bin/dwtest |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
5 Terminal=false |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
6 MultipleArgs=false |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
7 Type=Application |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
8 Categories=Application;Development;X-Red-Hat-Base; |