Mercurial > dwindows
annotate org.dbsoft.dwindows.dwtest.desktop.in @ 2300:6e47d510dbbb
GTK4: Since GTK4 needs to add the popup menu to the parent widget...
We need to remove it after the popup closes, so we trap the "close" signal
and try to remove the popup from the parent. Since the "close" signal gets
called before the menu's "activate" signal, we have to delay unparenting
until after the "activate" signal handler is run. Otherwise the menu
objects won't be valid for the "activate" handler, therefore we add an idle
callback to unparent the widget when the rest of the processing is done.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 08 Feb 2021 10:49:50 +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; |