• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. SWT CoolBars > Adding Widgets Other Than Buttons to the CoolBar

15.3. Adding Widgets Other Than Buttons to the CoolBar

It is possible to add other types of widgets to the CoolBar in the same manner as was done in Example 15-1 with Button. However, it only makes sense to consider a couple widget types for inclusion on a CoolBar. List, for example, is not a good candidate, since the room required for the List would exceed the amount of space available (top to bottom) on the CoolBar.

Combo is a good candidate for inclusion on a CoolBar when you must enable your user to select an item from a list.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint