Function: widget-apply
widget-apply is a function defined in fns.c.
Signature
(widget-apply WIDGET PROPERTY &rest ARGS)
Documentation
Apply the value of WIDGET's PROPERTY to the widget itself.
Return the result of applying the value of PROPERTY to WIDGET. ARGS are passed as extra arguments to the function.
Source Code
// Defined in /usr/src/emacs/src/fns.c
{
Lisp_Object widget = args[0];
Lisp_Object property = args[1];
Lisp_Object propval = Fwidget_get (widget, property);
Lisp_Object trailing_args = Flist (nargs - 2, args + 2);
Lisp_Object result = CALLN (Fapply, propval, widget, trailing_args);
return result;
}