Filewatcher File Search File Search
Catalog
Content Search
» » » » » » xbae-devel-4.60.4-14.fc17.i686.rpm » Content »
pkg://xbae-devel-4.60.4-14.fc17.i686.rpm:1176821/usr/share/man/man3/  info  HEADER  downloads

xbae-devel - Development files for xbae…  more info»

XbaeMatrix.3.gz

XbaeMatrix(3x)                  xbae                  XbaeMatrix(3x)



NAME
       XbaeMatrix - The Bellcore Application Environment (BAE) Xbae‐
       Matrix widget class.

SYNOPSIS
       #include <Xbae/Matrix.h>

DESCRIPTION
       XbaeMatrix presents an editable array of string data  to  the
       user  in  a  scrollable grid-like format similar to a spread‐
       sheet.  Non editable pixmaps can also  be  displayed  on  the
       matrix.  The rows and columns of the Matrix may optionally be
       labeled.  Also, a number of fixed leading or trailing rows or
       columns  may  be  specified  -  these behave similarly to the
       labels.  While XbaeMatrix looks  and  acts  like  a  grid  of
       XmText  widgets,  it actually contains only one XmText.  This
       means that XbaeMatrix widgets with hundreds or  thousands  of
       rows  have much less overhead than they would if they used an
       XmText for each cell.

       Clicking on a cell with Button1 will edit the cell.  While  a
       cell is being edited, Tab and Shift-Tab will edit the cell to
       the right or left respectively.  The osfUp and  osfDown  keys
       will  edit the cell above or below.  Ctrl-Tab and Shift-Ctrl-
       Tab will traverse out of the Matrix and into the next or pre‐
       vious tab groups.

       The  osfCancel key will cancel any edits made to a cell.  The
       osfActivate key will commit any edits  made  to  a  cell  and
       store  them  in the Matrix.  When traversing from another tab
       group into the Matrix, the focus will go to whichever cell is
       currently  being  edited.  If no cells are being edited, then
       the upper left most visible non-fixed cell will be edited.

       The column sizes may be dynamically resized by  pressing  the
       Shift-Button2  combination when over a column boundary, simi‐
       lar to the behaviour of some popular spreadsheets.   After  a
       column  has been resized in this manner, the XbaeMatrix calls
       the callbacks on the  XmNresizeColumnCallback  callback  list
       for post processing.

       If the Matrix is resized until it is too small to display all
       of the cells in a given dimension, then  it  will  display  a
       ScrollBar  for that dimension.  The horizontal ScrollBar will
       scroll the cells and column labels, but not the  row  labels,
       fixed  columns  or  trailing  fixed  columns.   The  vertical
       ScrollBar will scroll the cells and row labels, but  not  the
       column labels, fixed rows or trailing fixed rows.

       For the application programmer, XbaeMatrix provides callbacks
       to assist in data validation.  The callbacks on the  XmNmodi‐
       fyVerifyCallback  callback  list  are  called  before text is
       inserted into, or deleted from, a cell.  This  callback  list
       can  be  used  to force user input to match a certain pattern
       (e.g. a date format).  Similarly, the XmNvalueChangedCallback
       is called after text is inserted or deleted.

       When a cell is edited (by clicking on it or tabbing into it),
       the XmNleaveCellCallback callbacks are called for the  previ‐
       ous  cell  being  edited, if any.  The application can verify
       the data entered in that cell and disallow editing of the new
       cell if the data is invalid.  If the data was valid, then the
       XmNenterCellCallback callbacks for the new cell  are  called.
       These callbacks can be used to specify the editability of the
       new cell.

       The XmNtraverseCellCallback callbacks are  also  called  when
       the  user  attempts  to  edit  a new cell and when the matrix
       gains or looses focus.  This allows the application to  over‐
       ride the default traversal behavior of XbaeMatrix.

       The  XmNdefaultActionCallback  is  provided to allow a double
       click action in a cell to perform some function.

       Motif's Drag and Drop functionality can be achieved  via  the
       XmNprocessDragCallback.

       For  large amounts of data, the overhead of assigning data to
       the widget can  be  avoided  using  the  XmNdrawCellCallback.
       This  callback  also allows user defined pixmaps to be placed
       in a certain cell.  When using this callback, data for string
       fields  can  be  written back to the application by using the
       XmNwriteCellCallback.

Classes
       XbaeMatrix inherits behavior and  resources  from  the  Core,
       Composite, Constraint, and XmManager widget classes.
       The class pointer is xbaeMatrixWidgetClass.
       The class name is XbaeMatrix.

New Resources
       The  following table lists the new resources defined by Xbae‐
       Matrix.  The codes in the ``Access'' column indicate  whether
       the given resource can be set at creation time (C), or set by
       using XtSetValues (S), or retrieved by using XtGetValues (G).


       ┌────────────────────────────────────────────────────────────────────────────────────┐
       │                              XbaeMatrix Resource Set                               │
       ├────────────────────────┬─────────────────────┬───────────────┬───────────────┬─────┤
       Name                     Class                 Type            Default         Access│
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNallowColumnResize     XmCAllowResize        Boolean         True            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNallowRowResize        XmCAllowResize        Boolean         True            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNaltRowCount           XmCAltRowCount        int             1               CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNboldLabels            XmCBoldLabels         Boolean         False           CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNbuttonLabels          XmCButtonLabels       Boolean         False           CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNbuttonLabelBackground XmCColor              Pixel           dynamic         CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcalcCursorPosition    XmCCalcCursorPosition Boolean         False           CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcellBackgrounds       XmCColors             PixelTable      NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcellHighlightThicknessXmCHighlightThickness Dimension       dynamic         CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcellMarginHeight      XmCMarginHeight       Dimension       dynamic         CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcellMarginWidth       XmCMarginWidth        Dimension       dynamic         CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcellShadowThickness   XmCShadowThickness    Dimension       2               CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcellShadowType        XmCShadowType         unsigned char   XmSHADOW_OUT    CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcellShadowTypes       XmCCellShadowTypes    unsigned char **NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcellUserData          XmCCellUserData       XtPointer **    NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNclipWindow            XmCClipWindow         Widget          NULL            G     │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcells                 XmCCells              CellTable       NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcolors                XmCColors             PixelTable      NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcolumnAlignments      XmCAlignments         AlignmentArray  dynamic         CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcolumnButtonLabels    XmCButtonLabels       BooleanArray    NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcolumnLabelAlignments XmCAlignments         AlignmentArray  dynamic         CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcolumnLabelColor      XmCColor              Pixel           dynamic         CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcolumnLabels          XmCLabels             StringArray     NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcolumnMaxLengths      XmCColumnMaxLengths   MaxLengthArray  NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcolumnShadowTypes     XmCShadowTypes        unsigned char * NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcolumnUserData        XmCUserDatas          XtPointer *     NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcolumnWidthInPixels   XmCColumnWidthInPixelsBoolean         False           CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcolumnWidths          XmCColumnWidths       WidthArray      NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNcolumns               XmCColumns            int             0               CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNdefaultActionCallback XmCCallback           XtCallbackList  NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNdoubleClickInterval   XmCDoubleClickIntervalint             dynamic         CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNdrawCellCallback      XmCCallback           Callback        NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNenterCellCallback     XmCCallback           Callback        NULL            CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNevenRowBackground     XmCBackground         Pixel           dynamic         CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNfill                  XmCFill               Boolean         False           CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNhorzFill              XmCHorzFill           Boolean         False           CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNvertFill              XmCVertFill           Boolean         False           CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNfixedColumns          XmCFixedColumns       Dimension       0               CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNfixedRows             XmCFixedRows          Dimension       0               CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNfontList              XmCFontList           FontList        fixed           CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNgridLineColor         XmCColor              Pixel           dynamic         CSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       XmNgridType              XmCGridType           GridType        XmGRID_CELL_LINECSG   │
       ├────────────────────────┼─────────────────────┼───────────────┼───────────────┼─────┤
       └────────────────────────┴─────────────────────┴───────────────┴───────────────┴─────┘
       ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────┐
       │                                   XbaeMatrix Resource Set (continued)                                    │
       ├──────────────────────────────────┬──────────────────────────────┬───────────────┬──────────────────┬─────┤
       Name                               Class                          Type            Default            Access│
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNhighlightedCells                XmCHighlightedCells            HighlightTable *dynamic            CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNhorizontalScrollBar             XmCHorizontalScrollBar         Widget          NULL               G     │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNhorizontalScrollBarDisplayPolicyXmCMatrixScrollBarDisplayPolicyunsigned char   XmDISPLAY_AS_NEEDEDCSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNlabelActivateCallback           XmCCallback                    Callback        NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNlabelFont                       XmCFontList                    FontList        dynamic            CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNleaveCellCallback               XmCCallback                    Callback        NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNleftColumn                      XmCLeftColumn                  int             0                  CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNmodifyVerifyCallback            XmCCallback                    Callback        NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNmultiLineCell                   XmCMultiLineCell               Boolean         False              CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNnonFixedDetachedLeft            XmCNonFixedDetachedLeft        Boolean         False              CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNnonFixedDetachedTop             XmCNonFixedDetachedTop         Boolean         False              CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNoddRowBackground                XmCBackground                  Pixel           dynamic            CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNprocessDragCallback             XmCCallback                    Callback        NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNrenderTable                     XmCRenderTable                 RenderTable     NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNresizeCallback                  XmCCallback                    Callback        NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNresizeColumnCallback            XmCCallback                    Callback        NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNreverseSelect                   XmCReverseSelect               Boolean         False              CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNrowButtonLabels                 XmCButtonLabels                BooleanArray    NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNrowHeightInPixels               XmCRowHeightInPixels           Boolean         True               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNrowHeights                      XmCColumnWidths                WidthArray      NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNrowLabelAlignment               XmCAlignment                   Alignment       XmALIGNMENT_END    CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNrowLabelColor                   XmCColor                       Pixel           dynamic            CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNrowLabelWidth                   XmCRowLabelWidth               Short           dynamic            CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNrowLabels                       XmCLabels                      StringArray     NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNrowShadowTypes                  XmCShadowTypes                 unsigned char * NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNrowUserData                     XmCUserDatas                   XtPointer *     NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNrows                            XmCRows                        int             0                  CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNscrollBarPlacement              XmCScrollBarPlacement          unsigned char   XmBOTTOM_RIGHT     CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNselectCellCallback              XmCCallback                    Callback        NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNselectScrollVisible             XmCSelectScrollVisible         Boolean         True               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNselectedBackground              XmCColor                       Pixel           dynamic            CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNselectedCells                   XmCSelectedCells               BooleanTable    dynamic            CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNselectedForeground              XmCColor                       Pixel           dynamic            CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNshadowType                      XmCShadowType                  unsigned char   XmSHADOW_IN        CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNshowArrows                      XmCShowArrows                  Boolean         False              CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNspace                           XmCSpace                       Dimension       dynamic            CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNtextBackground                  XmCBackground                  Pixel           XmUNSPECIFIED_PIXELCSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNtextBackgroundIsCell            XmCTextBackgroundIsCell        Boolean         False              CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNtextField                       XmCTextField                   Widget          NULL               G     │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNtextShadowThickness             XmCTextShadowThickness         Dimension       0                  CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNtextTranslations                XmCTranslations                TranslationTabledynamic            CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNtopRow                          XmCTopRow                      int             0                  CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNtrackcellCallback               XmCCallback                    Callback        NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNtrailingAttachedBottom          XmCTrailingAttachedBottom      Boolean         False              CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNtrailingAttachedRight           XmCTrailingAttachedRight       Boolean         False              CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNtrailingFixedColumns            XmCTrailingFixedColumns        Dimension       0                  CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNtrailingFixedRows               XmCTrailingFixedRows           Dimension       0                  CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNtraverseCellCallback            XmCCallback                    Callback        NULL               CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       XmNtraverseFixedCells              XmCTraverseFixedCells          Boolean         False              CSG   │
       ├──────────────────────────────────┼──────────────────────────────┼───────────────┼──────────────────┼─────┤
       └──────────────────────────────────┴──────────────────────────────┴───────────────┴──────────────────┴─────┘
       ┌─────────────────────────────────────────────────────────────────────────────────────────────────────┐
       │                                XbaeMatrix Resource Set (continued)                                  │
       ├────────────────────────────────┬──────────────────────────────┬────────────┬──────────────────┬─────┤
       Name                             Class                          Type         Default            Access│
       ├────────────────────────────────┼──────────────────────────────┼────────────┼──────────────────┼─────┤
       XmNuseXbaeInput                  XmCUseXbaeInput                Boolean      False              CSG   │
       ├────────────────────────────────┼──────────────────────────────┼────────────┼──────────────────┼─────┤
       XmNvalueChangedCallback          XmCCallback                    Callback     NULL               CSG   │
       ├────────────────────────────────┼──────────────────────────────┼────────────┼──────────────────┼─────┤
       XmNverticalScrollBar             XmCVerticalScrollBar           Widget       NULL               G     │
       ├────────────────────────────────┼──────────────────────────────┼────────────┼──────────────────┼─────┤
       XmNverticalScrollBarDisplayPolicyXmCMatrixScrollBarDisplayPolicyunsigned charXmDISPLAY_AS_NEEDEDCSG   │
       ├────────────────────────────────┼──────────────────────────────┼────────────┼──────────────────┼─────┤
       XmNvisibleColumns                XmCVisibleColumns              Dimension    0                  CSG   │
       ├────────────────────────────────┼──────────────────────────────┼────────────┼──────────────────┼─────┤
       XmNvisibleRows                   XmCVisibleRows                 Dimension    0                  CSG   │
       ├────────────────────────────────┼──────────────────────────────┼────────────┼──────────────────┼─────┤
       XmNwrapType                      XmCWrapType                    Boolean      XbaeWrapNone       CSG   │
       ├────────────────────────────────┼──────────────────────────────┼────────────┼──────────────────┼─────┤
       XmNwriteCellCallback             XmCCallback                    Callback     NULL               CSG   │
       ├────────────────────────────────┼──────────────────────────────┼────────────┼──────────────────┼─────┤
       XmNxmColumnLabels                XmCXmLabels                    XmString *   NULL               CSG   │
       ├────────────────────────────────┼──────────────────────────────┼────────────┼──────────────────┼─────┤
       XmNxmRowLabels                   XmCXmLabels                    XmString *   NULL               CSG   │
       ├────────────────────────────────┼──────────────────────────────┼────────────┼──────────────────┼─────┤
       └────────────────────────────────┴──────────────────────────────┴────────────┴──────────────────┴─────┘
       This resource cannot be specified in a resource file

       XmNallowColumnResize
            If True, allows the columns to  be  dynamically  resized
            via the ResizeColumns() action.  The default value is to
            allow column resizing.

       XmNallowRowResize
            If True, allows the rows to be dynamically  resized  via
            the  ResizeRows() action.  The default value is to allow
            row resizing.

       XmNaltRowCount
            Specifies the number of rows to use for each of the XmN‐
            evenRowBackground  and  XmNoddRowBackround  colors. This
            resource  is   ignored   if   XmNevenRowBackground   and
            XmNoddRowBackround are not used.

       XmNboldLabels
            Overstrikes  the  row and column labels to create a bold
            font appearance when True.

       XmNbuttonLabels
            When set to True, the labels will be drawn with a shadow
            around them similar to an XmPushButton widget. A Button‐
            Press event generated on the labels,  when  XmNbuttonLa‐
            bels  is True will cause the label to reverse the shadow
            and take on a pushed  in  appearance.   A  ButtonRelease
            event  on  the  same  label will invoke callbacks on the
            XmNlabelActivateCallback, list.  The  default  value  is
            False.

       XmNbuttonLabelBackground
            Specifies  a Pixel value in which to draw the XmNbutton‐
            Labels.

       XmNcalcCursorPosition
            If set to True, the insertion position on the text field
            is  calculated  with  respect  to  where the pointer was
            clicked in the cell.  The default value is  False.   The
            insertion  position  will  be overridden if the position
            member of the XbaeEnterCellCallbackStruct is  set  to  a
            valid position.

       XmNcellBackgrounds
            Points  to  an array of pointers to rows. Each row is an
            array of Pixel values, one for each column in that  row.
            This  data  structure  is the same as that for XmNcells,
            except each entry is a Pixel instead of a  String.   The
            background  of  a cell will be drawn in the color speci‐
            fied for that  cell.   If  XmNcellBackgrounds  is  NULL,
            backgrounds  will  be drawn using the color specified by
            XmNbackground.  This resource is  copied.   XmNcellBack‐
            grounds  may  be specified in a resource file but due to
            the two dimensional nature of the XbaeMatrix widget,  it
            must  be done by terminating each line with a \n charac‐
            ter.  If the XbaeMatrix widget had XmNrows set to 5  and
            XmNcolumns  set to 5, XmNcellBackgrounds would be speci‐
            fied as:



            *mw.cellBackgrounds:   blue, white, blue, white, blue\n\
                                   white, blue, white, blue, white\n\
                                   blue, white, blue, white, blue\n\
                                   white, blue, white, blue, white\n\
                                   blue, white, blue, white, blue\n
             Care must be taken when specifying these  values  in  a
            resource  file  as an incorrect format can produce unde‐
            sirable results.

       XmNcellHighlightThickness
            Specifies  the  XmNhighlightThickness  resource  of  the
            XmText  cell  edit widget. This resource is also used to
            compute the size of each cell. See  the  description  of
            XmNhighlightThickness in XmText(3X).

       XmNcellMarginHeight
            Specifies  the  XmNmarginHeight  resource  of the XmText
            widget. This resource is also used to compute  the  size
            of  each cell. See the description of XmNmarginHeight in
            XmText(3X).

       XmNcellMarginWidth
            Specifies the XmNmarginWidth resource of the XmText cell
            edit  widget.  This resource is also used to compute the
            size of each cell. See the description of XmNmarginWidth
            in XmText(3X).

       XmNcellShadowThickness
            Specifies  the XmNshadowThickness resource of the XmText
            cell edit widget. This resource is also used to  compute
            the  size  of each cell. See the description of XmNshad‐
            owThickness in XmText(3X).

       XmNcellShadowType
            Specifies the type of shadow  drawn  around  each  cell.
            Possible  values  for  this  resource  are XmSHADOW_OUT,
            XmSHADOW_IN,          XmSHADOW_ETCHED_OUT,           and
            XmSHADOW_ETCHED_IN.    The   default   shadow   type  is
            XmSHADOW_OUT.

       XmNcellShadowTypes
            Specifies on a per cell  basis,  the  XmNcellShadowType.
            Values for the resource are the same as for XmNcellShad‐
            owType.  This resource is copied.

       XmNcellUserData
            Points to  an  array  of  pointers  to  individual  user
            defined  data areas associated with each cell.  The data
            should  be  set  using  XbaeMatrixSetCellUserData()  and
            retrieved   using   XbaeMatrixGetCellUserData().    This
            resource cannot be specified in a resource file  and  is
            copied.

       XmNcells
            Points  to  an array of pointers to rows. Each row is an
            array of String, one for each column in  that  row.  For
            example,  the  cells for a 2x3 Matrix could be set up as
            follows:



            String rows[2][3] =
            {
                 "00",   "01",   "02",
                 "10",   "11",   "12"
            };

                String *cells[2];
                cells[0] = &rows[0][0];
                cells[1] = &rows[1][0];


            Now cells could be used as  the  XmNcells  resource.  If
            XmNcells is NULL, XbaeMatrix will not generate an inter‐
            nal table of empty Strings. This implies  that  if  XmN‐
            cells is NULL, no cells have been set.  This resource is
            copied.  See the discussion  in  XmNcellBackgrounds  for
            how to specify XmNcells in a resource file.

       XmNclipWindow
            The  widget  ID  of the clip window.  The clip window is
            the widget that contains the non-fixed region of  cells.
            This resource can not be set to a new value.

       XmNcolors
            Points  to  an array of pointers to rows. Each row is an
            array of Pixel values, one for each column in that  row.
            This  data  structure  is the same as that for XmNcells,
            except each entry is a Pixel instead of a  String.   The
            text  in a cell will be drawn in the color specified for
            that cell.  If XmNcolors is NULL,  text  will  be  drawn
            using   the  color  specified  by  XmNforeground.   This
            resource is copied. See the discussion  in  XmNcellBack‐
            grounds for how to specify XmNcolors in a resource file.

       XmNcolumnAlignments
            Points  to  an  array of alignments (unsigned char), one
            for each column.  Each element can be  one  of  XmALIGN‐
            MENT_BEGINNING,  XmALIGNMENT_CENTER  or XmALIGNMENT_END.
            This specifies the alignment of the text  or  pixmap  in
            each  cell  of  that  column.  See  the  description  of
            XmNalignment for XmLabel(3X).  If XmNcolumnAlignments is
            NULL, each column will default to XmALIGNMENT_BEGINNING.
            This resource is copied.

       XmNcolumnButtonLabels
            An array of Booleans that  tells  the  XbaeMatrix  which
            column labels should be drawn as a button.  Each Boolean
            can be specified as a  Boolean  string  or  integer.  In
            order  to  use  this resource, XmNbuttonLabels should be
            set to False.

       XmNcolumnLabelAlignments
            Points to an array of alignments  (unsigned  char),  one
            for  each  column label. Each element can be one of XmA‐
            LIGNMENT_BEGINNING,   XmALIGNMENT_CENTER   or   XmALIGN‐
            MENT_END.   This  specifies the alignment of the text of
            each column label. See the description  of  XmNalignment
            for  XmLabel(3X).   If XmNcolumnLabelAlignments is NULL,
            each column label will default to XmALIGNMENT_BEGINNING.
            This resource is copied.

       XmNcolumnLabelColor
            Specifies  a Pixel value in which to draw the XmNcolumn‐
            Labels.

       XmNcolumnLabels
            Points to an array of Strings to  be  drawn  above  each
            column.  Each  String  may have embedded newline charac‐
            ters, in which case the label will be drawn on  multiple
            lines.  If there is a XmNxmColumnLabels defined for this
            coluumn it will be displayed in place of the  XmNcolumn‐
            Labels.   If  XmNcolumnLabels  and XmNxmColumnLabels are
            NULL, no labels will be drawn. This resource is copied.

       XmNcolumnMaxLengths
            Points to an array of int, one for  each  column.  These
            specify  the  maximum  length  of  a String which can be
            entered in the cells in that column. See the description
            of  the  XmText(3X) XmNmaxLength resource. If XmNcolumn‐
            MaxLengths is NULL or an element of the array  is  equal
            to  0, then the corresponding width from XmNcolumnWidths
            is used. This resource is copied.

       XmNcolumnShadowTypes
            Specifies on a per column basis, the  XmNcellShadowType.
            Values for the resource are the same as for XmNcellShad‐
            owType.  This resource is copied.

       XmNcolumnUserData
            Points to a user defined data  area  associated  with  a
            particular column.  The data should be set using XbaeMa‐
            trixSetColumnUserData()  and  retrieved  using   XbaeMa‐
            trixGetColumnUserData().  This resource cannot be speci‐
            fied in a resource file.

       XmNcolumnWidthInPixels
            Specifies wether the  elements  of  XmNcolumnWidths  are
            measured in pixels or characters.

       XmNcolumnWidths
            Points  to an array of short, one for each column. These
            specify the visible width of the cells in  each  column.
            See   the   description  of  the  XmText(3X)  XmNcolumns
            resource.  This resource is copied.

       XmNcolumns
            Specifies the total number of columns  of  cells.   XmN‐
            columns  must  be at least one. If the number of columns
            is changed  via  XtSetValues,  then  XmNcolumnMaxLengths
            must  change  or be NULL, XmNcolumnLabels must change or
            be NULL, XmNcolumnAlignments must change or be NULL  and
            XmNcolumnLabelAlignments  must  change  or be NULL.  The
            preferred way to dynamically change the number  of  col‐
            umns   is   to  use  XbaeMatrixAddColumns()  or  XbaeMa‐
            trixDeleteColumns().

       XmNdefaultActionCallback
            Specifies a list of callbacks to be called when a double
            click  occurs  in a cell.  A pointer to an XbaeMatrixDe‐
            faultActionCallbackStruct is passed  to  the  callbacks.
            Events  are  reported  to  the  cell in which the double
            click occurs regardless of whether  or  not  a  callback
            exists.   This callback is called by the DefaultAction()
            action and is NULL by  default.   The  XmNdefaultAction‐
            Callback  is ideal for popping up a dialog or other win‐
            dow when a double click occurs.

       XmNdoubleClickInterval
            Specifies the amount of time between mouse clicks before
            it  is  considered  a  double  click.  A double click is
            defined to be the time between the realease of the mouse
            button  and  subsequent  press  in  the  same cell.  The
            default value is inherited from the display.

       XmNdrawCellCallback
            Specifies a list of callbacks to be called when  a  cell
            needs  to  be drawn. A pointer to an XbaeMatrixDrawCell‐
            CallbackStruct is passed to the callbacks. The  applica‐
            tion  can specify what to put in a cell by modifying the
            callback struct's  data  fields.  When  the  application
            callback returns to the widget code, the type field will
            determine what the widget draws on the  screen.  If  the
            value  is  XbaeString,  then  the regular string drawing
            function for the widget will be called  with  the  value
            the  applicaton  assigned  to  the  string  field in the
            struct. If the value is XbaeStringFree the  widget  also
            calls  XtFree  on  the string when it is not needed any‐
            more. Else, if the value is XbaePixmap, the widget  will
            do  an  XCopyPlane(), in the case of a single plane bit‐
            map, or XCopyArea(), in the case of a color pixmap.  The
            width  and height of cell is passed in the struct so the
            application can know how big to make the pixmap.  In  no
            case  will  a  copy of the string or the pixmap value be
            made.  The  widget  also  uses  the  XmNcolumnAlignments
            resource  to  determine  the horizontal alignment of the
            Pixmap.  To have an editable array of data when the XmN‐
            drawCellCallback  is  used  and  the  cell  is  of  type
            XbaeString or XbaeStringFree, use the  XmNwriteCellCall‐
            back.

       XmNenterCellCallback
            Specifies  a  list of callbacks to be called immediately
            before a cell is to be edited.  This  callback  list  is
            called by the EditCell() action. A pointer to an XbaeMa‐
            trixEnterCellCallbackStruct is passed to the  callbacks.
            The  application can specify the editability of specific
            cells using this callback list  as  well  as  specifying
            configuration options for the XmText.

       XmNevenRowBackground
            Specifies  a  background cell Pixel value to use on even
            rows. This allows  the  matrix  to  look  like  computer
            paper.  For  wider  bands of color, increase the size of
            Xm
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com