uipushtool
- :
h =uipushtool(parent, property, value, …)¶ - :
h =uipushtool(property, value, …)¶ Create a push button in a toolbar and return its handle h.
parent is the handle of a toolbar. Without it, the first toolbar of the current figure is used, and one is created when the figure has none. The remaining arguments are pairs of a property name and a value, which are applied to the new button, for example
"Tag","TooltipString","Enable","Separator","CData"(an image of size m-by-n-by-3) or"ClickedCallback"."Callback"is accepted as another name for"ClickedCallback".It is an error to give an unknown property or an invalid value; no button remains in that case.