view 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
line wrap: on
line source


[Desktop Entry]
Name=Dynamic Windows Test
Exec=@prefix@/bin/dwtest 
Terminal=false
MultipleArgs=false
Type=Application
Categories=Application;Development;X-Red-Hat-Base;