12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

uimenu PropertiesChildrenvector of handlesHandles of submenus. A vector containing the handles of all children of theuimenu object. The children objects of uimenus are other uimenus, whichfunction as submenus. You can use this property to re-order the menus.Clipping{on} | offClipping has no effect on uimenu objects.CreateFcnstringCallback routine executed during object creation. This property defines acallback routine that executes when <strong>MATLAB</strong> creates a uimenu object. Youmust define this property as a default value for uimenus. For example, thestatement,set(0,'DefaultUimenuCreateFcn','set(gcf,''IntegerHandle'',...''off''’))defines a default value on the root level that sets the figure IntegerHandleproperty to off whenever you create a uimenu object. Setting this property onan existing uimenu object has no effect. <strong>MATLAB</strong> executes this routine aftersetting all property values for the uimenu.The handle of the object whose CreateFcn is being executed is accessible onlythrough the root CallbackObject property, which can be queried using gcbo.DeleteFcnstringDelete uimenu callback routine. A callback routine that executes when youdelete the uimenu object (e.g., when you issue a delete command or cause thefigure containing the uimenu to reset). <strong>MATLAB</strong> executes the routine beforedestroying the object’s properties so these values are available to the callbackroutine.The handle of the object whose DeleteFcn is being executed is accessible onlythrough the root CallbackObject property, which is more simply queried usinggcbo.Enable{on} | offEnable or disable the uimenu. This property controls whether a menu item canbe selected. When not enabled (set to off), the menu Label appears dimmed,indicating the user cannot select it.2-564

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!