Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] RE: Pulldown Toolbar Button Style


What happens when you click is determined by the listeners, not SWT.  I requested the same feature:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=25910

BTW, this is not related to development or to SWT.  Please use the newsgroups in the future.

-Randy



<cebarne2@xxxxxxxxxxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

07/21/2004 12:30 PM
Please respond to platform-swt-dev

       
        To:        platform-swt-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-swt-dev] RE: Pulldown Toolbar Button Style



Like a menu, but I want it to exist in the toolbar as an icon.  Click the
icon and get a drop-down menu.  I guess I could implement an action that
draws a context menu when the button is pressed, but I do not know how to
create a menu out of thin-air like that.

Chad

> From: cebarne2@xxxxxxxxxxxxxxxxxxx
>
> Does anyone know if it is possible to have a toolbar button that ONLY
> pulls
> down.  I can easily create one that is a combination pushbutton AND
> pulldown.  That is, the button has two halves, a pushbutton on the
left,
> with the down-arrow pulldown on the right.  For my application, it
doesn't
> make sense to "push" the button, only to select items in the pulldown.

That would be a menu then, wouldn't it?

Joe

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top