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