A Graphic User Interface Builder A Graphic User Interface Builder guicontrolcreate

A Graphic User Interface Builder >> A Graphic User Interface Builder > guibuilder

guibuilder

A Graphic User Interface Builder

Calling Sequence

guibuilder
guibuilder(fn)

Parameters

fn

Filename of the previously created GUI using guibuilder 2.0.The Filename shall be in .sce extension.

Description

guibuilder could be used with or without the input argument. When it is called without any input, a blank gui would be created. When the input argument is a .sce filename which is the gui file created by guibuilder, it will load the layout for modification.

Examples

// lauch guibuilder to design blank gui
guibuilder;

// launch previous work
guibuilder('filename.sce');

Tips of Using guibuilder
1. For initial uicontrol creation, user is required to key in "String" and "Tag" properties of the uicontrol. "String" would be the property seen by the user, while the "Tag" would be used for:
a. object handle
b. callback name 
2. Use the properties editor to change the properties of each uicontrol. For the object which require a callback, set the property "callback" to "auto".

Tips of Using guibuilder to modify existing gui
1. Load the gui.
2. Do necessary changes for the layout.
3. Save it into another filename.
4. Copy the callbacks from the original file to the bottom portion of the newly generated file and do the necessary changes.

See Also

Authors

Used Functions

guicodegen, guicontrolcreate, guigetfile, guipropsedit

A Graphic User Interface Builder A Graphic User Interface Builder guicontrolcreate