Specifications
Setting Properties for GUI Components
2-11
Setting Properties for GUI Components
To set the properties of each GUI component, select the Property Inspector
from the
View menu to display the Property Inspector dialog box. When you
select a component in the Layout Editor, the Property Inspector displays that
component’s properties. If no component is selected, the Property Inspector
displays the properties of the GUI figure.
This section tells you how to set these properties:
• “Name Property” on page 2-11
• “Title Property” on page 2-12
• “String Property for Push Buttons and Static Text” on page 2-12
• “String Property for Pop-up Menus” on page 2-12
• “Callback Properties” on page 2-14
• “The Tag Property” on page 2-14
Name Property
The value of a figure’s Name property is the title that displays at the top of the
GUI.
The first time you save or run the GUI, GUIDE sets the value of
Name to the
name of the FIG-file. Once the GUI is saved, you can set the value of
Name to
the string you want to use as its title. In the field next to
Name, type Simple GUI,
as shown in the following figure.