EditTable Widget WebFAQ - Q24


/*********************************************************
Suppose you are reading data from file cell_data, which
contains all the row/column annotations and data for a
6X6 table.
*********************************************************/
  /* in the main() */
  :
  XintEditTableReadAscii(Table, "cell_data", True);

  XtRealizeWidget(Toplevel);
  XtAppMainLoop(app_context);
  :
  :
**********************************************************
Followed is the content of the file "cell_data"

#DELIMITER = ';'
#COLUMN ANNOTATION
C1; C2; C3; C4; C5; C6
#ROW ANNOTATION
R1; 11; 12; 13;14;15;16
R2; 21; 22; 23;24;25;26
R3; 31; 32; 33;34;35;36
R4; 41; 42; 43;44;45;46
R5; 51; 52; 53;54;55;56
R6; 61; 62; 63;64;65;66


Click here for the Image
Back to EditTable FAQ

© INT 1996.