GenView: 4.6 Advanced Concepts and Uses: Children of the View

Up: GEOS SDK TechDocs | Up | Prev: 4.5 Document Scaling | Next: 4.7 Scrolling
HINT_SEEK_X_SCROLLER_AREA, HINT_SEEK_Y_SCROLLER_AREA, HINT_SEEK_LEFT_OF_VIEW, HINT_SEEK_RIGHT_OF_VIEW, HINT_SEEK_TOP_OF_VIEW, HINT_SEEK_BOTTOM_OF_VIEW

Children of GenView objects always appear at a specified edge of the view; you may decide which children appear on the top, left, right, or bottom, but all children must appear along one of the view's edges. Additionally, you may request that the children be placed next to the view's scrollers; for example, if you wanted a page number to appear at the foot of the view, you might define a GenGlyph that seeks the horizontal scroller.

Each child's placement is determined independently of the others. Each child, therefore, must have a hint that describes where in relation to the view it would like to appear. If the requested configuration is supported by the specific UI, the object will appear where requested. If the specific UI does not support the desired configuration, the child will likely appear below the view. The view may have more than one child. If no hint of location is given for any child, that child will appear with the horizontal scroller.

The location hints (defined by GenClass ) available to a GenView's children include

You may also specify your own scroller objects anywhere below the view in the generic object tree. This is described in the section on Scrolling, below.


Up: GEOS SDK TechDocs | Up | Prev: 4.5 Document Scaling | Next: 4.7 Scrolling