12.07.2015 Views

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

Athena Widget Set - C Language Interface - X Consortium ... - X.Org

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Composite and Constraint<strong>Widget</strong>sBox <strong>Widget</strong>Application Header file Class Header file Class box<strong>Widget</strong>ClassClass Name BoxSuperclass CompositeResourcesThe Box widget provides geometry management of arbitrary widgets in a box of aspecified dimension. The children are rearranged when resizing events occur eitheron the Box or its children, or when children are managed or unmanaged. The Boxwidget always attempts to pack its children as tightly as possible within the geometryallowed by its parent.Box widgets are commonly used to manage a related set of buttons and are oftencalled ButtonBox widgets, but the children are not limited to buttons. The Box'schildren are arranged on a background that has its own specified dimensions andcolor.When creating a Box widget instance, the following resources are retrieved fromthe argument list or from the resource database:Name Class Type Notes Default Valueaccelerators Accelerators AcceleratorTableancestorSensitiveAncestorSensitiveNULLBoolean D Truebackground Background Pixel XtDefault-Backgroundbackground-PixmapPixmap Pixmap XtUnspecifiedPixmapborderColor BorderColor Pixel XtDefault-ForegroundborderPixmap Pixmap Pixmap XtUnspecifiedPixmapborderWidth BorderWidth Dimension 1children ReadOnly <strong>Widget</strong>List R NULLcolormap Colormap Colormap Parent'sColormap101

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!