fn_buttongroup

Contents

Syntax

G = fn_buttongroup(style,str,callback,'prop1',value1,...)

Description

Input:
- style       'radio', 'toggle' or 'push'
- str         list of string values
- callback    function with prototype @(x)fun(x), where x is the
              selected string value
- propn/valuen    additional properties to be set (possibilities are:
                  'parent', 'units', 'position', 'value')
No button will be created for an empty string, instead it will be
possible  that no button is selected

Source

Thomas Deneux

Copyright 2010-2017