User`s guide
Add Components to a Programmatic GUI
Component Function Description
“Panel” on page
11-35
uipanel
Panels arrange GUI components into
groups. By vis ually gro uping re lated
controls, panels can make the user
interface eas ier to understand. A
panel can have a title and various
borders.
Panel children can be user interface
controls and axes, as well as button
groups and other panels. The position
of each component within a panel is
interpreted relative to the panel. If
you move the panel, its children move
with it and maintain their positions
on the panel.
“Pop-Up Menu”
on page 11-22
uicontrol
Pop-up menus open to display a list
of choices when users click the arrow.
“Push B utton”
on page 11-25
uicontrol
Push buttons generate an action
when clicked. For example, an OK
button might apply settings and close
a dialog box. When you click a push
button, it appears depressed; when
you release the mouse button, the
push button appears raised.
“Radio Button”
on page 11-27
uicontrol
Radio buttons are similar to check
boxes, but radio buttons are typically
mutually ex clu sive within a group of
related radio buttons. T hat is, when
you select one button the previously
selected button is deselected. To
activate a radio button, click the
mouse button on the object. The
display indicates the state of the
button. Use a button group to manage
mutually exclusive radio buttons.
11-11