New in Wolfram Mathematica 6: Symbolic Interface Construction  previous | next 
Programmatically Create Any Arrangement of Controls
Mathematica 6 makes it easy to lay out controls in any arrangement, mixing in arbitrary graphics and typesetting. This shows an array of buttons for pasting images.

Click for copyable input
Grid[ Table[

  If[! CoprimeQ[i, j], Null, 


    Show[KnotData[{"TorusKnot", {i, j}}], ImageSize -> {70}], 

    Background -> LightGray]], {i, 5}, {j, 5}]]