File: textmenus.rst

package info (click to toggle)
neuron 8.2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,768 kB
  • sloc: cpp: 149,571; python: 58,449; ansic: 50,329; sh: 3,510; xml: 213; pascal: 51; makefile: 35; sed: 5
file content (40 lines) | stat: -rw-r--r-- 1,383 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

.. _hoc_lw_doc:

Obsolete Text Menus
-------------------

The functions above have been superseded by the graphical user interface 
but are available for use on unix machines and in the DOS version. 
See :hoc:class:`Graph`.

----



.. hoc:function:: fmenu


    Description:
        This is an old terminal based menu system that has been superseded by the 
        :ref:`hoc_GUI`.
         
        Fmenu creates, displays, and allows user to move within a menu to 
        select and change 
        a displayed variable value or to execute a command. 
         
        The user can create space for 
        a series of menus and execute individual menus with each menu consisting of 
        lists of 
        variables and commands. Menus can execute commands which call other 
        menus and in this way a hierarchical menu system can be constructed. 
        Menus can be navigated by using arrow keys or by typing the first character 
        of a menu item. To exit a menu, either press the :kbd:`Esc` key, execute the 
        "Exit" item, or execute a command which has a "stop" statement. 
        A command item is executed by pressing the Return key. A variable item 
        is changed by typing the new number followed by a Return. 
         
        See the file :file:`$NEURONHOME/doc/man/oc/menu.tex` for a complete description 
        of this function.