1wxGrid(3) Erlang Module Definition wxGrid(3)
2
3
4
6 wxGrid - See external documentation: wxGrid.
7
9 See external documentation: wxGrid.
10
11 This class is derived (and can use functions) from:
12 wxScrolledWindow
13 wxPanel
14 wxWindow
15 wxEvtHandler
16
18 wxGrid():
19
20
21 An object reference, The representation is internal and can be
22 changed without notice. It can't be used for comparsion stored on
23 disc or distributed for use on other nodes.
24
26 new() -> wxGrid()
27
28 See external documentation.
29
30 new(Parent, Id) -> wxGrid()
31
32 Types:
33
34 Parent = wxWindow:wxWindow()
35 Id = integer()
36
37 Equivalent to new(Parent, Id, []).
38
39 new(Parent, X, Y) -> wxGrid()
40
41 Types:
42
43 Parent = wxWindow:wxWindow()
44 X = integer()
45 Y = integer()
46
47 See external documentation.
48 Also:
49 new(Parent, Id, [Option]) -> wxGrid() when
50 Parent::wxWindow:wxWindow(), Id::integer(),
51 Option :: {'pos', {X::integer(), Y::integer()}}
52 | {'size', {W::integer(), H::integer()}}
53 | {'style', integer()}.
54
55
56 new(Parent, X, Y, Options::[Option]) -> wxGrid()
57
58 Types:
59
60 Parent = wxWindow:wxWindow()
61 X = integer()
62 Y = integer()
63 Option = {w, integer()} | {h, integer()} | {style, integer()}
64
65 See external documentation.
66
67 appendCols(This) -> boolean()
68
69 Types:
70
71 This = wxGrid()
72
73 Equivalent to appendCols(This, []).
74
75 appendCols(This, Options::[Option]) -> boolean()
76
77 Types:
78
79 This = wxGrid()
80 Option = {numCols, integer()} | {updateLabels, boolean()}
81
82 See external documentation.
83
84 appendRows(This) -> boolean()
85
86 Types:
87
88 This = wxGrid()
89
90 Equivalent to appendRows(This, []).
91
92 appendRows(This, Options::[Option]) -> boolean()
93
94 Types:
95
96 This = wxGrid()
97 Option = {numRows, integer()} | {updateLabels, boolean()}
98
99 See external documentation.
100
101 autoSize(This) -> ok
102
103 Types:
104
105 This = wxGrid()
106
107 See external documentation.
108
109 autoSizeColumn(This, Col) -> ok
110
111 Types:
112
113 This = wxGrid()
114 Col = integer()
115
116 Equivalent to autoSizeColumn(This, Col, []).
117
118 autoSizeColumn(This, Col, Options::[Option]) -> ok
119
120 Types:
121
122 This = wxGrid()
123 Col = integer()
124 Option = {setAsMin, boolean()}
125
126 See external documentation.
127
128 autoSizeColumns(This) -> ok
129
130 Types:
131
132 This = wxGrid()
133
134 Equivalent to autoSizeColumns(This, []).
135
136 autoSizeColumns(This, Options::[Option]) -> ok
137
138 Types:
139
140 This = wxGrid()
141 Option = {setAsMin, boolean()}
142
143 See external documentation.
144
145 autoSizeRow(This, Row) -> ok
146
147 Types:
148
149 This = wxGrid()
150 Row = integer()
151
152 Equivalent to autoSizeRow(This, Row, []).
153
154 autoSizeRow(This, Row, Options::[Option]) -> ok
155
156 Types:
157
158 This = wxGrid()
159 Row = integer()
160 Option = {setAsMin, boolean()}
161
162 See external documentation.
163
164 autoSizeRows(This) -> ok
165
166 Types:
167
168 This = wxGrid()
169
170 Equivalent to autoSizeRows(This, []).
171
172 autoSizeRows(This, Options::[Option]) -> ok
173
174 Types:
175
176 This = wxGrid()
177 Option = {setAsMin, boolean()}
178
179 See external documentation.
180
181 beginBatch(This) -> ok
182
183 Types:
184
185 This = wxGrid()
186
187 See external documentation.
188
189 blockToDeviceRect(This, TopLeft, BottomRight) -> {X::integer(),
190 Y::integer(), W::integer(), H::integer()}
191
192 Types:
193
194 This = wxGrid()
195 TopLeft = {R::integer(), C::integer()}
196 BottomRight = {R::integer(), C::integer()}
197
198 See external documentation.
199
200 canDragColSize(This) -> boolean()
201
202 Types:
203
204 This = wxGrid()
205
206 See external documentation.
207
208 canDragRowSize(This) -> boolean()
209
210 Types:
211
212 This = wxGrid()
213
214 See external documentation.
215
216 canDragGridSize(This) -> boolean()
217
218 Types:
219
220 This = wxGrid()
221
222 See external documentation.
223
224 canEnableCellControl(This) -> boolean()
225
226 Types:
227
228 This = wxGrid()
229
230 See external documentation.
231
232 cellToRect(This, Coords) -> {X::integer(), Y::integer(), W::integer(),
233 H::integer()}
234
235 Types:
236
237 This = wxGrid()
238 Coords = {R::integer(), C::integer()}
239
240 See external documentation.
241
242 cellToRect(This, Row, Col) -> {X::integer(), Y::integer(), W::inte‐
243 ger(), H::integer()}
244
245 Types:
246
247 This = wxGrid()
248 Row = integer()
249 Col = integer()
250
251 See external documentation.
252
253 clearGrid(This) -> ok
254
255 Types:
256
257 This = wxGrid()
258
259 See external documentation.
260
261 clearSelection(This) -> ok
262
263 Types:
264
265 This = wxGrid()
266
267 See external documentation.
268
269 createGrid(This, NumRows, NumCols) -> boolean()
270
271 Types:
272
273 This = wxGrid()
274 NumRows = integer()
275 NumCols = integer()
276
277 Equivalent to createGrid(This, NumRows, NumCols, []).
278
279 createGrid(This, NumRows, NumCols, Options::[Option]) -> boolean()
280
281 Types:
282
283 This = wxGrid()
284 NumRows = integer()
285 NumCols = integer()
286 Option = {selmode, wx:wx_enum()}
287
288 See external documentation.
289 Selmode = ?wxGrid_wxGridSelectCells | ?wxGrid_wxGridSelectRows |
290 ?wxGrid_wxGridSelectColumns
291
292 deleteCols(This) -> boolean()
293
294 Types:
295
296 This = wxGrid()
297
298 Equivalent to deleteCols(This, []).
299
300 deleteCols(This, Options::[Option]) -> boolean()
301
302 Types:
303
304 This = wxGrid()
305 Option = {pos, integer()} | {numCols, integer()} | {updateLa‐
306 bels, boolean()}
307
308 See external documentation.
309
310 deleteRows(This) -> boolean()
311
312 Types:
313
314 This = wxGrid()
315
316 Equivalent to deleteRows(This, []).
317
318 deleteRows(This, Options::[Option]) -> boolean()
319
320 Types:
321
322 This = wxGrid()
323 Option = {pos, integer()} | {numRows, integer()} | {updateLa‐
324 bels, boolean()}
325
326 See external documentation.
327
328 disableCellEditControl(This) -> ok
329
330 Types:
331
332 This = wxGrid()
333
334 See external documentation.
335
336 disableDragColSize(This) -> ok
337
338 Types:
339
340 This = wxGrid()
341
342 See external documentation.
343
344 disableDragGridSize(This) -> ok
345
346 Types:
347
348 This = wxGrid()
349
350 See external documentation.
351
352 disableDragRowSize(This) -> ok
353
354 Types:
355
356 This = wxGrid()
357
358 See external documentation.
359
360 enableCellEditControl(This) -> ok
361
362 Types:
363
364 This = wxGrid()
365
366 Equivalent to enableCellEditControl(This, []).
367
368 enableCellEditControl(This, Options::[Option]) -> ok
369
370 Types:
371
372 This = wxGrid()
373 Option = {enable, boolean()}
374
375 See external documentation.
376
377 enableDragColSize(This) -> ok
378
379 Types:
380
381 This = wxGrid()
382
383 Equivalent to enableDragColSize(This, []).
384
385 enableDragColSize(This, Options::[Option]) -> ok
386
387 Types:
388
389 This = wxGrid()
390 Option = {enable, boolean()}
391
392 See external documentation.
393
394 enableDragGridSize(This) -> ok
395
396 Types:
397
398 This = wxGrid()
399
400 Equivalent to enableDragGridSize(This, []).
401
402 enableDragGridSize(This, Options::[Option]) -> ok
403
404 Types:
405
406 This = wxGrid()
407 Option = {enable, boolean()}
408
409 See external documentation.
410
411 enableDragRowSize(This) -> ok
412
413 Types:
414
415 This = wxGrid()
416
417 Equivalent to enableDragRowSize(This, []).
418
419 enableDragRowSize(This, Options::[Option]) -> ok
420
421 Types:
422
423 This = wxGrid()
424 Option = {enable, boolean()}
425
426 See external documentation.
427
428 enableEditing(This, Edit) -> ok
429
430 Types:
431
432 This = wxGrid()
433 Edit = boolean()
434
435 See external documentation.
436
437 enableGridLines(This) -> ok
438
439 Types:
440
441 This = wxGrid()
442
443 Equivalent to enableGridLines(This, []).
444
445 enableGridLines(This, Options::[Option]) -> ok
446
447 Types:
448
449 This = wxGrid()
450 Option = {enable, boolean()}
451
452 See external documentation.
453
454 endBatch(This) -> ok
455
456 Types:
457
458 This = wxGrid()
459
460 See external documentation.
461
462 fit(This) -> ok
463
464 Types:
465
466 This = wxGrid()
467
468 See external documentation.
469
470 forceRefresh(This) -> ok
471
472 Types:
473
474 This = wxGrid()
475
476 See external documentation.
477
478 getBatchCount(This) -> integer()
479
480 Types:
481
482 This = wxGrid()
483
484 See external documentation.
485
486 getCellAlignment(This, Row, Col) -> {Horiz::integer(), Vert::integer()}
487
488 Types:
489
490 This = wxGrid()
491 Row = integer()
492 Col = integer()
493
494 See external documentation.
495
496 getCellBackgroundColour(This, Row, Col) -> wx:wx_colour4()
497
498 Types:
499
500 This = wxGrid()
501 Row = integer()
502 Col = integer()
503
504 See external documentation.
505
506 getCellEditor(This, Row, Col) -> wxGridCellEditor:wxGridCellEditor()
507
508 Types:
509
510 This = wxGrid()
511 Row = integer()
512 Col = integer()
513
514 See external documentation.
515
516 getCellFont(This, Row, Col) -> wxFont:wxFont()
517
518 Types:
519
520 This = wxGrid()
521 Row = integer()
522 Col = integer()
523
524 See external documentation.
525
526 getCellRenderer(This, Row, Col) -> wxGridCellRenderer:wxGridCellRen‐
527 derer()
528
529 Types:
530
531 This = wxGrid()
532 Row = integer()
533 Col = integer()
534
535 See external documentation.
536
537 getCellTextColour(This, Row, Col) -> wx:wx_colour4()
538
539 Types:
540
541 This = wxGrid()
542 Row = integer()
543 Col = integer()
544
545 See external documentation.
546
547 getCellValue(This, Coords) -> unicode:charlist()
548
549 Types:
550
551 This = wxGrid()
552 Coords = {R::integer(), C::integer()}
553
554 See external documentation.
555
556 getCellValue(This, Row, Col) -> unicode:charlist()
557
558 Types:
559
560 This = wxGrid()
561 Row = integer()
562 Col = integer()
563
564 See external documentation.
565
566 getColLabelAlignment(This) -> {Horiz::integer(), Vert::integer()}
567
568 Types:
569
570 This = wxGrid()
571
572 See external documentation.
573
574 getColLabelSize(This) -> integer()
575
576 Types:
577
578 This = wxGrid()
579
580 See external documentation.
581
582 getColLabelValue(This, Col) -> unicode:charlist()
583
584 Types:
585
586 This = wxGrid()
587 Col = integer()
588
589 See external documentation.
590
591 getColMinimalAcceptableWidth(This) -> integer()
592
593 Types:
594
595 This = wxGrid()
596
597 See external documentation.
598
599 getDefaultCellAlignment(This) -> {Horiz::integer(), Vert::integer()}
600
601 Types:
602
603 This = wxGrid()
604
605 See external documentation.
606
607 getDefaultCellBackgroundColour(This) -> wx:wx_colour4()
608
609 Types:
610
611 This = wxGrid()
612
613 See external documentation.
614
615 getDefaultCellFont(This) -> wxFont:wxFont()
616
617 Types:
618
619 This = wxGrid()
620
621 See external documentation.
622
623 getDefaultCellTextColour(This) -> wx:wx_colour4()
624
625 Types:
626
627 This = wxGrid()
628
629 See external documentation.
630
631 getDefaultColLabelSize(This) -> integer()
632
633 Types:
634
635 This = wxGrid()
636
637 See external documentation.
638
639 getDefaultColSize(This) -> integer()
640
641 Types:
642
643 This = wxGrid()
644
645 See external documentation.
646
647 getDefaultEditor(This) -> wxGridCellEditor:wxGridCellEditor()
648
649 Types:
650
651 This = wxGrid()
652
653 See external documentation.
654
655 getDefaultEditorForCell(This, C) -> wxGridCellEditor:wxGridCellEditor()
656
657 Types:
658
659 This = wxGrid()
660 C = {R::integer(), C::integer()}
661
662 See external documentation.
663
664 getDefaultEditorForCell(This, Row, Col) -> wxGridCellEditor:wxGrid‐
665 CellEditor()
666
667 Types:
668
669 This = wxGrid()
670 Row = integer()
671 Col = integer()
672
673 See external documentation.
674
675 getDefaultEditorForType(This, TypeName) -> wxGridCellEditor:wxGrid‐
676 CellEditor()
677
678 Types:
679
680 This = wxGrid()
681 TypeName = unicode:chardata()
682
683 See external documentation.
684
685 getDefaultRenderer(This) -> wxGridCellRenderer:wxGridCellRenderer()
686
687 Types:
688
689 This = wxGrid()
690
691 See external documentation.
692
693 getDefaultRendererForCell(This, Row, Col) -> wxGridCellRenderer:wxGrid‐
694 CellRenderer()
695
696 Types:
697
698 This = wxGrid()
699 Row = integer()
700 Col = integer()
701
702 See external documentation.
703
704 getDefaultRendererForType(This, TypeName) -> wxGridCellRenderer:wxGrid‐
705 CellRenderer()
706
707 Types:
708
709 This = wxGrid()
710 TypeName = unicode:chardata()
711
712 See external documentation.
713
714 getDefaultRowLabelSize(This) -> integer()
715
716 Types:
717
718 This = wxGrid()
719
720 See external documentation.
721
722 getDefaultRowSize(This) -> integer()
723
724 Types:
725
726 This = wxGrid()
727
728 See external documentation.
729
730 getGridCursorCol(This) -> integer()
731
732 Types:
733
734 This = wxGrid()
735
736 See external documentation.
737
738 getGridCursorRow(This) -> integer()
739
740 Types:
741
742 This = wxGrid()
743
744 See external documentation.
745
746 getGridLineColour(This) -> wx:wx_colour4()
747
748 Types:
749
750 This = wxGrid()
751
752 See external documentation.
753
754 gridLinesEnabled(This) -> boolean()
755
756 Types:
757
758 This = wxGrid()
759
760 See external documentation.
761
762 getLabelBackgroundColour(This) -> wx:wx_colour4()
763
764 Types:
765
766 This = wxGrid()
767
768 See external documentation.
769
770 getLabelFont(This) -> wxFont:wxFont()
771
772 Types:
773
774 This = wxGrid()
775
776 See external documentation.
777
778 getLabelTextColour(This) -> wx:wx_colour4()
779
780 Types:
781
782 This = wxGrid()
783
784 See external documentation.
785
786 getNumberCols(This) -> integer()
787
788 Types:
789
790 This = wxGrid()
791
792 See external documentation.
793
794 getNumberRows(This) -> integer()
795
796 Types:
797
798 This = wxGrid()
799
800 See external documentation.
801
802 getOrCreateCellAttr(This, Row, Col) -> wxGridCellAttr:wxGridCellAttr()
803
804 Types:
805
806 This = wxGrid()
807 Row = integer()
808 Col = integer()
809
810 See external documentation.
811
812 getRowMinimalAcceptableHeight(This) -> integer()
813
814 Types:
815
816 This = wxGrid()
817
818 See external documentation.
819
820 getRowLabelAlignment(This) -> {Horiz::integer(), Vert::integer()}
821
822 Types:
823
824 This = wxGrid()
825
826 See external documentation.
827
828 getRowLabelSize(This) -> integer()
829
830 Types:
831
832 This = wxGrid()
833
834 See external documentation.
835
836 getRowLabelValue(This, Row) -> unicode:charlist()
837
838 Types:
839
840 This = wxGrid()
841 Row = integer()
842
843 See external documentation.
844
845 getRowSize(This, Row) -> integer()
846
847 Types:
848
849 This = wxGrid()
850 Row = integer()
851
852 See external documentation.
853
854 getScrollLineX(This) -> integer()
855
856 Types:
857
858 This = wxGrid()
859
860 See external documentation.
861
862 getScrollLineY(This) -> integer()
863
864 Types:
865
866 This = wxGrid()
867
868 See external documentation.
869
870 getSelectedCells(This) -> [{R::integer(), C::integer()}]
871
872 Types:
873
874 This = wxGrid()
875
876 See external documentation.
877
878 getSelectedCols(This) -> [integer()]
879
880 Types:
881
882 This = wxGrid()
883
884 See external documentation.
885
886 getSelectedRows(This) -> [integer()]
887
888 Types:
889
890 This = wxGrid()
891
892 See external documentation.
893
894 getSelectionBackground(This) -> wx:wx_colour4()
895
896 Types:
897
898 This = wxGrid()
899
900 See external documentation.
901
902 getSelectionBlockTopLeft(This) -> [{R::integer(), C::integer()}]
903
904 Types:
905
906 This = wxGrid()
907
908 See external documentation.
909
910 getSelectionBlockBottomRight(This) -> [{R::integer(), C::integer()}]
911
912 Types:
913
914 This = wxGrid()
915
916 See external documentation.
917
918 getSelectionForeground(This) -> wx:wx_colour4()
919
920 Types:
921
922 This = wxGrid()
923
924 See external documentation.
925
926 getViewWidth(This) -> integer()
927
928 Types:
929
930 This = wxGrid()
931
932 See external documentation.
933
934 getGridWindow(This) -> wxWindow:wxWindow()
935
936 Types:
937
938 This = wxGrid()
939
940 See external documentation.
941
942 getGridRowLabelWindow(This) -> wxWindow:wxWindow()
943
944 Types:
945
946 This = wxGrid()
947
948 See external documentation.
949
950 getGridColLabelWindow(This) -> wxWindow:wxWindow()
951
952 Types:
953
954 This = wxGrid()
955
956 See external documentation.
957
958 getGridCornerLabelWindow(This) -> wxWindow:wxWindow()
959
960 Types:
961
962 This = wxGrid()
963
964 See external documentation.
965
966 hideCellEditControl(This) -> ok
967
968 Types:
969
970 This = wxGrid()
971
972 See external documentation.
973
974 insertCols(This) -> boolean()
975
976 Types:
977
978 This = wxGrid()
979
980 Equivalent to insertCols(This, []).
981
982 insertCols(This, Options::[Option]) -> boolean()
983
984 Types:
985
986 This = wxGrid()
987 Option = {pos, integer()} | {numCols, integer()} | {updateLa‐
988 bels, boolean()}
989
990 See external documentation.
991
992 insertRows(This) -> boolean()
993
994 Types:
995
996 This = wxGrid()
997
998 Equivalent to insertRows(This, []).
999
1000 insertRows(This, Options::[Option]) -> boolean()
1001
1002 Types:
1003
1004 This = wxGrid()
1005 Option = {pos, integer()} | {numRows, integer()} | {updateLa‐
1006 bels, boolean()}
1007
1008 See external documentation.
1009
1010 isCellEditControlEnabled(This) -> boolean()
1011
1012 Types:
1013
1014 This = wxGrid()
1015
1016 See external documentation.
1017
1018 isCurrentCellReadOnly(This) -> boolean()
1019
1020 Types:
1021
1022 This = wxGrid()
1023
1024 See external documentation.
1025
1026 isEditable(This) -> boolean()
1027
1028 Types:
1029
1030 This = wxGrid()
1031
1032 See external documentation.
1033
1034 isInSelection(This, Coords) -> boolean()
1035
1036 Types:
1037
1038 This = wxGrid()
1039 Coords = {R::integer(), C::integer()}
1040
1041 See external documentation.
1042
1043 isInSelection(This, Row, Col) -> boolean()
1044
1045 Types:
1046
1047 This = wxGrid()
1048 Row = integer()
1049 Col = integer()
1050
1051 See external documentation.
1052
1053 isReadOnly(This, Row, Col) -> boolean()
1054
1055 Types:
1056
1057 This = wxGrid()
1058 Row = integer()
1059 Col = integer()
1060
1061 See external documentation.
1062
1063 isSelection(This) -> boolean()
1064
1065 Types:
1066
1067 This = wxGrid()
1068
1069 See external documentation.
1070
1071 isVisible(This, Coords) -> boolean()
1072
1073 Types:
1074
1075 This = wxGrid()
1076 Coords = {R::integer(), C::integer()}
1077
1078 Equivalent to isVisible(This, Coords, []).
1079
1080 isVisible(This, Row, Col) -> boolean()
1081
1082 Types:
1083
1084 This = wxGrid()
1085 Row = integer()
1086 Col = integer()
1087
1088 See external documentation.
1089 Also:
1090 isVisible(This, Coords, [Option]) -> boolean() when
1091 This::wxGrid(), Coords::{R::integer(), C::integer()},
1092 Option :: {'wholeCellVisible', boolean()}.
1093
1094
1095 isVisible(This, Row, Col, Options::[Option]) -> boolean()
1096
1097 Types:
1098
1099 This = wxGrid()
1100 Row = integer()
1101 Col = integer()
1102 Option = {wholeCellVisible, boolean()}
1103
1104 See external documentation.
1105
1106 makeCellVisible(This, Coords) -> ok
1107
1108 Types:
1109
1110 This = wxGrid()
1111 Coords = {R::integer(), C::integer()}
1112
1113 See external documentation.
1114
1115 makeCellVisible(This, Row, Col) -> ok
1116
1117 Types:
1118
1119 This = wxGrid()
1120 Row = integer()
1121 Col = integer()
1122
1123 See external documentation.
1124
1125 moveCursorDown(This, ExpandSelection) -> boolean()
1126
1127 Types:
1128
1129 This = wxGrid()
1130 ExpandSelection = boolean()
1131
1132 See external documentation.
1133
1134 moveCursorLeft(This, ExpandSelection) -> boolean()
1135
1136 Types:
1137
1138 This = wxGrid()
1139 ExpandSelection = boolean()
1140
1141 See external documentation.
1142
1143 moveCursorRight(This, ExpandSelection) -> boolean()
1144
1145 Types:
1146
1147 This = wxGrid()
1148 ExpandSelection = boolean()
1149
1150 See external documentation.
1151
1152 moveCursorUp(This, ExpandSelection) -> boolean()
1153
1154 Types:
1155
1156 This = wxGrid()
1157 ExpandSelection = boolean()
1158
1159 See external documentation.
1160
1161 moveCursorDownBlock(This, ExpandSelection) -> boolean()
1162
1163 Types:
1164
1165 This = wxGrid()
1166 ExpandSelection = boolean()
1167
1168 See external documentation.
1169
1170 moveCursorLeftBlock(This, ExpandSelection) -> boolean()
1171
1172 Types:
1173
1174 This = wxGrid()
1175 ExpandSelection = boolean()
1176
1177 See external documentation.
1178
1179 moveCursorRightBlock(This, ExpandSelection) -> boolean()
1180
1181 Types:
1182
1183 This = wxGrid()
1184 ExpandSelection = boolean()
1185
1186 See external documentation.
1187
1188 moveCursorUpBlock(This, ExpandSelection) -> boolean()
1189
1190 Types:
1191
1192 This = wxGrid()
1193 ExpandSelection = boolean()
1194
1195 See external documentation.
1196
1197 movePageDown(This) -> boolean()
1198
1199 Types:
1200
1201 This = wxGrid()
1202
1203 See external documentation.
1204
1205 movePageUp(This) -> boolean()
1206
1207 Types:
1208
1209 This = wxGrid()
1210
1211 See external documentation.
1212
1213 registerDataType(This, TypeName, Renderer, Editor) -> ok
1214
1215 Types:
1216
1217 This = wxGrid()
1218 TypeName = unicode:chardata()
1219 Renderer = wxGridCellRenderer:wxGridCellRenderer()
1220 Editor = wxGridCellEditor:wxGridCellEditor()
1221
1222 See external documentation.
1223
1224 saveEditControlValue(This) -> ok
1225
1226 Types:
1227
1228 This = wxGrid()
1229
1230 See external documentation.
1231
1232 selectAll(This) -> ok
1233
1234 Types:
1235
1236 This = wxGrid()
1237
1238 See external documentation.
1239
1240 selectBlock(This, TopLeft, BottomRight) -> ok
1241
1242 Types:
1243
1244 This = wxGrid()
1245 TopLeft = {R::integer(), C::integer()}
1246 BottomRight = {R::integer(), C::integer()}
1247
1248 Equivalent to selectBlock(This, TopLeft, BottomRight, []).
1249
1250 selectBlock(This, TopLeft, BottomRight, Options::[Option]) -> ok
1251
1252 Types:
1253
1254 This = wxGrid()
1255 TopLeft = {R::integer(), C::integer()}
1256 BottomRight = {R::integer(), C::integer()}
1257 Option = {addToSelected, boolean()}
1258
1259 See external documentation.
1260
1261 selectBlock(This, TopRow, LeftCol, BottomRow, RightCol) -> ok
1262
1263 Types:
1264
1265 This = wxGrid()
1266 TopRow = integer()
1267 LeftCol = integer()
1268 BottomRow = integer()
1269 RightCol = integer()
1270
1271 Equivalent to selectBlock(This, TopRow, LeftCol, BottomRow,
1272 RightCol, []).
1273
1274 selectBlock(This, TopRow, LeftCol, BottomRow, RightCol,
1275 Options::[Option]) -> ok
1276
1277 Types:
1278
1279 This = wxGrid()
1280 TopRow = integer()
1281 LeftCol = integer()
1282 BottomRow = integer()
1283 RightCol = integer()
1284 Option = {addToSelected, boolean()}
1285
1286 See external documentation.
1287
1288 selectCol(This, Col) -> ok
1289
1290 Types:
1291
1292 This = wxGrid()
1293 Col = integer()
1294
1295 Equivalent to selectCol(This, Col, []).
1296
1297 selectCol(This, Col, Options::[Option]) -> ok
1298
1299 Types:
1300
1301 This = wxGrid()
1302 Col = integer()
1303 Option = {addToSelected, boolean()}
1304
1305 See external documentation.
1306
1307 selectRow(This, Row) -> ok
1308
1309 Types:
1310
1311 This = wxGrid()
1312 Row = integer()
1313
1314 Equivalent to selectRow(This, Row, []).
1315
1316 selectRow(This, Row, Options::[Option]) -> ok
1317
1318 Types:
1319
1320 This = wxGrid()
1321 Row = integer()
1322 Option = {addToSelected, boolean()}
1323
1324 See external documentation.
1325
1326 setCellAlignment(This, Align) -> ok
1327
1328 Types:
1329
1330 This = wxGrid()
1331 Align = integer()
1332
1333 See external documentation.
1334
1335 setCellAlignment(This, Align, Row, Col) -> ok
1336
1337 Types:
1338
1339 This = wxGrid()
1340 Align = integer()
1341 Row = integer()
1342 Col = integer()
1343
1344 See external documentation.
1345
1346 setCellAlignment(This, Row, Col, Horiz, Vert) -> ok
1347
1348 Types:
1349
1350 This = wxGrid()
1351 Row = integer()
1352 Col = integer()
1353 Horiz = integer()
1354 Vert = integer()
1355
1356 See external documentation.
1357
1358 setCellBackgroundColour(This, Col) -> ok
1359
1360 Types:
1361
1362 This = wxGrid()
1363 Col = wx:wx_colour()
1364
1365 See external documentation.
1366
1367 setCellBackgroundColour(This, Row, Col, Val) -> ok
1368
1369 Types:
1370
1371 This = wxGrid()
1372 Row = integer()
1373 Col = integer()
1374 Val = wx:wx_colour()
1375
1376 See external documentation.
1377 Also:
1378 setCellBackgroundColour(This, Colour, Row, Col) -> 'ok' when
1379 This::wxGrid(), Colour::wx:wx_colour(), Row::integer(),
1380 Col::integer().
1381
1382
1383 setCellEditor(This, Row, Col, Editor) -> ok
1384
1385 Types:
1386
1387 This = wxGrid()
1388 Row = integer()
1389 Col = integer()
1390 Editor = wxGridCellEditor:wxGridCellEditor()
1391
1392 See external documentation.
1393
1394 setCellFont(This, Row, Col, Val) -> ok
1395
1396 Types:
1397
1398 This = wxGrid()
1399 Row = integer()
1400 Col = integer()
1401 Val = wxFont:wxFont()
1402
1403 See external documentation.
1404
1405 setCellRenderer(This, Row, Col, Renderer) -> ok
1406
1407 Types:
1408
1409 This = wxGrid()
1410 Row = integer()
1411 Col = integer()
1412 Renderer = wxGridCellRenderer:wxGridCellRenderer()
1413
1414 See external documentation.
1415
1416 setCellTextColour(This, Col) -> ok
1417
1418 Types:
1419
1420 This = wxGrid()
1421 Col = wx:wx_colour()
1422
1423 See external documentation.
1424
1425 setCellTextColour(This, Row, Col, Val) -> ok
1426
1427 Types:
1428
1429 This = wxGrid()
1430 Row = integer()
1431 Col = integer()
1432 Val = wx:wx_colour()
1433
1434 See external documentation.
1435 Also:
1436 setCellTextColour(This, Val, Row, Col) -> 'ok' when
1437 This::wxGrid(), Val::wx:wx_colour(), Row::integer(), Col::inte‐
1438 ger().
1439
1440
1441 setCellValue(This, Coords, S) -> ok
1442
1443 Types:
1444
1445 This = wxGrid()
1446 Coords = {R::integer(), C::integer()}
1447 S = unicode:chardata()
1448
1449 See external documentation.
1450
1451 setCellValue(This, Row, Col, S) -> ok
1452
1453 Types:
1454
1455 This = wxGrid()
1456 Row = integer()
1457 Col = integer()
1458 S = unicode:chardata()
1459
1460 See external documentation.
1461 Also:
1462 setCellValue(This, Val, Row, Col) -> 'ok' when
1463 This::wxGrid(), Val::unicode:chardata(), Row::integer(),
1464 Col::integer().
1465
1466
1467 setColAttr(This, Col, Attr) -> ok
1468
1469 Types:
1470
1471 This = wxGrid()
1472 Col = integer()
1473 Attr = wxGridCellAttr:wxGridCellAttr()
1474
1475 See external documentation.
1476
1477 setColFormatBool(This, Col) -> ok
1478
1479 Types:
1480
1481 This = wxGrid()
1482 Col = integer()
1483
1484 See external documentation.
1485
1486 setColFormatNumber(This, Col) -> ok
1487
1488 Types:
1489
1490 This = wxGrid()
1491 Col = integer()
1492
1493 See external documentation.
1494
1495 setColFormatFloat(This, Col) -> ok
1496
1497 Types:
1498
1499 This = wxGrid()
1500 Col = integer()
1501
1502 Equivalent to setColFormatFloat(This, Col, []).
1503
1504 setColFormatFloat(This, Col, Options::[Option]) -> ok
1505
1506 Types:
1507
1508 This = wxGrid()
1509 Col = integer()
1510 Option = {width, integer()} | {precision, integer()}
1511
1512 See external documentation.
1513
1514 setColFormatCustom(This, Col, TypeName) -> ok
1515
1516 Types:
1517
1518 This = wxGrid()
1519 Col = integer()
1520 TypeName = unicode:chardata()
1521
1522 See external documentation.
1523
1524 setColLabelAlignment(This, Horiz, Vert) -> ok
1525
1526 Types:
1527
1528 This = wxGrid()
1529 Horiz = integer()
1530 Vert = integer()
1531
1532 See external documentation.
1533
1534 setColLabelSize(This, Height) -> ok
1535
1536 Types:
1537
1538 This = wxGrid()
1539 Height = integer()
1540
1541 See external documentation.
1542
1543 setColLabelValue(This, Col, Val) -> ok
1544
1545 Types:
1546
1547 This = wxGrid()
1548 Col = integer()
1549 Val = unicode:chardata()
1550
1551 See external documentation.
1552
1553 setColMinimalWidth(This, Col, Width) -> ok
1554
1555 Types:
1556
1557 This = wxGrid()
1558 Col = integer()
1559 Width = integer()
1560
1561 See external documentation.
1562
1563 setColMinimalAcceptableWidth(This, Width) -> ok
1564
1565 Types:
1566
1567 This = wxGrid()
1568 Width = integer()
1569
1570 See external documentation.
1571
1572 setColSize(This, Col, Width) -> ok
1573
1574 Types:
1575
1576 This = wxGrid()
1577 Col = integer()
1578 Width = integer()
1579
1580 See external documentation.
1581
1582 setDefaultCellAlignment(This, Horiz, Vert) -> ok
1583
1584 Types:
1585
1586 This = wxGrid()
1587 Horiz = integer()
1588 Vert = integer()
1589
1590 See external documentation.
1591
1592 setDefaultCellBackgroundColour(This, Val) -> ok
1593
1594 Types:
1595
1596 This = wxGrid()
1597 Val = wx:wx_colour()
1598
1599 See external documentation.
1600
1601 setDefaultCellFont(This, Val) -> ok
1602
1603 Types:
1604
1605 This = wxGrid()
1606 Val = wxFont:wxFont()
1607
1608 See external documentation.
1609
1610 setDefaultCellTextColour(This, Val) -> ok
1611
1612 Types:
1613
1614 This = wxGrid()
1615 Val = wx:wx_colour()
1616
1617 See external documentation.
1618
1619 setDefaultEditor(This, Editor) -> ok
1620
1621 Types:
1622
1623 This = wxGrid()
1624 Editor = wxGridCellEditor:wxGridCellEditor()
1625
1626 See external documentation.
1627
1628 setDefaultRenderer(This, Renderer) -> ok
1629
1630 Types:
1631
1632 This = wxGrid()
1633 Renderer = wxGridCellRenderer:wxGridCellRenderer()
1634
1635 See external documentation.
1636
1637 setDefaultColSize(This, Width) -> ok
1638
1639 Types:
1640
1641 This = wxGrid()
1642 Width = integer()
1643
1644 Equivalent to setDefaultColSize(This, Width, []).
1645
1646 setDefaultColSize(This, Width, Options::[Option]) -> ok
1647
1648 Types:
1649
1650 This = wxGrid()
1651 Width = integer()
1652 Option = {resizeExistingCols, boolean()}
1653
1654 See external documentation.
1655
1656 setDefaultRowSize(This, Height) -> ok
1657
1658 Types:
1659
1660 This = wxGrid()
1661 Height = integer()
1662
1663 Equivalent to setDefaultRowSize(This, Height, []).
1664
1665 setDefaultRowSize(This, Height, Options::[Option]) -> ok
1666
1667 Types:
1668
1669 This = wxGrid()
1670 Height = integer()
1671 Option = {resizeExistingRows, boolean()}
1672
1673 See external documentation.
1674
1675 setGridCursor(This, Row, Col) -> ok
1676
1677 Types:
1678
1679 This = wxGrid()
1680 Row = integer()
1681 Col = integer()
1682
1683 See external documentation.
1684
1685 setGridLineColour(This, Val) -> ok
1686
1687 Types:
1688
1689 This = wxGrid()
1690 Val = wx:wx_colour()
1691
1692 See external documentation.
1693
1694 setLabelBackgroundColour(This, Val) -> ok
1695
1696 Types:
1697
1698 This = wxGrid()
1699 Val = wx:wx_colour()
1700
1701 See external documentation.
1702
1703 setLabelFont(This, Val) -> ok
1704
1705 Types:
1706
1707 This = wxGrid()
1708 Val = wxFont:wxFont()
1709
1710 See external documentation.
1711
1712 setLabelTextColour(This, Val) -> ok
1713
1714 Types:
1715
1716 This = wxGrid()
1717 Val = wx:wx_colour()
1718
1719 See external documentation.
1720
1721 setMargins(This, ExtraWidth, ExtraHeight) -> ok
1722
1723 Types:
1724
1725 This = wxGrid()
1726 ExtraWidth = integer()
1727 ExtraHeight = integer()
1728
1729 See external documentation.
1730
1731 setReadOnly(This, Row, Col) -> ok
1732
1733 Types:
1734
1735 This = wxGrid()
1736 Row = integer()
1737 Col = integer()
1738
1739 Equivalent to setReadOnly(This, Row, Col, []).
1740
1741 setReadOnly(This, Row, Col, Options::[Option]) -> ok
1742
1743 Types:
1744
1745 This = wxGrid()
1746 Row = integer()
1747 Col = integer()
1748 Option = {isReadOnly, boolean()}
1749
1750 See external documentation.
1751
1752 setRowAttr(This, Row, Attr) -> ok
1753
1754 Types:
1755
1756 This = wxGrid()
1757 Row = integer()
1758 Attr = wxGridCellAttr:wxGridCellAttr()
1759
1760 See external documentation.
1761
1762 setRowLabelAlignment(This, Horiz, Vert) -> ok
1763
1764 Types:
1765
1766 This = wxGrid()
1767 Horiz = integer()
1768 Vert = integer()
1769
1770 See external documentation.
1771
1772 setRowLabelSize(This, Width) -> ok
1773
1774 Types:
1775
1776 This = wxGrid()
1777 Width = integer()
1778
1779 See external documentation.
1780
1781 setRowLabelValue(This, Row, Val) -> ok
1782
1783 Types:
1784
1785 This = wxGrid()
1786 Row = integer()
1787 Val = unicode:chardata()
1788
1789 See external documentation.
1790
1791 setRowMinimalHeight(This, Row, Width) -> ok
1792
1793 Types:
1794
1795 This = wxGrid()
1796 Row = integer()
1797 Width = integer()
1798
1799 See external documentation.
1800
1801 setRowMinimalAcceptableHeight(This, Width) -> ok
1802
1803 Types:
1804
1805 This = wxGrid()
1806 Width = integer()
1807
1808 See external documentation.
1809
1810 setRowSize(This, Row, Height) -> ok
1811
1812 Types:
1813
1814 This = wxGrid()
1815 Row = integer()
1816 Height = integer()
1817
1818 See external documentation.
1819
1820 setScrollLineX(This, X) -> ok
1821
1822 Types:
1823
1824 This = wxGrid()
1825 X = integer()
1826
1827 See external documentation.
1828
1829 setScrollLineY(This, Y) -> ok
1830
1831 Types:
1832
1833 This = wxGrid()
1834 Y = integer()
1835
1836 See external documentation.
1837
1838 setSelectionBackground(This, C) -> ok
1839
1840 Types:
1841
1842 This = wxGrid()
1843 C = wx:wx_colour()
1844
1845 See external documentation.
1846
1847 setSelectionForeground(This, C) -> ok
1848
1849 Types:
1850
1851 This = wxGrid()
1852 C = wx:wx_colour()
1853
1854 See external documentation.
1855
1856 setSelectionMode(This, Selmode) -> ok
1857
1858 Types:
1859
1860 This = wxGrid()
1861 Selmode = wx:wx_enum()
1862
1863 See external documentation.
1864 Selmode = ?wxGrid_wxGridSelectCells | ?wxGrid_wxGridSelectRows |
1865 ?wxGrid_wxGridSelectColumns
1866
1867 showCellEditControl(This) -> ok
1868
1869 Types:
1870
1871 This = wxGrid()
1872
1873 See external documentation.
1874
1875 xToCol(This, X) -> integer()
1876
1877 Types:
1878
1879 This = wxGrid()
1880 X = integer()
1881
1882 Equivalent to xToCol(This, X, []).
1883
1884 xToCol(This, X, Options::[Option]) -> integer()
1885
1886 Types:
1887
1888 This = wxGrid()
1889 X = integer()
1890 Option = {clipToMinMax, boolean()}
1891
1892 See external documentation.
1893
1894 xToEdgeOfCol(This, X) -> integer()
1895
1896 Types:
1897
1898 This = wxGrid()
1899 X = integer()
1900
1901 See external documentation.
1902
1903 yToEdgeOfRow(This, Y) -> integer()
1904
1905 Types:
1906
1907 This = wxGrid()
1908 Y = integer()
1909
1910 See external documentation.
1911
1912 yToRow(This, Y) -> integer()
1913
1914 Types:
1915
1916 This = wxGrid()
1917 Y = integer()
1918
1919 See external documentation.
1920
1921 destroy(This::wxGrid()) -> ok
1922
1923 Destroys this object, do not use object again
1924
1926 <>
1927
1928
1929
1930 wx 1.9 wxGrid(3)