2009/5/9 architetto francesco fantoni <hva - hermanitos verdes
architetti> <[email protected]>:
> I'm afraid this is an old problem caused by the routine used for
> pre-parsing the script code in order to set width and height of gtk
> window without actually running the code twice: the function parses the
> script looking for the size() statement, but as it works now, you can't
> pass a variable as width or height value in size() script because the
> pre-parsing routine doesn't recognize it, so numeric values must be
> used.
> I hope someone can find a better way of setting size without running the
> script twice (that was quite annoying for complex script). At the time i
> tried to solve it, that was the best I could do, but I was aware there
> were some unresolved issues, sorry.

Could we just have all examples changed to specify a simple size(400,
400) ? That would be a simple quick fix.

$ grep -r "size(x" /usr/share/shoebot/examples/*
_______________________________________________
Shoebot-devel mailing list
[email protected]
http://lists.tinkerhouse.net/listinfo.cgi/shoebot-devel-tinkerhouse.net
  • [s... Dave Crossland
    • ... architetto francesco fantoni <hva - hermanitos verdes architetti>
      • ... Dave Crossland
        • ... Dave Crossland

Reply via email to