Cabbage Logo
Back to Cabbage Site

cabbageCreate opcode update

The new cabbageCreate opcode has changed so that it accepts two strings as input arguments, the widget type, and the widget code.

cabbageCreate "image", "bounds(0, 0, 100, 100), channel(\"image1\")"

I think this is cleaner and makes things easer to read. I also found myself getting caught out with this opcode because I would somehow frequently forget to add the widget type! This is no longer possible. This opcode is now completely Rory proof :+1: