Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » SWT.MouseHover
SWT.MouseHover [message #1775787] Mon, 06 November 2017 12:27 Go to next message
Dmitry Dukhov is currently offline Dmitry DukhovFriend
Messages: 147
Registered: February 2013
Senior Member

Can I realise action for mousehover for widget in RAP?
I want to open menu without click mouse
Re: SWT.MouseHover [message #1776152 is a reply to message #1775787] Mon, 13 November 2017 09:13 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
mouse track listeners are not yet supported in RAP. Probably we will consider adding support for them in one of the next releases.
Re: SWT.MouseHover [message #1776235 is a reply to message #1775787] Tue, 14 November 2017 09:19 Go to previous message
Sebastian Habenicht is currently offline Sebastian HabenichtFriend
Messages: 36
Registered: January 2013
If you do not insist on using 'classic' context menu, create the menu as a composite which contains links or buttons (or whatever you want to use as menu items) and use ClientListeners to change the menu's visibility.

Add a MouseEnter ClientListener to the widget you want to provide the menu for (to show the menu) and a MouseExit ClientListener to the menu widget (to hide the menu). See [1] for further information on ClientListeners.

Previous Topic:Sash of sashform can't be released inside RichTextEditor editor.
Next Topic:Nebula Grid text color using Table-GridLine:horizontal
Goto Forum:

Current Time: Fri Oct 22 04:14:50 GMT 2021

Powered by FUDForum. Page generated in 0.01213 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top