Skip to content

gcbo

plot · scripts/plot/util/gcbo.m

: obj = gcbo ()
: [obj, hfig] = gcbo ()

The graphics object whose callback is running at this moment, or [] when no callback is running.

The second output is the figure that holds that object, again [] when there is no running callback. The root object keeps the answer in its "CallbackObject" property.