[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Re: [How to] SWT -> Listeners for MenuItem
|
I don't know weither it is a bug or not. I thought the SWT.Arm event was
sent when the mouse cursor was over the menu item. The mechanism doesn't
seem to be so. So I don't know which listener I must add neither which
object will be the right one to listen.
Have you any idea?
Thanks a lot.
> See
>
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet152.java?rev=HEAD&content-type=text/vnd.viewcvs-markup
>
> I'm not sure what you mean "the user must click onto the menu to generate
> the event". Do we have a bug?
>
> "News" <didier.montet@xxxxxxxxx> wrote in message
> news:d7idv4$4h5$1@xxxxxxxxxxxxxxxxxxx
> > I would like to display a text in a status bar when the mouse cursor is
> over
> > a menu item of a menu bar (for example the classic menu "&File" of a bar
> > menu). I am not satisfied with the arm listener: the user must click
onto
> > the menu item to generate the event. The Menu listener added to the menu
> > associated with the menu item neither answers the question as it's still
> > necessary to click the menuitem.
> > The menu item is displayed in 3D when the mouse cursor is over the menu
> > item. Which object is responsible for the displaying? Which event is
> > treated?
> >
> > Thanks a lot for your help
> >
> >
>
>