UIradioList

Synopsis

a list of UIoptions with radio button behavior

UIcmdList UIradioList {
       radioBehaviour= 1
       int+OPort2 &selectedItem;
       UIoption+OPort2 *selectedCmd;
       UIoption+IPort2 &cmdList[] { set+nonotify;};

  method_val update<NEvisible=0,lang="cxx",interruptable=0>= "UIradioListUpdate";
  };

Description

UIradioList is a UIcmdList that contains only UIoptions (no UIcmds, etc.). With it, you can determine which option in the list is set.

It differs from UIoptionList in that only one option is selectable at one time.

Subobjects

label

radioBehavior =1

tearOff <Not visible in Network Editor>

isHelpCmd

accelerator;

acceleratorText;

dims => array_size(cmdList)

&cmdList[]

Inherited from UIcmdList .

selectedItem

(Integer. OPort2.) Sets or indicates the integer index of the UIoption in the list that is to be set.
This subobject is read/write.

*selectedCmd

(UIoption. OPort2). A pointer reference to the UIoption set in the list.

cmdList[]

(UIoption. IPort2.) An array of pointer references to the UIoptions in the list that are set. label_cmd produces such an array from an array of strings.

Example

Not Available

File

v/UI.v

See Also Related Modules

UIoption
UIradioBox
UIradioBoxLabel
UIcmdList
UIoptionList