SEXP qt_qsetRowStretch_QGraphicsGridLayout(SEXP rself, SEXP rstretch) { QGraphicsGridLayout *layout = unwrapPointer(rself, QGraphicsGridLayout); for (int i = 0; i < length(rstretch); i++) { layout->setRowStretchFactor(i, INTEGER(rstretch)[i]); } return rself; }