I was looking for the "WrapVCLGrids" to understand some code and I seem it:
function TPyDelphiStringGrid.SetCell(args: PPyObject): PPyObject;
var
col, row: integer;
value: PPyObject;
begin
with GetPythonEngine do begin
// adjust the transmitted self argument
Adjust(@Self);
if PyArg_ParseTuple( args, 'iiO:GetCell',@col, @row, @value ) <> 0 then
begin
DelphiObject.Cells[col, row]:= PyObjectAsString(value);
result:=ReturnNone;
end
else
Result := nil;
end;
end;
I think the correct one is iiO:SetCell or I am thinking wrong?
Hello Guys,
I was looking for the "WrapVCLGrids" to understand some code and I seem it:
I think the correct one is iiO:SetCell or I am thinking wrong?