

Key” functionality from the slider(and arrow steppers) and also If there is no send_cmd may be the 4th arg. Steppers increase or decrease the value by 1/10 of the range.

Is moved, the optional send_cmd is executed. Xslider ( ) ¶ ↑ Syntax: xslider(&var,, ,, ) Description: Slider which is attached to the variable var. Program control and there can be no action associated with it. Xfixedvalue("prompt", "variable", boolean_deflt, boolean_usepointer) Description: like xvalue but cannot be changed by the user except under ) Description: like xvalue() but definitely uses address of the variable. Variable_domain() function, the domain specified for the variable inĪ model description file, or a default domain that existsįor some special NEURON variables such as diam, Ra, L, etc.įor a field editor to check the domain, domain limits must be in effect May be limited to the domain specified by the The domain of values that can be entered by the user into a field editor xvalue("prompt", "variable", 2) a field editor that keeps getting updated every 10th doNotify(). Name won’t be parsed within the context of the object but at the Within an object, otherwise when the button is pressed, the symbol Use the address of variable instead of interpreting it all the time.Īt this time you must use the address form if the button is created If boolean_usepointer is true then (for efficiency sake) try to Instead of a push_button widget kit appearance. Ifīoolean_canrun = 1 then use a default_button widget kit appearance Execute “action” when user enters a new value. Value of the field editor is different that when the editor wasĬreated. If boolean_deflt = 1 then add a checkbox which is checked when the

Xvalue("variable") create field editor for variable xvalue("prompt", "variable" ]) create field editor for variable with the button labeled with “ prompt”. Is invalid when the radio button is created. That is not done automatically since it is often the case that the action This case the action should also be explicitly executed by the programmer. If the third argument is 1, then the button will be selected when the Xradiobutton("name", "action", 0or1) Description: Like an xbutton but highlights the most recently selectedīutton of a contiguous group (like a car radio, mutually exclusive Xcheckbox ( ) ¶ ↑ Syntax: xcheckbox("prompt",&var ) Description: like xstatebutton(), but checkbox appearance. Telltale state is updated to reflect the correct value. Xstatebutton ( ) ¶ ↑ Syntax: xstatebutton("prompt",&var ) Description: like xbutton(), but when pressed var is set to 0 or 1 so that it matches the xbutton("prompt", "command") the label ont the button is “ prompt”, the action Xbutton("command") new button with command to execute when pressed.
