Artifact 792dcb28c9960d9b70f48496948a8c1af658a8dd:
- File
jni/tktable/README.blt
— part of check-in
[3ba628a7f9]
at
2014-07-15 15:41:19
on branch trunk
— initial check-in
(user:
chw
size: 912)
0000: 49 66 20 74 6b 54 61 62 6c 65 20 69 73 20 75 73 If tkTable is us
0010: 65 64 20 61 74 20 74 68 65 20 73 61 6d 65 20 74 ed at the same t
0020: 69 6d 65 20 61 73 20 42 4c 54 20 74 68 65 6e 20 ime as BLT then
0030: 74 68 65 72 65 20 61 72 65 20 74 77 6f 20 6e 61 there are two na
0040: 6d 65 0a 63 6f 6e 66 6c 69 63 74 73 20 74 6f 20 me.conflicts to
0050: 62 65 20 61 77 61 72 65 20 6f 66 2e 0a 0a 42 4c be aware of...BL
0060: 54 20 61 6c 73 6f 20 68 61 73 20 61 20 74 61 62 T also has a tab
0070: 6c 65 2e 6e 20 6d 61 6e 20 70 61 67 65 2e 20 20 le.n man page.
0080: 54 6b 54 61 62 6c 65 27 73 20 6d 61 6e 20 70 61 TkTable's man pa
0090: 67 65 20 77 69 6c 6c 20 73 74 69 6c 6c 20 62 65 ge will still be
00a0: 0a 61 76 61 69 6c 61 62 6c 65 20 61 73 20 74 6b .available as tk
00b0: 54 61 62 6c 65 2e 6e 2e 0a 0a 42 4c 54 20 61 6c Table.n...BLT al
00c0: 73 6f 20 68 61 73 20 61 20 22 74 61 62 6c 65 22 so has a "table"
00d0: 20 63 6f 6d 6d 61 6e 64 2e 20 20 54 68 65 20 74 command. The t
00e0: 61 62 6c 65 20 63 6f 6d 6d 61 6e 64 20 6f 66 20 able command of
00f0: 74 68 65 20 6c 61 73 74 0a 65 78 74 65 6e 73 69 the last.extensi
0100: 6f 6e 20 6c 6f 61 64 65 64 20 77 69 6c 6c 20 62 on loaded will b
0110: 65 20 69 6e 20 65 66 66 65 63 74 2e 20 20 49 66 e in effect. If
0120: 20 79 6f 75 20 6e 65 65 64 20 74 6f 20 75 73 65 you need to use
0130: 20 62 6f 74 68 20 74 61 62 6c 65 0a 63 6f 6d 6d both table.comm
0140: 61 6e 64 73 20 74 68 65 6e 20 65 76 61 6c 20 22 ands then eval "
0150: 72 65 6e 61 6d 65 20 74 61 62 6c 65 20 62 6c 74 rename table blt
0160: 74 61 62 6c 65 22 20 61 66 74 65 72 20 6c 6f 61 table" after loa
0170: 64 69 6e 67 20 62 6c 74 20 61 6e 64 0a 62 65 66 ding blt and.bef
0180: 6f 72 65 20 6c 6f 61 64 69 6e 67 20 74 6b 54 61 ore loading tkTa
0190: 62 6c 65 2c 20 6f 72 20 70 65 72 68 61 70 73 20 ble, or perhaps
01a0: 22 72 65 6e 61 6d 65 20 74 61 62 6c 65 20 74 6b "rename table tk
01b0: 54 61 62 6c 65 22 20 69 66 20 79 6f 75 0a 6c 6f Table" if you.lo
01c0: 61 64 20 74 68 65 20 74 6b 54 61 62 6c 65 20 65 ad the tkTable e
01d0: 78 74 65 6e 73 69 6f 6e 20 66 69 72 73 74 2e 0a xtension first..
01e0: 0a 49 6e 20 67 65 6e 65 72 61 6c 20 74 68 69 73 .In general this
01f0: 20 73 68 6f 75 6c 64 6e 27 74 20 62 65 20 61 20 shouldn't be a
0200: 70 72 6f 62 6c 65 6d 20 61 73 20 6c 6f 6e 67 20 problem as long
0210: 61 73 20 79 6f 75 20 6c 6f 61 64 20 74 6b 54 61 as you load tkTa
0220: 62 6c 65 0a 6c 61 73 74 2e 20 20 54 68 65 20 42 ble.last. The B
0230: 4c 54 20 22 74 61 62 6c 65 22 20 63 6f 6d 6d 61 LT "table" comma
0240: 6e 64 20 66 61 63 69 6c 69 74 69 65 73 20 68 61 nd facilities ha
0250: 76 65 20 62 65 65 6e 20 73 75 62 73 75 6d 65 64 ve been subsumed
0260: 20 62 79 20 74 68 65 0a 54 6b 20 22 67 72 69 64 by the.Tk "grid
0270: 22 20 63 6f 6d 6d 61 6e 64 20 28 61 76 61 69 6c " command (avail
0280: 61 62 6c 65 20 69 6e 20 54 6b 34 2e 31 2b 29 2c able in Tk4.1+),
0290: 20 73 6f 20 74 68 65 20 42 4c 54 20 74 61 62 6c so the BLT tabl
02a0: 65 20 73 68 6f 75 6c 64 0a 6f 6e 6c 79 20 62 65 e should.only be
02b0: 20 75 73 65 64 20 69 6e 20 6c 65 67 61 63 79 20 used in legacy
02c0: 63 6f 64 65 2e 0a 0a 41 6c 74 65 72 6e 61 74 69 code...Alternati
02d0: 76 65 6c 79 2c 20 69 66 20 79 6f 75 20 77 61 6e vely, if you wan
02e0: 74 20 62 6f 74 68 20 6f 72 20 68 61 76 65 20 61 t both or have a
02f0: 6e 6f 74 68 65 72 20 22 74 61 62 6c 65 22 20 63 nother "table" c
0300: 6f 6d 6d 61 6e 64 2c 0a 74 68 65 6e 20 63 68 61 ommand,.then cha
0310: 6e 67 65 20 74 68 65 20 54 42 4c 5f 43 4f 4d 4d nge the TBL_COMM
0320: 41 4e 44 20 6d 61 63 72 6f 20 69 6e 20 74 68 65 AND macro in the
0330: 20 6d 61 6b 65 66 69 6c 65 20 62 65 66 6f 72 65 makefile before
0340: 20 63 6f 6d 70 69 6c 69 6e 67 2c 0a 61 6e 64 20 compiling,.and
0350: 69 74 20 74 6b 54 61 62 6c 65 20 77 69 6c 6c 20 it tkTable will
0360: 64 65 66 69 6e 65 20 79 6f 75 72 20 6e 61 6d 65 define your name
0370: 64 20 63 6f 6d 6d 61 6e 64 20 66 6f 72 20 74 68 d command for th
0380: 65 20 74 61 62 6c 65 20 77 69 64 67 65 74 2e 0a e table widget..