Provided by: libmotif-dev_2.3.4-5ubuntu0.1_amd64
NAME
XmIconBox — The IconBox widget class
SYNOPSIS
#include <Xm/IconBox.h>
DESCRIPTION
The Icon Box widget lays out its children on a grid with each child forced to be the same size and with the location of each child specified as an X and Y location on the grid. The size of the Icon Box, its children, and the number of cells displayed are calculated as described below. The general idea is that all children are always be shown and should be given their desired size whenever possible. The user may add or delete cells by resizing this window using the window manager widget. The preferred size is calculated by using the maximum desired child height or width and making sure that these are no smaller than the minimum sizes. This size is multiplied by the number of cells along the axis and properly padded to come up with a preferred size. The number of cells is the maximum of the largest cellX or cellY value and the minimum number of horizontal or vertical cells. If the Icon box is forced larger than its preferred size more cells are added at the bottom-right of the widget while the children all remain at their preferred sizes. If the Icon box is forced smaller than its preferred size each cell is forced to be smaller in order to allow all children to fit within the Icon Box. All children will be forced to the same smaller size. Classes Icon Box inherits behavior, resources, and traits from Core, Composite, Constraint, and XmManager. The class pointer is xmIconBoxWidgetClass. The class name is XmIconBox. New Resources The following table defines a set of widget resources used by the programmer to specify data. The programmer can also set the resource values for the inherited classes to set attributes for this widget. To reference a resource by name or by class in a .Xdefaults file, remove the XmN or XmC prefix and use the remaining letters. To specify one of the defined values for a resource in a .Xdefaults file, remove the Xm prefix and use the remaining letters (in either lowercase or uppercase, but include any underscores between words). The codes in the access column indicate if the given resource can be set at creation time (C), set by using XtSetValues (S), retrieved by using XtGetValues (G), or is not applicable (N/A). ┌──────────────────────────────────────────────────────────────────────────────┐ --
RELATED
Composite(3), Constraint(3), Core(3), XmCreateIconBox(3), XmIconBoxIsCellEmpty(3), XmManager(3), XmVaCreateIconBox(3), and XmVaCreateManagedIconBox(3).
COPYRIGHT
Copyright (c) 1992 by Integrated Computer Solutions, Inc. XmIconBox(3)