Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] Capture a mouse click action outside a shell widget

wouldn't a "focus lost" event be sufficient? Whenever the user clicks on another window somewhere, the popup would then close?



On Jul 14, 2013, at 8:54 AM, Madhuranga Lakjeewa <lakjeewadmm@xxxxxxxxx> wrote:

> Hi,
> I want to close/dispose my shell widget when mouse click action is performed outside of the shell. The shell contains a StyledText widget and a Table widget. Therefore a focus listener with one of those widget doesn't work.
> Can somebody tell me a way to solve this problem?
> 
> Thank you,
> Madhuranga
> _______________________________________________
> recommenders-dev mailing list
> recommenders-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/recommenders-dev

-- 
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: 0179 131 77 21
http://www.codetrails.com

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940



Back to the top