While working on a python plugin, I was wondering if I could call the nice drawNameValuePairs() mu function? In one of the MU Plugin's I have found I have seen examples things like:
```
gltext.size(state.config.infoTextSize);
setupProjection(domain.x, domain.y);
let margin = state.config.bevelMargin,
x = _x + margin,
y = _y + margin,
tbox = drawNameValuePairs(expandNameValuePairs(attrs),
fg, bg, x, y, margin)._0,
emin = vec2f(_x, _y),
emax = emin + tbox + vec2f(margin*2.0, 0.0);
if (_inCloseArea)
{
drawCloseButton(x - margin/2,
tbox.y + y - margin - margin/4,
margin/2, bg, fg);
}
this.updateBounds(emin, emax);
```
Is there a way to do something similar in python using eval() calls? Or would my best bet to just try and do this sort of thing in python gl directly?
Thanks!
Robyn