Section: Handle-Based Graphics


Below is a summary of the properties for user interface controls. \item min - a scalar that specifies the smallest value for the value property. The interpretation of it depends on the type of the control \item parent - the handle of the parent object. \item position - size and location of the uicontrol as a four vector [left, bottom, width, height]. If width>height then sliders are horizontal, otherwise the slider is oriented vertically. \item selected - {'on','off'} - not used. \item selectionhighlight - {'on','off'} - not used. \item sliderstep - a two vector [min_step max_step] that controls the amount the slider value changes when you click the mouse on the control. If you click the arrow for the slider, the value changes by min_step, while if you click the trough, the value changes by max_step. Each value must be in the range [0,1], and is a percentage of the range max-min. \item string - string - the text for the control. \item style - @|{'pushbutton','toggle','radiobutton','checkbox', 'edit','text','slider','frame','listbox','popupmenu'}|. \item tag - string - user specified label. \item tooltipstring - string the tooltip for the control. \item type - string - the text is set to 'uicontrol'. \item uicontextmenu - handle the handle of the uicontextmenu that shows up when you right-click over the control. \item units - not used. \item userdata - array - any data you want to associate with the control. \item value - The meaning of this property depends on the type of the control: \item visible - {'on','off'} - controls whether the control is visible or not \end{itemize}