␡
- What Is a Widget?
- Widget Hierarchy
- Events and Listeners
- Application Data
- Querying the Display
- Summary
This chapter is from the book
1.5 Querying the Display
Widgets provide the method getDisplay() that is used to query the Display.
-
getDisplay() Answers the display where the widget was created.
Display is such an important class in SWT that every widget knows on which Display it was created. Display is described in full detail in the chapter Display.