Display a refs menu in the panel window. This is a list of references.

## Usage

MenuRefs( name, node, par,
ref, rows, tooltip=None,
whatsthis=None, helpURL=None, default=() )

## Parameters

name (string)
Label of the menu. This is displayed on the left.
node (string)
Data base path of the node containing the parameter.
par (string)
Parameter name. The value of the menu is extracted from this parameter under the above node, and upon change by you, the value is deposited therein.
ref (string)
The path of a node in the data base. The list of items that are displayed in this menu are the children of a node given in ref.
rows (tuple)
A tuple of positive integers showing the minimum and maximum of list rows in order.
tooltip (string)
Tooltip help information, also known as bubble. The content of this argument is displayed in a small dynamic box placed opened above the menu, when the cursor remains at the menu for short time. This is typically a short phrase.
whatsthis (string)
Whatsthis help information. When you click on the whatsthis icon followed by clicking on this menu, a small box opens above the menu and the content of this argument is displayed in it. This is typically a short sentence or two, which provides more information than that given by the tooltip argument. The whatsthis argument is a rich text format, which means you can embed many of the HTML tags, such as <br> for line separator and <b> for bold.
helpURL (string)
This is the HTML-URL address containing detailed help on the menu item. When you press the F1 key while the cursor is on top of this menu, the assistance help system opens and displays this page.
default (list)
Default value. If the data base does not contain the parameter given by the node and par arguments, it is first initialized to this value. In this function it's a list, not a single value.

None

## Errors

• The parameter in the data base must be of type list.
• The parameter must exist in the data base or the default must not be None.

## Description

This routine places a references menu in the panel window. The menu contains a label given by the name argument. The displayed value is extracted from the data base node and par. Upon change, the value is deposited back onto the data base. Now, if redraw is True, the entire panel is redrawn. This provides the opportunity to change the other menu selections. The path of the node in data base that this menu is referencing to is given by ref. For example,
nodeElm = modelVol + RS + name + RS + 'ELEMENT_SET'
MenuRefs( name = 'Shell material models',
tooltip = 'Material model of each shell layer',
whatsthis= 'Material model of each shell layer',
helpURL = URL + '#shell_material_models',
node = nodeElm,
ref = ROOT + RS + 'MATERIAL_MODEL',
rows = (nLayers,nLayers),
par = 'shell_material_models',
default= ( ) )