This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


InvokeMethod[name, {}|content]
calls a widget method on the wrapping contexted widget.
InvokeMethod[{target, name}, content]
calls a widget method on the specified target widget.
  • To use InvokeMethod, you first need to load GUIKit using Needs["GUIKit`"].
  • InvokeMethod can be used to make a method call on a widget, with arguments to the call specified by content.
  • If no target argument exists, then the target of the method call is the wrapping widget instance.