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

Chapter 15. Layout

A layout is an instance of a class that implements a positioning and sizing algorithm. Layouts are used to arrange controls within a composite automatically. Class Layout is not a subclass of class Widget, so it shares none of the Widget behavior. There is no operating system storage associated with a layout; thus, instances do not need to be sent the dispose() message when you are finished with them.

Layout offers several distinct advantages over explicitly positioning and sizing controls. Some of these are:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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