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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

uimenu PropertiesUimenuProperties2uimenu PropertiesThis section lists property names along with the type of values each accepts.Curly braces { } enclose default values.You can set default uimenu properties on the figure and root levels:set(0,'DefaultUimenuPropertyName',PropertyValue...)set(gcf,'DefaultUimenuPropertyName',PropertyValue...)set(menu_handle,'DefaultUimenuProperty',PropertyValue...)Where PropertyName is the name of the uimenu property and PropertyValueis the value you are specifying. Use set and get to access uimenu properties.Accelerator characterKeyboard equivalent. A character specifying the keyboard equivalent for themenu item. This allows users to select a particular menu choice by pressing thespecified character in conjunction with another key, instead of selecting themenu item with the mouse. The key sequence is platform specific:• For Microsoft Windows systems, the sequence is Ctrl-Accelerator. Thesekeys are reserved for default menu items: c, v, and x.• For UNIX systems, the sequence is Ctrl-Accelerator. These keys arereserved for default menu items: o, p, s, and w.You can define an accelerator only for menu items that do not have childrenmenus. Accelerators work only for menu items that directly execute a callbackroutine, not items that bring up other menus.Note that the menu item does not have to be displayed (e.g., a submenu) for theaccelerator key to work. However, the window focus must be in the figure whenthe key sequence is entered.BusyActioncancel | {queue}Callback routine interruption. If a callback is executing and the user triggersan event (such as a mouse click) on an object for which a callback is defined,that callback attempts to interrupt the first callback. The first callback can beinterrupted only at a drawnow, figure, getframe, pause, or waitfor command;if the callback does not contain any of these commands, it cannot beinterrupted.If the Interruptible property of the object whose callback is executing is off(the default value is on), the callback cannot be interrupted (except by certain2-562

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

Saved successfully!

Ooh no, something went wrong!