| Custom Widget in Drop Down Menu [message #444142] |
Thu, 07 October 2004 10:58  |
Eclipse User |
|
|
|
Originally posted by: luislobo.evolvenet.pt
Hi!
Is there any way of creating a drop down menu which contains a widget and
not only text, something like a TableViewer (for instance).
It may seem a little strange, but I need it to create a calendar button,
something like the one that pops up in KDE/Windows when you click the
clock.
I am using SWT 3.0.1.
Thanks in advance,
LL
|
|
|
|
|
|
| Re: Custom Widget in Drop Down Menu [message #444457 is a reply to message #444236] |
Wed, 13 October 2004 07:37  |
Eclipse User |
|
|
|
Many thanks for the encouraging tip; before I have a go,
has anyone else emulated popup menus like this? I'm not
sure about cross platform issues; in Windows, Esc also
cancels a popup, and I don't know about other platforms.
I'd like to do it properly...
Paul Singleton
Chris wrote:
> Sure, just not inside a menu. Just code a focus listener and close your
> shell when it loses focus.
> "Paul Singleton" <paul@jbgb.com> wrote:
>>And presumably there's no way to show a dialog with
>>the modality of a menu, so that it disappears when
>>something else gets focus etc.?
|
|
|
Powered by
FUDForum. Page generated in 0.04198 seconds