gcbf - Handle of figure containing object whose callback is executing
Syntax
fig = gcbf
Description
fig = gcbf returns the handle of the
figure that contains the object whose callback is currently executing. This
object can be the figure itself, in which case, gcbf returns
the figure's handle.
When no callback is executing, gcbf returns the
empty matrix, [].
The value returned by gcbf is identical to the figure output
argument returned by gcbo.
See Also
gcbo, gco, gcf, gca
 | gca | | gcbo |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit