The TopLevel act as the visual root, and is the base class for all top level controls, eg. Window
. It handles scheduling layout, styling and rendering as well as keeping track of the client size. Most services are accessed through the TopLevel.
Getting the TopLevel