You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
making row elements bindable to the property sheet
making the code that makes GG controls reusable, so that implementers of GG::RowFactory functions don't need to look at the implementations in src/adobe/future/widgets/source to make lookalike widgets
It might look something like this:
row_factory(type, parameters) {
if (type == @regular_row) {
retval: make_empty_row(parameters);
retval = append_control(retval, edit_text());
retval = apply_row_state(parameters.state);
return retval;
} else if (type == @add_row) {
retval: make_empty_row(parameters);
expression: "insert(%1%, size(%1%) - 1, {value: size(%1%) - 1, state: ["Edit me"]})" % parameters.items_cell;
retval = append_control(
retval,
control_button(name: "Add Row", bind: parameters.items_cell, expression: expression)
);
return retval;
}
}
The text was updated successfully, but these errors were encountered: