# Documentation of grid_gui

Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)

## Function Synopsis

    position=grid_gui(fig,num,nbutton)

## Help text

     Purpose: compute position of buttons in a vertical dialog box

     Variables:
     	- fig : figure handle to grid (needed)
     	- num: vector of length 2 containing the coordinates of the considered
     	button (needed)
     	- nbuttons: vector of length 2 containing the maximum of buttons
     	(needed)
     	- position: position of the considered button

     Global variables: XSPACING, YSPACING

## Cross-Reference Information

| This function is called by
--- | ---
| v_button_box

Pierre-Michel THEVENY <theveny@dt.insu.cnrs.fr>