Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » (no subject)
(no subject) [message #705883] Sat, 30 July 2011 12:24 Go to next message
Simon Pope is currently offline Simon Pope
Messages: 28
Registered: July 2009
Junior Member
I'm faced with a problem.

OS X (and presumably Windows and Linux) offer very useful OS-contributed
menu options for Text controls, including spelling, lookup, etc.

I'm wanting to add menu items of my own, but I don't seem to be able to
get this OS-provided menu object.

When I create a menu of my own, it is missing these items, of course.

Does anyone know how to grab the OS-provided menu, and either add to it,
or to copy its menu items somehow into one I create?

Cheers,


Simon Pope
(no subject) [message #715233 is a reply to message #705883] Fri, 12 August 2011 20:55 Go to previous message
Grant Gayed is currently offline Grant Gayed
Messages: 2151
Registered: July 2009
Senior Member
Hi Simon,

There isn't a way to do this. I don't know if it's technically possible
because it would require the platforms to make the handles of these
default menus available for clients to modify. If you want you can log
a Feature Request with SWT for this, to at least be investigated.

Grant


On 7/30/2011 8:24 AM, Simon Pope wrote:
> I'm faced with a problem.
>
> OS X (and presumably Windows and Linux) offer very useful OS-contributed
> menu options for Text controls, including spelling, lookup, etc.
>
> I'm wanting to add menu items of my own, but I don't seem to be able to
> get this OS-provided menu object.
>
> When I create a menu of my own, it is missing these items, of course.
>
> Does anyone know how to grab the OS-provided menu, and either add to it,
> or to copy its menu items somehow into one I create?
>
> Cheers,
>
>
> Simon Pope
Previous Topic:Unable to retrieve the modified cell value in the Table Viewer
Next Topic:(no subject)
Goto Forum:
  


Current Time: Mon Sep 15 02:15:23 GMT 2014

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

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