Mercurial > dwindows
annotate dwindows1.pc.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 | 5f0e4ca14dcd |
children |
rev | line source |
---|---|
1850
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
1 prefix=@prefix@ |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
2 exec_prefix=${prefix} |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
3 libdir=${exec_prefix}/lib |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
4 includedir=${exec_prefix}/include |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
5 |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
6 Name: dwindows |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
7 Description: Dynamic Windows Cross platform UI Toolkit |
495793f9b503
Create a dwindows.pc during install to support pkg-config in
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
8 Version: @VERSION@ |
1852
5f0e4ca14dcd
Whoops missing some vital parts from the dwindows1.pc.in file.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1850
diff
changeset
|
9 Libs: -L${prefix}/lib -ldwindows @LIBS@ |
5f0e4ca14dcd
Whoops missing some vital parts from the dwindows1.pc.in file.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
1850
diff
changeset
|
10 Cflags: -I${prefix}/include @CFLAGS@ -D@DW_DEFINE@ |