Skip to content

TPyDelphiStringGrid.SetCell parameters  #428

Closed
@arieldll

Description

@arieldll

Hello Guys,

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions