View Single Post
fiferboy's Avatar
Posts: 475 | Thanked: 771 times | Joined on Dec 2007 @ Hamilton, Ontario, Canada
#112
General: I think you have asked a couple of time if anyone knows how to make the popup sensitive to outside taps (ie. pop down when clicking elsewhere on the screen).

You have to use a HildonDesktopPopupWindow as the main container widget, then connect a signal for the popdown event to a function that hides or destroys the window. The signal looks like this:

Code:
g_signal_connect (G_OBJECT (popup_window), 
		    "popdown-window",
		    G_CALLBACK (hd_applications_menu_popdown),
		    button);
Since this is probably pretty off topic, PM me if you want more information.
 

The Following User Says Thank You to fiferboy For This Useful Post: