Skip to content

jvAddPanel

  jvAddPanel adds a rectangular panel to an existing GUI panel

  Example
  h=jvAddPanel(h, PropName1, PropValue1,...)
  h=jvAddPanel(fhandle, PropName1, PropValue1,...)

  h contains the handles to the existing GUI (as returned by jvDisplay).
  Alternatively, supply fhandle (a figure handle). In this case the GUI 
  component handles will be retrieved from the figure's application data
  area. Handles are stored in a structure, or a cell array of structures.

  The returned h will be a cell array, with an element for each panel.

  Valid input properties are:
      *Title:         the title for the added panel
                          (string)
      *Place:         'East' or 'South' to place the new panel to the right
                      or beneath the existing panel(s)
                          (string)
      *Dimension:     the width or height for 'East' and 'South' addition
                      respectively as a fraction of the overall width or height
                      of the existing panel(s)
                          (scalar)
      ToolTipText:    tool tip text
                          (string)
           * Required properties


  -------------------------------------------------------------------------
  Author: Malcolm Lidierth 08/07
  Copyright © The Author & King's College London 2007-
  -------------------------------------------------------------------------