Documentation of iduigco


Global Index (short | long) | Local contents | Local Index (short | long)


Function Synopsis

object = iduigco(figure)

Help text

IDUIGCO    Handle of current object.
   OBJECT = GCO returns the current object in
   the current figure.

   OBJECT = GCO(FIGURE) returns the current object
   in figure FIGURE.

   The current object for a given figure is the last
   object clicked on with the mouse.

Cross-Reference Information

This function is called by

Listing of function iduigco

function object = iduigco(figure)


%   Copyright (c) 1986-98 by The MathWorks, Inc.
% $Revision: 3.4 $

if isempty (get (0, 'Children')),
   object = [];
   return;
end;

if(nargin == 0)
   figure = get(0,'CurrentFigure');
end

object = get( figure, 'CurrentObject');