Constant | Description |
SWT.CHECK | Creates a stateful push button ("toggle" button). |
SWT.DROP_DOWN | Creates a dropdown. |
SWT.PUSH | Creates a traditional push button. |
SWT.RADIO | Creates a grouped stateful push button (only one in the group may be selected at a time). |
SWT.SEPARATOR | Creates a separator. |
17.65.ToolItem | ||||
17.65.1. | Constants for Creating Tool Items | |||
17.65.2. | Create a push button | |||
17.65.3. | Add check buttons to ToolBar | |||
17.65.4. | Add radio buttons to ToolBar | |||
17.65.5. | Two dropdowns | |||
17.65.6. | Creating Radio Groups | |||
17.65.7. | Working with Dropdowns | |||
17.65.8. | Add ToolItem to ToolBar | |||
17.65.9. | Add image to ToolItem | |||
17.65.10. | Update a status line when the pointer enters a ToolItem | |||
17.65.11. | Add ToolTip to ToolItem | |||
17.65.12. | Add SelectionListener to ToolItem |