EditTable Widget WebFAQ - Q2


  :
  :
  static String column_annotations[] = {"C1", "C2", "C3"};
  static String row_annotations[] = {"R1", "R2", "R3"};
  :
  :
  (in CreateTargetWidget()..)

  Table = XtVaCreateWidget("Table", xintEditTableWidgetClass, Scroll,
                   :
                   :
                   XmNnumberOfColumns,              3,
                   XmNnumberOfRows,                 3,
                   XmNautomaticColumnAnnotation,    False,
                   XmNcolumnAnnotationData,         column_annotations,
                   XmNautomaticRowAnnotation,       False,
                   XmNrowAnnotationData,            row_annotations,
                   :
                   :
                   NULL);

  :
  :
  :


Click here for the Image
Back to EditTable FAQ

© INT 1996.
static String row_annotations[] = {"R1", "R2", "