lm_link2toolbar

Link buttons to a toolbar


CALL:

    pixelpos = lm_link2toolbar(h, hframe, pixelpos, normpos, direction)
  

INPUT:

   h:
     list of toolbar button handles
   hframe:
     modelit.layout.Frame to print these buttons in
   pixelpos:
     initial pixelposition
   normpos:
     normalized position
   direction:
     direction to plot buttons in 1: Left to Right, -1: Right to Left
 

OUTPUT:

   pixelpos:
     final pixel position. Input for next call to lm_link2toolbar