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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Composite and Constraint<strong>Widget</strong>sApplication Header file Class Header file Class viewport<strong>Widget</strong>ClassClass Name ViewportSuperclass FormResourcesThe Viewport widget consists of a frame window, one or two Scrollbars, and an innerwindow. The size of the frame window is determined by the viewing size of the datathat is to be displayed and the dimensions to which the Viewport is created. Theinner window is the full size of the data that is to be displayed and is clipped by theframe window. The Viewport widget controls the scrolling of the data directly. Noapplication callbacks are required for scrolling.When the geometry of the frame window is equal in size to the inner window, orwhen the data does not require scrolling, the Viewport widget automatically removesany scrollbars. The forceBars option causes the Viewport widget to displayall scrollbars permanently.When creating a Viewport widget instance, the following resources are retrievedfrom the argument list or the resource database:Name Class Type Notes Default ValueNULLallowHoriz Boolean Boolean FalseallowVert Boolean Boolean Falseaccelerators Accelerators AcceleratorTableancestorSensitiveAncestorSensitiveBoolean 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'sColormap124

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

Saved successfully!

Ooh no, something went wrong!