Derived from: public MGroup, public BView
Declared in: <HGroup.h> and <VGroup.h>
HGroup and VGroup are classes that are used to group other MView-derived classes together. An HGroup aligns all of its children in a horizontal row, while a VGroup aligns them in a vertical column. HGroups and VGroups can be nested to achieve a more complex layout.
HGroup(MView *kid, ...) HGroup(minimax size, MView *kid, ...) VGroup(MView *kid, ...) BGroup(minimax size, MView *kid, ...)
Adds all of the listed kids to the HGroup or VGroup. The list of MViews must be terminated with a NULL pointer.
The HGroup or VGroup will determine its own minimum and maximum size by querying all of the children for their minimum and maximum sizes, and adding them up.
The size argument can be used to further constrain the size of the
HGroup or VGroup. The size given will not cause any child-MViews to be
compressed smaller than their minimum sizes.
virtual ~HGroup(); virtual ~VGroup()
Cleans up after the HGroup and VGroup.
Copyright © 1997 Marco Nelissen (marcone@xs4all.nl) All rights reserved.
Be, BeOS, BeBox, BeWare, GeekPort, the Be logo, the BeOS logo, roColour, Beatware and Beatware painter are trademarks or registered trademarks of their respective owners.